Home
last modified time | relevance | path

Searched refs:reqList (Results 1 - 2 of 2) sorted by relevance

/drivers/peripheral/usb/ddk/device/src/
H A Dusbfn_io_mgr.c27 struct ReqList *reqList = (struct ReqList *)req; in ReqToIoData() local
34 ioData->buf = reqList->buf; in ReqToIoData()
103 struct ReqList *reqList = UsbFnMemCalloc(sizeof(struct ReqList)); in UsbFnIoMgrRequestAlloc() local
104 if (reqList == NULL) { in UsbFnIoMgrRequestAlloc()
108 struct UsbFnRequest *req = &reqList->req; in UsbFnIoMgrRequestAlloc()
111 DListInsertTail(&reqList->entry, &funcMgr->reqEntry); in UsbFnIoMgrRequestAlloc()
113 DListInsertTail(&reqList->entry, &handle->reqEntry); in UsbFnIoMgrRequestAlloc()
115 reqList->handle = handle; in UsbFnIoMgrRequestAlloc()
116 reqList->fd = ep; in UsbFnIoMgrRequestAlloc()
117 reqList in UsbFnIoMgrRequestAlloc()
137 struct ReqList *reqList = (struct ReqList *)req; UsbFnIoMgrRequestFree() local
162 struct ReqList *reqList = NULL; UsbFnIoMgrRequestSubmitAsync() local
185 struct ReqList *reqList = NULL; UsbFnIoMgrRequestCancel() local
203 struct ReqList *reqList; UsbFnIoMgrRequestGetStatus() local
222 struct ReqList *reqList; UsbFnIoMgrRequestSubmitSync() local
[all...]
H A Dusbfn_dev_mgr.c391 struct ReqList *reqList = NULL; in HandleEp0IoEvent() local
394 DLIST_FOR_EACH_ENTRY_SAFE(reqList, temp, &funcMgr->reqEntry, struct ReqList, entry) { in HandleEp0IoEvent()
395 if (reqList->buf == reqEvent->buf) { in HandleEp0IoEvent()
396 HDF_LOGD("%{public}s: req.actual = %{public}d", __func__, reqList->req.actual); in HandleEp0IoEvent()
397 reqList->req.actual = reqEvent->actual; in HandleEp0IoEvent()
398 reqList->req.status = -reqEvent->status; in HandleEp0IoEvent()
399 if (reqList->req.complete) { in HandleEp0IoEvent()
400 reqList->req.complete(reqList->pipe, &reqList in HandleEp0IoEvent()
429 struct ReqList *reqList = NULL; HandleEpsIoEvent() local
[all...]

Completed in 3 milliseconds