Lines Matching refs:device
139 static int32_t Sht30BindDriver(struct HdfDeviceObject *device)
141 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM);
150 drvData->device = device;
151 device->service = &drvData->ioService;
157 static int32_t Sht30InitDriver(struct HdfDeviceObject *device)
162 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM);
163 struct Sht30DrvData *drvData = (struct Sht30DrvData *)device->service;
166 drvData->sensorCfg = HumidityCreateCfgData(device->property);
189 static void Sht30ReleaseDriver(struct HdfDeviceObject *device)
191 CHECK_NULL_PTR_RETURN(device);
193 struct Sht30DrvData *drvData = (struct Sht30DrvData *)device->service;