Lines Matching refs:device
167 static int32_t Mxc6655xaBindDriver(struct HdfDeviceObject *device)
169 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM);
178 drvData->device = device;
179 device->service = &drvData->ioService;
185 static int32_t Mxc6655xaInitDriver(struct HdfDeviceObject *device)
190 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM);
191 struct Mxc6655xaDrvData *drvData = (struct Mxc6655xaDrvData *)device->service;
194 drvData->sensorCfg = AccelCreateCfgData(device->property);
217 static void Mxc6655xaReleaseDriver(struct HdfDeviceObject *device)
219 CHECK_NULL_PTR_RETURN(device);
221 struct Mxc6655xaDrvData *drvData = (struct Mxc6655xaDrvData *)device->service;