Lines Matching refs:Async

37 struct Async {
77 static bool UsbFindUrb(const struct Async *urb, struct DListHead *list)
81 struct Async *asPos = NULL;
82 struct Async *asTemp = NULL;
86 DLIST_FOR_EACH_ENTRY_SAFE(asPos, asTemp, list, struct Async, asynclist) {
98 struct Async *as = CONTAINER_OF(urb, struct Async, urb);
174 static int32_t OsReapUrb(const struct UsbDeviceHandle *handle, struct Async **urb)
182 struct Async *as = NULL;
192 as = DLIST_FIRST_ENTRY(&osDev->asyncCompleted, struct Async, asynclist);
449 struct Async *urb = NULL;
467 struct Async *as = NULL;
476 as = (struct Async *)request->isoUrbs[i];
478 as = &(((struct Async *)request->urbs)[i]);
497 struct Async *as = NULL;
519 as = (struct Async *)request->urbs;
568 struct Async *pas, struct UsbHostRequest *request, int32_t bulkBufferLen, int32_t number)
602 struct UsbHostRequest * const request, struct Async * const as, int32_t bulkBufferLen)
604 struct Async *pas = NULL;
659 struct Async *as = NULL;
695 as = (struct Async *)request->urbs;
703 static int32_t OsAllocIsoUrbs(struct UsbHostRequest *request, int32_t numUrbs, struct Async **ass)
705 struct Async *as = NULL;
727 as = RawUsbMemCalloc(sizeof(struct Async));
750 static int32_t OsSubmitIsoUrbs(struct UsbHostRequest *request, int32_t numUrbs, struct Async **pUrbs)
816 struct Async **pUrbs = RawUsbMemCalloc(numUrbs * sizeof(struct Async *));
834 static int32_t OsControlCompletion(struct UsbHostRequest *request, struct Async *as)
912 static int32_t OsIsoCompletion(struct UsbHostRequest *request, struct Async *as)
1029 static int32_t OsBulkCompletion(struct UsbHostRequest * const request, struct Async * const as)
1032 int32_t urbIdx = as - (struct Async *)request->urbs;
1390 struct Async *as = NULL;