Lines Matching refs:device
61 HDF_LOGE("%s:line %d aht20 device status busy!", __func__, __LINE__);
156 static int32_t Aht20BindDriver(struct HdfDeviceObject *device)
158 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM);
167 drvData->device = device;
168 device->service = &drvData->ioService;
174 static int32_t Aht20InitDriver(struct HdfDeviceObject *device)
179 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM);
180 struct Aht20DrvData *drvData = (struct Aht20DrvData *)device->service;
183 drvData->sensorCfg = HumidityCreateCfgData(device->property);
206 static void Aht20ReleaseDriver(struct HdfDeviceObject *device)
208 CHECK_NULL_PTR_RETURN(device);
210 struct Aht20DrvData *drvData = (struct Aht20DrvData *)device->service;