Lines Matching refs:device
208 static int32_t Hi35xxWatchdogBind(struct HdfDeviceObject *device)
213 if (device == NULL || device->property == NULL) {
214 HDF_LOGE("%s: device or property is null!", __func__);
224 ret = Hi35xxWatchdogReadDrs(hwdt, device->property);
238 hwdt->wdt.priv = (void *)device->property;
240 hwdt->wdt.device = device;
248 HDF_LOGI("%s: dev service %s bind success!", __func__, HdfDeviceGetServiceName(device));
252 static int32_t Hi35xxWatchdogInit(struct HdfDeviceObject *device)
254 (void)device;
258 static void Hi35xxWatchdogRelease(struct HdfDeviceObject *device)
264 if (device == NULL) {
265 HDF_LOGE("%s: device is NULL!", __func__);
269 wdt = WatchdogCntlrFromDevice(device);