Home
last modified time | relevance | path

Searched refs:fnDevice (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/drivers/peripheral/usb/ddk/device/src/
H A Dusbfn_sdk_if.c144 int32_t UsbFnRemoveDevice(struct UsbFnDevice *fnDevice) in UsbFnRemoveDevice() argument
146 if (fnDevice == NULL) { in UsbFnRemoveDevice()
150 return UsbFnMgrDeviceRemove(fnDevice); in UsbFnRemoveDevice()
162 int32_t UsbFnGetDeviceState(struct UsbFnDevice *fnDevice, UsbFnDeviceState *devState) in UsbFnGetDeviceState() argument
164 if (fnDevice == NULL || devState == NULL) { in UsbFnGetDeviceState()
168 return UsbFnMgrDeviceGetState(fnDevice, devState); in UsbFnGetDeviceState()
171 const struct UsbFnInterface *UsbFnGetInterface(struct UsbFnDevice *fnDevice, uint8_t interfaceIndex) in UsbFnGetInterface() argument
173 if (fnDevice == NULL) { in UsbFnGetInterface()
177 return (struct UsbFnInterface *)UsbFnMgrDeviceGetInterface(fnDevice, interfaceIndex); in UsbFnGetInterface()
H A Dusbfn_dev_mgr.c257 int32_t UsbFnMgrDeviceRemove(struct UsbFnDevice *fnDevice) in UsbFnMgrDeviceRemove() argument
261 if (fnDevice == NULL) { in UsbFnMgrDeviceRemove()
264 struct UsbFnDeviceMgr *fnDevMgr = (struct UsbFnDeviceMgr *)fnDevice; in UsbFnMgrDeviceRemove()
287 DListRemove(&fnDevice->object.entry); in UsbFnMgrDeviceRemove()
329 int32_t UsbFnMgrDeviceGetState(struct UsbFnDevice *fnDevice, UsbFnDeviceState *devState) in UsbFnMgrDeviceGetState() argument
331 if (fnDevice == NULL || devState == NULL) { in UsbFnMgrDeviceGetState()
335 struct UsbFnDeviceMgr *fnDevMgr = (struct UsbFnDeviceMgr *)fnDevice; in UsbFnMgrDeviceGetState()
340 const struct UsbFnInterfaceMgr *UsbFnMgrDeviceGetInterface(struct UsbFnDevice *fnDevice, uint8_t in… in UsbFnMgrDeviceGetInterface() argument
342 if (fnDevice == NULL) { in UsbFnMgrDeviceGetInterface()
346 struct UsbFnDeviceMgr *fnDevMgr = (struct UsbFnDeviceMgr *)fnDevice; in UsbFnMgrDeviceGetInterface()
/ohos5.0/drivers/peripheral/usb/ddk/device/include/
H A Dusbfn_dev_mgr.h43 int32_t UsbFnMgrDeviceRemove(struct UsbFnDevice *fnDevice);
45 int32_t UsbFnMgrDeviceGetState(struct UsbFnDevice *fnDevice, UsbFnDeviceState *devState);
46 const struct UsbFnInterfaceMgr *UsbFnMgrDeviceGetInterface(struct UsbFnDevice *fnDevice, uint8_t in…
/ohos5.0/drivers/peripheral/usb/interfaces/ddk/device/
H A Dusbfn_device.h181 int32_t UsbFnRemoveDevice(struct UsbFnDevice *fnDevice);
183 int32_t UsbFnGetDeviceState(struct UsbFnDevice *fnDevice, UsbFnDeviceState *devState);
196 const struct UsbFnInterface *UsbFnGetInterface(struct UsbFnDevice *fnDevice, uint8_t interfaceIndex…
/ohos5.0/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
H A Dusb_device_lite_sdk_if_test.c322 struct UsbFnDevice *fnDevice = NULL; in UsbFnDviceTestGetInterface005() local
323 struct UsbFnInterface *fnInterface = (struct UsbFnInterface *)UsbFnGetInterface(fnDevice, 0); in UsbFnDviceTestGetInterface005()
/ohos5.0/drivers/peripheral/usb/
H A DREADME_zh.md316 …517"></a><a name="p16133957155517"></a>int32_t UsbFnRemoveDevice(struct UsbFnDevice *fnDevice);</p>
H A DREADME.md316 …517"></a><a name="p16133957155517"></a>int32_t UsbFnRemoveDevice(struct UsbFnDevice *fnDevice);</p>
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-usb-des.md122 | int32_t&nbsp;UsbFnRemoveDevice(struct&nbsp;UsbFnDevice<br/>\*fnDevice); | 删除USB设备 |
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-usb-des.md122 | int32_t&nbsp;UsbFnRemoveDevice(struct&nbsp;UsbFnDevice<br>\*fnDevice); | Deletes a USB device.|