Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/usb/hdi_service/src/
H A Dusb_interface_driver.cpp57 if (hdfUsbInterfaceHost == nullptr || hdfUsbInterfaceHost->stub == nullptr) { in UsbInterfaceDriverDispatch()
80 if (hdfUsbInterfaceHost == nullptr) { in HdfUsbInterfaceDriverBind()
92 delete hdfUsbInterfaceHost; in HdfUsbInterfaceDriverBind()
93 hdfUsbInterfaceHost = nullptr; in HdfUsbInterfaceDriverBind()
97 hdfUsbInterfaceHost->stub = in HdfUsbInterfaceDriverBind()
102 delete hdfUsbInterfaceHost; in HdfUsbInterfaceDriverBind()
103 hdfUsbInterfaceHost = nullptr; in HdfUsbInterfaceDriverBind()
113 delete hdfUsbInterfaceHost; in HdfUsbInterfaceDriverBind()
114 hdfUsbInterfaceHost = nullptr; in HdfUsbInterfaceDriverBind()
139 delete hdfUsbInterfaceHost; in HdfUsbInterfaceDriverRelease()
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/usb_v1_0/cpp_target/usb/v1_0/
H A Dusb_interface_driver.cpp.txt61 auto *hdfUsbInterfaceHost = new (std::nothrow) HdfUsbInterfaceHost;
62 if (hdfUsbInterfaceHost == nullptr) {
67 hdfUsbInterfaceHost->ioService.Dispatch = UsbInterfaceDriverDispatch;
68 hdfUsbInterfaceHost->ioService.Open = NULL;
69 hdfUsbInterfaceHost->ioService.Release = NULL;
74 delete hdfUsbInterfaceHost;
80 if (hdfUsbInterfaceHost->stub == nullptr) {
82 delete hdfUsbInterfaceHost;
86 deviceObject->service = &hdfUsbInterfaceHost->ioService;
98 if (hdfUsbInterfaceHost != nullptr) {
[all …]