Home
last modified time | relevance | path

Searched refs:osAdapterOps (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/drivers/peripheral/usb/ddk/host/src/
H A Dusb_raw_api_library.c215 if (!osAdapterOps->getConfigDescriptor) { in GetConfigDescriptor()
740 if (osAdapterOps->init) { in RawInit()
774 if (osAdapterOps->exit) { in RawExit()
775 osAdapterOps->exit(realSession); in RawExit()
814 if (osAdapterOps->closeDevice) { in RawCloseDevice()
839 if (!osAdapterOps->claimInterface) { in RawClaimInterface()
1310 if (!osAdapterOps->usbControlMsg) { in RawUsbControlMsg()
1325 if (!osAdapterOps->getUsbSpeed) { in RawUsbGetUsbSpeed()
1448 if (!osAdapterOps->resetDevice) { in RawResetDevice()
1465 if (!osAdapterOps->submitRequest) { in RawSubmitRequest()
[all …]
/ohos5.0/drivers/peripheral/usb/test/unittest/mock/src/
H A Dusbd_device_auto_test.cpp56 struct UsbOsAdapterOps *osAdapterOps = UsbAdapterGetOps(); in SetUpTestCase() local
60 osAdapterOps->openDevice = FuncAdapterOpenDevice; in SetUpTestCase()
61 osAdapterOps->init = FuncAdapterInit; in SetUpTestCase()
62 osAdapterOps->getConfiguration = FuncAdapterGetConfiguration; in SetUpTestCase()
65 osAdapterOps->allocRequest = FuncAdapterAllocRequest; in SetUpTestCase()
66 osAdapterOps->cancelRequest = FuncAdapterCancelRequest; in SetUpTestCase()
67 osAdapterOps->submitRequest = FuncAdapterSubmitRequest; in SetUpTestCase()
68 osAdapterOps->claimInterface = FuncAdapterClaimInterface; in SetUpTestCase()
70 osAdapterOps->freeRequest = FuncAdapterFreeRequest; in SetUpTestCase()
71 osAdapterOps->closeDevice = FuncAdapterCloseDevice; in SetUpTestCase()
[all …]
H A Dusbd_request_auto_test.cpp84 struct UsbOsAdapterOps *osAdapterOps = UsbAdapterGetOps(); in SetUpTestCase() local
91 osAdapterOps->openDevice = FuncAdapterOpenDevice; in SetUpTestCase()
92 osAdapterOps->init = FuncAdapterInit; in SetUpTestCase()
93 osAdapterOps->getConfiguration = FuncAdapterGetConfiguration; in SetUpTestCase()
96 osAdapterOps->allocRequest = FuncAdapterAllocRequest; in SetUpTestCase()
97 osAdapterOps->cancelRequest = FuncAdapterCancelRequest; in SetUpTestCase()
98 osAdapterOps->submitRequest = FuncAdapterSubmitRequest; in SetUpTestCase()
99 osAdapterOps->claimInterface = FuncAdapterClaimInterface; in SetUpTestCase()
101 osAdapterOps->freeRequest = FuncAdapterFreeRequest; in SetUpTestCase()
102 osAdapterOps->closeDevice = FuncAdapterCloseDevice; in SetUpTestCase()
[all …]
H A Dusbd_transfer_auto_test.cpp108 struct UsbOsAdapterOps *osAdapterOps = UsbAdapterGetOps(); in SetUpTestCase() local
115 osAdapterOps->openDevice = FuncAdapterOpenDevice; in SetUpTestCase()
116 osAdapterOps->init = FuncAdapterInit; in SetUpTestCase()
117 osAdapterOps->getConfiguration = FuncAdapterGetConfiguration; in SetUpTestCase()
120 osAdapterOps->allocRequest = FuncAdapterAllocRequest; in SetUpTestCase()
121 osAdapterOps->cancelRequest = FuncAdapterCancelRequest; in SetUpTestCase()
122 osAdapterOps->submitRequest = FuncAdapterSubmitRequest; in SetUpTestCase()
123 osAdapterOps->claimInterface = FuncAdapterClaimInterface; in SetUpTestCase()
125 osAdapterOps->freeRequest = FuncAdapterFreeRequest; in SetUpTestCase()
126 osAdapterOps->closeDevice = FuncAdapterCloseDevice; in SetUpTestCase()
[all …]