Home
last modified time | relevance | path

Searched refs:pnpData (Results 1 – 2 of 2) sorted by relevance

/drivers/hdf_core/framework/model/usb/src/
Dusb_ddk_pnp_loader.c40 struct HdfSBuf *pnpData = NULL; in UsbDdkPnpLoaderBufCreate() local
42 pnpData = HdfSbufObtainDefaultSize(); in UsbDdkPnpLoaderBufCreate()
43 if (pnpData == NULL) { in UsbDdkPnpLoaderBufCreate()
48 if (!UsbPnpManagerWriteModuleName(pnpData, moduleName)) { in UsbDdkPnpLoaderBufCreate()
53 if (!HdfSbufWriteString(pnpData, serviceName)) { in UsbDdkPnpLoaderBufCreate()
58 if (!HdfSbufWriteString(pnpData, deviceMatchAttr)) { in UsbDdkPnpLoaderBufCreate()
63 if (!HdfSbufWriteBuffer(pnpData, (const void *)(&serviceInfo), serviceInfo.length)) { in UsbDdkPnpLoaderBufCreate()
68 return pnpData; in UsbDdkPnpLoaderBufCreate()
71 HdfSbufRecycle(pnpData); in UsbDdkPnpLoaderBufCreate()
788 struct HdfSBuf *pnpData = in UsbDdkPnpLoaderrAddPnpDevice() local
[all …]
/drivers/peripheral/usb/ddk/host/src/
Dusb_raw_api_library.c1489 struct HdfSBuf *pnpData = HdfSbufObtainDefaultSize(); in RawInitPnpService() local
1491 if (pnpData == NULL || pnpReply == NULL) { in RawInitPnpService()
1497 … if (!HdfSbufWriteBuffer(pnpData, (const void *)(&infoData), sizeof(struct UsbPnpAddRemoveInfo))) { in RawInitPnpService()
1503 ret = serv->dispatcher->Dispatch(&serv->object, cmdType, pnpData, pnpReply); in RawInitPnpService()
1524 HdfSbufRecycle(pnpData); in RawInitPnpService()