Searched refs:fnDevice (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/drivers/peripheral/usb/ddk/device/src/ |
H A D | usbfn_sdk_if.c | 144 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 D | usbfn_dev_mgr.c | 257 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 D | usbfn_dev_mgr.h | 43 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 D | usbfn_device.h | 181 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 D | usb_device_lite_sdk_if_test.c | 322 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 D | README_zh.md | 316 …517"></a><a name="p16133957155517"></a>int32_t UsbFnRemoveDevice(struct UsbFnDevice *fnDevice);</p>
|
H A D | README.md | 316 …517"></a><a name="p16133957155517"></a>int32_t UsbFnRemoveDevice(struct UsbFnDevice *fnDevice);</p>
|
/ohos5.0/docs/zh-cn/device-dev/driver/ |
H A D | driver-peripherals-usb-des.md | 122 | int32_t UsbFnRemoveDevice(struct UsbFnDevice<br/>\*fnDevice); | 删除USB设备 |
|
/ohos5.0/docs/en/device-dev/driver/ |
H A D | driver-peripherals-usb-des.md | 122 | int32_t UsbFnRemoveDevice(struct UsbFnDevice<br>\*fnDevice); | Deletes a USB device.|
|