Lines Matching refs:device
154 static int32_t Bmi160BindDriver(struct HdfDeviceObject *device)
156 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM);
165 drvData->device = device;
166 device->service = &drvData->ioService;
172 static int32_t Bmi160InitDriver(struct HdfDeviceObject *device)
177 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM);
178 struct Bmi160DrvData *drvData = (struct Bmi160DrvData *)device->service;
187 drvData->sensorCfg = AccelCreateCfgData(device->property);
210 static void Bmi160ReleaseDriver(struct HdfDeviceObject *device)
212 CHECK_NULL_PTR_RETURN(device);
214 struct Bmi160DrvData *drvData = (struct Bmi160DrvData *)device->service;