Lines Matching defs:hdfUsbDdkHost
35 auto *hdfUsbDdkHost = CONTAINER_OF(client->device->service, struct HdfUsbDdkHost, ioService);
50 return hdfUsbDdkHost->stub->SendRequest(cmdId, *dataParcel, *replyParcel, option);
62 auto *hdfUsbDdkHost = new (std::nothrow) HdfUsbDdkHost;
63 if (hdfUsbDdkHost == nullptr) {
68 hdfUsbDdkHost->ioService.Dispatch = UsbDdkDriverDispatch;
69 hdfUsbDdkHost->ioService.Open = NULL;
70 hdfUsbDdkHost->ioService.Release = NULL;
75 delete hdfUsbDdkHost;
79 hdfUsbDdkHost->stub = OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(
81 if (hdfUsbDdkHost->stub == nullptr) {
83 delete hdfUsbDdkHost;
87 deviceObject->service = &hdfUsbDdkHost->ioService;
98 auto *hdfUsbDdkHost = CONTAINER_OF(deviceObject->service, struct HdfUsbDdkHost, ioService);
99 if (hdfUsbDdkHost != nullptr) {
100 delete hdfUsbDdkHost;