Searched refs:hdfDevice (Results 1 – 2 of 2) sorted by relevance
286 int32_t PlatformDeviceSetHdfDev(struct PlatformDevice *device, struct HdfDeviceObject *hdfDevice) in PlatformDeviceSetHdfDev() argument288 if (device == NULL || hdfDevice == NULL) { in PlatformDeviceSetHdfDev()298 device->hdfDev = hdfDevice; in PlatformDeviceSetHdfDev()299 hdfDevice->priv = device; in PlatformDeviceSetHdfDev()303 int32_t PlatformDeviceBind(struct PlatformDevice *device, struct HdfDeviceObject *hdfDevice) in PlatformDeviceBind() argument307 ret = PlatformDeviceSetHdfDev(device, hdfDevice); in PlatformDeviceBind()309 hdfDevice->service = device->service; in PlatformDeviceBind()
228 int32_t PlatformDeviceBind(struct PlatformDevice *device, struct HdfDeviceObject *hdfDevice);238 void PlatformDeviceUnbind(struct PlatformDevice *device, const struct HdfDeviceObject *hdfDevice);249 int32_t PlatformDeviceSetHdfDev(struct PlatformDevice *device, struct HdfDeviceObject *hdfDevice);