Home
last modified time | relevance | path

Searched refs:ssCount (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/peripheral/usb/ddk/device/src/
H A Dadapter_if_liteos.c327 uint32_t *ssCount, const struct UsbFnFunction *func) in GetCountAndHead() argument
334 *ssCount = 0; in GetCountAndHead()
345 (*ssCount)++; in GetCountAndHead()
357 if (*ssCount) { in GetCountAndHead()
378 static int32_t CopyCount(uint8_t **whereDec, uint32_t fsCount, uint32_t hsCount, uint32_t ssCount) in CopyCount() argument
395 if (ssCount) { in CopyCount()
396 ret = memcpy_s(*whereDec, sizeof(uint32_t), &ssCount, sizeof(uint32_t)); in CopyCount()
413 uint32_t ssCount; in UsbFnAdapterCreatPipes() local
416 GetCountAndHead(&header, &fsCount, &hsCount, &ssCount, func); in UsbFnAdapterCreatPipes()
432 ret = CopyCount(&whereDec, fsCount, hsCount, ssCount); in UsbFnAdapterCreatPipes()
H A Dadapter_if.c497 static int32_t CopyCount(uint8_t **whereDec, uint32_t fsCount, uint32_t hsCount, uint32_t ssCount) in CopyCount() argument
514 if (ssCount != 0) { in CopyCount()
515 ret = memcpy_s(*whereDec, sizeof(uint32_t), &ssCount, sizeof(uint32_t)); in CopyCount()
538 uint32_t *ssCount, const struct UsbFnFunction *func) in GetCountAndHead() argument
545 *ssCount = 0; in GetCountAndHead()
556 (*ssCount)++; in GetCountAndHead()
568 if (*ssCount != 0) { in GetCountAndHead()
583 uint32_t ssCount; in UsbFnAdapterCreatPipes() local
586 GetCountAndHead(&header, &fsCount, &hsCount, &ssCount, func); in UsbFnAdapterCreatPipes()
602 ret = CopyCount(&whereDec, fsCount, hsCount, ssCount); in UsbFnAdapterCreatPipes()