Home
last modified time | relevance | path

Searched refs:UsbFnInterface (Results 1 - 21 of 21) sorted by relevance

/drivers/peripheral/usb/interfaces/ddk/device/
H A Dusbfn_interface.h196 struct UsbFnInterface { struct
240 typedef int32_t (*UsbFnPropCallback)(const struct UsbFnInterface *intf, const char *name, const char *value);
278 struct UsbFnInterface *interface, uint32_t eventMask, UsbFnEventCallback callback, void *context);
288 int32_t UsbFnStopRecvInterfaceEvent(struct UsbFnInterface *interface);
300 UsbFnInterfaceHandle UsbFnOpenInterface(struct UsbFnInterface *interface);
324 int32_t UsbFnGetInterfacePipeInfo(struct UsbFnInterface *interface, uint8_t pipeId, struct UsbFnPipeInfo *info);
338 int32_t UsbFnRegistInterfaceProp(const struct UsbFnInterface *interface, const struct UsbFnRegistInfo *registInfo);
357 int32_t UsbFnGetInterfaceProp(const struct UsbFnInterface *interface, const char *name, char *value);
376 int32_t UsbFnSetInterfaceProp(const struct UsbFnInterface *interface, const char *name, const char *value);
H A Dusbfn_device.h193 * @return Returns the pointer to the <b>UsbFnInterface</b> if the operation is successful;
196 const struct UsbFnInterface *UsbFnGetInterface(struct UsbFnDevice *fnDevice, uint8_t interfaceIndex);
/drivers/peripheral/usb/ddk/device/include/
H A Dusbfn_cfg_mgr.h115 const struct UsbFnInterface *intf;
126 int32_t UsbFnCfgMgrSetProp(const struct UsbFnInterface *intf, const char *name, const char *value);
127 int32_t UsbFnCfgMgrGetProp(const struct UsbFnInterface *intf, const char *name, char *value);
128 int32_t UsbFnCfgMgrRegisterProp(const struct UsbFnInterface *intf,
H A Dusbfn_io_mgr.h58 struct UsbFnInterface interface;
71 struct UsbHandleMgr *UsbFnIoMgrInterfaceOpen(struct UsbFnInterface *interface);
73 int32_t UsbFnIoMgrInterfaceGetPipeInfo(struct UsbFnInterface *interface, uint8_t pipeId, struct UsbFnPipeInfo *info);
H A Dusbfn_dev_mgr.h47 int32_t UsbFnMgrStartRecvEvent(struct UsbFnInterface *interface, uint32_t eventMask,
49 int32_t UsbFnStopRecvEvent(struct UsbFnInterface *interface);
/drivers/peripheral/usb/ddk/device/src/
H A Dusbfn_sdk_if.c171 const struct UsbFnInterface *UsbFnGetInterface(struct UsbFnDevice *fnDevice, uint8_t interfaceIndex) in UsbFnGetInterface()
177 return (struct UsbFnInterface *)UsbFnMgrDeviceGetInterface(fnDevice, interfaceIndex); in UsbFnGetInterface()
181 struct UsbFnInterface *interface, uint32_t eventMask, UsbFnEventCallback callback, void *context) in UsbFnStartRecvInterfaceEvent()
190 int32_t UsbFnStopRecvInterfaceEvent(struct UsbFnInterface *interface) in UsbFnStopRecvInterfaceEvent()
199 UsbFnInterfaceHandle UsbFnOpenInterface(struct UsbFnInterface *interface) in UsbFnOpenInterface()
217 int32_t UsbFnGetInterfacePipeInfo(struct UsbFnInterface *interface, uint8_t pipeId, struct UsbFnPipeInfo *info) in UsbFnGetInterfacePipeInfo()
226 int32_t UsbFnRegistInterfaceProp(const struct UsbFnInterface *interface, const struct UsbFnRegistInfo *registInfo) in UsbFnRegistInterfaceProp()
235 int32_t UsbFnGetInterfaceProp(const struct UsbFnInterface *interface, const char *name, char *value) in UsbFnGetInterfaceProp()
244 int32_t UsbFnSetInterfaceProp(const struct UsbFnInterface *interface, const char *name, const char *value) in UsbFnSetInterfaceProp()
H A Dusbfn_cfg_mgr.c965 static uint8_t IsPropRegisted(const struct UsbFnInterface *intf, const char *name) in IsPropRegisted()
981 static int32_t IsDevDescPropAndGetValue(const struct UsbFnInterface *intf, const char *name, uint16_t *value) in IsDevDescPropAndGetValue()
1039 const struct UsbFnInterface *intf, const struct DeviceResourceIface *drsOps, in UsbFnCfgGetPropValueFromPropList()
1090 static const char *UsbFnCfgGetPropValueFromHcs(const struct UsbFnDeviceMgr *fnDevMgr, const struct UsbFnInterface *intf, in UsbFnCfgGetPropValueFromHcs()
1122 static const char *UsbFnCfgFindPropFromHcs(const struct UsbFnInterface *intf, const char *name) in UsbFnCfgFindPropFromHcs()
1189 static int32_t UsbFnCfgChangeDevceDes(const struct UsbFnInterface *intf, const char *name, const char *value) in UsbFnCfgChangeDevceDes()
1225 static struct UsbFnCfgPropMgr *UsbfnCfgMgrFindPropMgr(const struct UsbFnInterface *intf, const char *name) in UsbfnCfgMgrFindPropMgr()
1241 static int32_t UsbFnCfgMgrCheckRegist(const struct UsbFnInterface *intf, const struct UsbFnRegistInfo *registInfo, in UsbFnCfgMgrCheckRegist()
1264 int32_t UsbFnCfgMgrRegisterProp(const struct UsbFnInterface *intf, const struct UsbFnRegistInfo *registInfo) in UsbFnCfgMgrRegisterProp()
1323 int32_t UsbFnCfgMgrGetProp(const struct UsbFnInterface *int
[all...]
H A Dusbfn_io_mgr.c279 struct UsbHandleMgr *UsbFnIoMgrInterfaceOpen(struct UsbFnInterface *interface) in UsbFnIoMgrInterfaceOpen()
345 int32_t UsbFnIoMgrInterfaceGetPipeInfo(struct UsbFnInterface *interface, uint8_t pipeId, struct UsbFnPipeInfo *info) in UsbFnIoMgrInterfaceGetPipeInfo()
H A Dusbfn_dev_mgr.c581 struct UsbFnInterface *interface, uint32_t eventMask, UsbFnEventCallback callback, void *context) in UsbFnMgrStartRecvEvent()
602 int32_t UsbFnStopRecvEvent(struct UsbFnInterface *interface) in UsbFnStopRecvEvent()
/drivers/peripheral/usb/gadget/function/include/
H A Dcdcecm.h66 struct UsbFnInterface *ctrlIface;
70 struct UsbFnInterface *fn;
H A Dcdcacm.h82 struct UsbFnInterface *ctrlIface;
86 struct UsbFnInterface *fn;
/drivers/peripheral/usb/test/unittest/device_sdk/
H A Dusb_device_cdcacm_test.h85 struct UsbFnInterface *ctrlIface;
89 struct UsbFnInterface *fn;
H A Dusb_device_sdk_if_test.cpp223 struct UsbFnInterface *fnInterface = nullptr; in HWTEST_F()
226 fnInterface = (struct UsbFnInterface *)UsbFnGetInterface(g_acmDevice->fnDev, 0); in HWTEST_F()
232 struct UsbFnInterface *fnInterface = nullptr; in HWTEST_F()
235 fnInterface = (struct UsbFnInterface *)UsbFnGetInterface(g_acmDevice->fnDev, 0x1); in HWTEST_F()
241 struct UsbFnInterface *fnInterface = nullptr; in HWTEST_F()
244 fnInterface = (struct UsbFnInterface *)UsbFnGetInterface(g_acmDevice->fnDev, 0xA); in HWTEST_F()
250 struct UsbFnInterface *fnInterface = nullptr; in HWTEST_F()
253 fnInterface = (struct UsbFnInterface *)UsbFnGetInterface(g_acmDevice->fnDev, 0x20); in HWTEST_F()
260 struct UsbFnInterface *fnInterface = UsbFnGetInterface(nullptr, 0); in HWTEST_F()
267 struct UsbFnInterface *fnInterfac in HWTEST_F()
[all...]
H A Dusb_device_cdcacm_test.cpp344 struct UsbFnInterface *fnIface = nullptr; in ParseInterfaces()
348 fnIface = const_cast<UsbFnInterface *>(UsbFnGetInterface(acmDevice->fnDev, i)); in ParseInterfaces()
/drivers/peripheral/usb/gadget/function/mtp/include/
H A Dusbfn_mtp_impl.h92 struct UsbFnInterface *ctrlIface;
96 struct UsbFnInterface *fn;
225 int32_t UsbMtpDeviceParseMtpIface(struct UsbFnInterface *fnIface);
226 bool UsbFnInterfaceIsUsbMtpPtpDevice(struct UsbFnInterface *iface);
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
H A Dusb_device_lite_sdk_if_test.c266 struct UsbFnInterface *fnInterface = (struct UsbFnInterface *)UsbFnGetInterface(g_acmDevice->fnDev, 0); in UsbFnDviceTestGetInterface()
281 struct UsbFnInterface *fnInterface = (struct UsbFnInterface *)UsbFnGetInterface(g_acmDevice->fnDev, 1); in UsbFnDviceTestGetInterface002()
297 struct UsbFnInterface *fnInterface = (struct UsbFnInterface *)UsbFnGetInterface(g_acmDevice->fnDev, 0xA); in UsbFnDviceTestGetInterface003()
312 struct UsbFnInterface *fnInterface = (struct UsbFnInterface *)UsbFnGetInterface(g_acmDevice->fnDev, 0x20); in UsbFnDviceTestGetInterface004()
323 struct UsbFnInterface *fnInterface = (struct UsbFnInterface *)UsbFnGetInterfac in UsbFnDviceTestGetInterface005()
[all...]
H A Dusb_device_lite_cdcacm_test.c328 static void ParsePipes(struct AcmDevice *acmDevice, const struct UsbFnInterface *fnIface, UsbFnInterfaceHandle handle) in ParsePipes()
332 int32_t ret = UsbFnGetInterfacePipeInfo((struct UsbFnInterface *)fnIface, j, &pipeInfo); in ParsePipes()
339 acmDevice->ctrlIface.fn = (struct UsbFnInterface *)fnIface; in ParsePipes()
345 acmDevice->dataIface.fn = (struct UsbFnInterface *)fnIface; in ParsePipes()
350 acmDevice->dataIface.fn = (struct UsbFnInterface *)fnIface; in ParsePipes()
360 struct UsbFnInterface *fnIface = NULL; in ParseInterfaces()
364 fnIface = (struct UsbFnInterface *)UsbFnGetInterface(acmDevice->fnDev, i); in ParseInterfaces()
/drivers/hdf_core/framework/test/unittest/model/usb/device/include/
H A Dusb_device_lite_cdcacm_test.h77 struct UsbFnInterface *ctrlIface;
81 struct UsbFnInterface *fn;
/drivers/peripheral/usb/gadget/function/ecm/
H A Dcdcecm.c682 struct UsbFnInterface *fnIface = iface->fn; in EcmParseEachPipe()
723 static int32_t EcmParseEcmIface(struct UsbEcmDevice *ecm, struct UsbFnInterface *fnIface) in EcmParseEcmIface()
744 struct UsbFnInterface *fnIface = NULL; in EcmParseEachIface()
748 fnIface = (struct UsbFnInterface *)UsbFnGetInterface(fnDev, i); in EcmParseEachIface()
756 fnIface = (struct UsbFnInterface *)UsbFnGetInterface(fnDev, i + 1); in EcmParseEachIface()
/drivers/peripheral/usb/gadget/function/acm/
H A Dcdcacm.c759 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialGetProp()
781 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialSetProp()
806 static int32_t UsbSerialRegistPropAGet(const struct UsbFnInterface *intf, const char *name, const char *value) in UsbSerialRegistPropAGet()
815 static int32_t UsbSerialRegistPropASet(const struct UsbFnInterface *intf, const char *name, const char *value) in UsbSerialRegistPropASet()
826 struct UsbFnInterface *intf = acmDevice->ctrlIface.fn; in UsbSerialRegistProp()
1338 struct UsbFnInterface *fnIface = iface->fn; in AcmParseEachPipe()
1378 static int32_t AcmParseAcmIface(struct UsbAcmDevice *acm, struct UsbFnInterface *fnIface) in AcmParseAcmIface()
1398 struct UsbFnInterface *fnIface = NULL; in AcmParseEachIface()
1404 fnIface = (struct UsbFnInterface *)UsbFnGetInterface(fnDev, i); in AcmParseEachIface()
1412 fnIface = (struct UsbFnInterface *)UsbFnGetInterfac in AcmParseEachIface()
[all...]
/drivers/peripheral/usb/gadget/function/mtp/src/
H A Dusbfn_mtp_impl.cpp700 struct UsbFnInterface *fnIface = iface.fn; in UsbMtpDeviceParseEachPipe()
749 int32_t UsbfnMtpImpl::UsbMtpDeviceParseMtpIface(struct UsbFnInterface *fnIface) in UsbMtpDeviceParseMtpIface()
766 bool UsbfnMtpImpl::UsbFnInterfaceIsUsbMtpPtpDevice(struct UsbFnInterface *iface) in UsbFnInterfaceIsUsbMtpPtpDevice()
786 struct UsbFnInterface *fnIface = const_cast<struct UsbFnInterface *>(UsbFnGetInterface(fnDev, i)); in UsbMtpDeviceParseEachIface()

Completed in 18 milliseconds