Lines Matching refs:device
61 HDF_LOGE("%s:line %d aht20 device status busy!", __func__, __LINE__);
155 static int32_t Aht20BindDriver(struct HdfDeviceObject *device)
157 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM);
166 drvData->device = device;
167 device->service = &drvData->ioService;
173 static int32_t Aht20InitDriver(struct HdfDeviceObject *device)
178 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM);
179 struct Aht20DrvData *drvData = (struct Aht20DrvData *)device->service;
182 drvData->sensorCfg = TemperatureCreateCfgData(device->property);
205 static void Aht20ReleaseDriver(struct HdfDeviceObject *device)
207 CHECK_NULL_PTR_RETURN(device);
209 struct Aht20DrvData *drvData = (struct Aht20DrvData *)device->service;