Home
last modified time | relevance | path

Searched refs:UsbFnMemCalloc (Results 1 – 6 of 6) sorted by relevance

/drivers/peripheral/usb/ddk/device/src/
Dusbfn_cfg_mgr.c106 …fnDevDesc->deviceDesc = (struct UsbDeviceDescriptor *)UsbFnMemCalloc(sizeof(struct UsbDeviceDescri… in UsbFnCfgMgrParseUsbFnDevDesc()
141 … fnString->strings = (struct UsbString *)UsbFnMemCalloc((strCount + 1) * sizeof(struct UsbString)); in UsbFnCfgMgrParseString()
191 …fnStrings = (struct UsbFnStrings **)UsbFnMemCalloc((strTabCount + 1) * sizeof(struct UsbFnStrings … in UsbFnCfgMgrParseStrings()
197 fnStrings[count] = (struct UsbFnStrings *)UsbFnMemCalloc(sizeof(struct UsbFnStrings)); in UsbFnCfgMgrParseStrings()
582 descBuff = (uint8_t *)UsbFnMemCalloc(length * sizeof(uint8_t)); in UsbFnCfgMgrParseDesc()
612 …descriptors = (struct UsbDescriptorHeader **)UsbFnMemCalloc((descCount + 1) * sizeof(struct UsbDes… in UsbFnCfgMgrParseFunDesc()
693 …fnConfig->functions = (struct UsbFnFunction **)UsbFnMemCalloc((funCount + 1) * sizeof(struct UsbFn… in UsbFnCfgMgrParseUsbFnFunctions()
700 …fnConfig->functions[iCount] = (struct UsbFnFunction *)UsbFnMemCalloc(sizeof(struct UsbFnFunction)); in UsbFnCfgMgrParseUsbFnFunctions()
775 …(struct UsbFnConfiguration **)UsbFnMemCalloc((configCount + 1) * sizeof(struct UsbFnConfiguration … in UsbFnCfgMgrParseUsbFnCfgLists()
782 …fnDevDesc->configs[count] = (struct UsbFnConfiguration *)UsbFnMemCalloc(sizeof(struct UsbFnConfigu… in UsbFnCfgMgrParseUsbFnCfgLists()
[all …]
Dusbfn_io_mgr.c102 struct ReqList *reqList = UsbFnMemCalloc(sizeof(struct ReqList)); in UsbFnIoMgrRequestAlloc()
262 handle->reqEvent[i] = UsbFnMemCalloc(sizeof(struct UsbFnReqEvent) * MAX_REQUEST); in HandleInit()
289 struct UsbHandleMgr *handle = UsbFnMemCalloc(sizeof(struct UsbHandleMgr)); in UsbFnIoMgrInterfaceOpen()
Dadapter_if_liteos.c73 configString->s = UsbFnMemCalloc(strLen + 1); in UsbFnAdapterCreateFconfigString()
147 …devStrings->strings = UsbFnMemCalloc((devStrings->strCount + 1) * sizeof(struct FconfigUsbString)); in UsbFnAdapterWriteDevString()
285 str = UsbFnMemCalloc(headerStr.length); in UsbFnWriteStrings()
419 dec = UsbFnMemCalloc(header.length); in UsbFnAdapterCreatPipes()
1020 return UsbFnMemCalloc(size); in UsbFnMemAlloc()
1023 static void *UsbFnMemCalloc(size_t size) in UsbFnMemCalloc() function
Dusbfn_dev_mgr.c186 …fnDevMgr->interfaceMgr = UsbFnMemCalloc(fnDevMgr->fnDev.numInterfaces * sizeof(struct UsbFnInterfa… in AllocInterfaceAndFuncMgr()
192 fnDevMgr->funcMgr = UsbFnMemCalloc(fnDevMgr->numFunc * sizeof(struct UsbFnFuncMgr)); in AllocInterfaceAndFuncMgr()
213 fnDevMgr = UsbFnMemCalloc(sizeof(struct UsbFnDeviceMgr)); in UsbFnMgrDeviceCreate()
Dadapter_if.c449 str = UsbFnMemCalloc(headerStr.length); in UsbFnWriteStrings()
583 dec = UsbFnMemCalloc(header.length); in UsbFnAdapterCreatPipes()
1166 pfds = UsbFnMemCalloc((event->ep0Num + event->epNum) * sizeof(struct pollfd)); in UsbFnAdapterPollEvent()
1213 return UsbFnMemCalloc(size); in UsbFnMemAlloc()
1216 void *UsbFnMemCalloc(size_t size) in UsbFnMemCalloc() function
/drivers/peripheral/usb/ddk/device/include/
Dadapter_if.h239 void *UsbFnMemCalloc(size_t size);