Searched refs:funcMgr (Results 1 – 4 of 4) sorted by relevance
55 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 …]
40 int32_t OpenEp0AndMapAddr(struct UsbFnFuncMgr *funcMgr) in OpenEp0AndMapAddr() argument44 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() local84 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 …]
59 struct UsbFnFuncMgr *funcMgr; member74 int32_t OpenEp0AndMapAddr(struct UsbFnFuncMgr *funcMgr);
30 struct UsbFnFuncMgr *funcMgr; member