Home
last modified time | relevance | path

Searched refs:funcMgr (Results 1 – 4 of 4) sorted by relevance

/drivers/peripheral/usb/ddk/device/src/
Dusbfn_dev_mgr.c55 devMgr->interfaceMgr[g_intfCnt].funcMgr = &devMgr->funcMgr[fnCnt]; in GetInterfaceInfo()
78 DListHeadInit(&devMgr->funcMgr[fnCnt].reqEntry); in CreateInterface()
79 devMgr->funcMgr[fnCnt].object = &devMgr->fnDev.object; in CreateInterface()
80 … int32_t ret = snprintf_s(devMgr->funcMgr[fnCnt].name, MAX_NAMELEN, MAX_NAMELEN - 1, "%s", in CreateInterface()
192 fnDevMgr->funcMgr = UsbFnMemCalloc(fnDevMgr->numFunc * sizeof(struct UsbFnFuncMgr)); in AllocInterfaceAndFuncMgr()
193 if (fnDevMgr->funcMgr == NULL) { in AllocInterfaceAndFuncMgr()
250 UsbFnMemFree(fnDevMgr->funcMgr); in UsbFnMgrDeviceCreate()
289 if (fnDevMgr->funcMgr != NULL) { in UsbFnMgrDeviceRemove()
290 UsbFnMemFree(fnDevMgr->funcMgr); in UsbFnMgrDeviceRemove()
291 fnDevMgr->funcMgr = NULL; in UsbFnMgrDeviceRemove()
[all …]
Dusbfn_io_mgr.c40 int32_t OpenEp0AndMapAddr(struct UsbFnFuncMgr *funcMgr) in OpenEp0AndMapAddr() argument
44 funcMgr->fd = fnOps->openPipe(funcMgr->name, 0); in OpenEp0AndMapAddr()
45 if (funcMgr->fd <= 0) { in OpenEp0AndMapAddr()
50 ret = fnOps->queueInit(funcMgr->fd); in OpenEp0AndMapAddr()
81 struct UsbFnFuncMgr *funcMgr = intfMgr->funcMgr; in UsbFnIoMgrRequestAlloc() local
84 if (funcMgr->fd <= 0) { in UsbFnIoMgrRequestAlloc()
85 int32_t ret = OpenEp0AndMapAddr(funcMgr); in UsbFnIoMgrRequestAlloc()
90 ep = funcMgr->fd; in UsbFnIoMgrRequestAlloc()
110 DListInsertTail(&reqList->entry, &funcMgr->reqEntry); in UsbFnIoMgrRequestAlloc()
251 handle->fds[i] = fnOps->openPipe(interfaceMgr->funcMgr->name, interfaceMgr->startEpId + i); in HandleInit()
[all …]
/drivers/peripheral/usb/ddk/device/include/
Dusbfn_io_mgr.h59 struct UsbFnFuncMgr *funcMgr; member
74 int32_t OpenEp0AndMapAddr(struct UsbFnFuncMgr *funcMgr);
Dusbfn_dev_mgr.h30 struct UsbFnFuncMgr *funcMgr; member