Home | History | Annotate | Download | only in libsensors

Lines Matching refs:device

99                         struct hw_device_t** device);
128 struct sensors_poll_device_t device; // must be first
355 /** Open a new instance of a sensor device using name */
357 struct hw_device_t** device)
362 memset(&dev->device, 0, sizeof(sensors_poll_device_t));
364 dev->device.common.tag = HARDWARE_DEVICE_TAG;
365 dev->device.common.version = 0;
366 dev->device.common.module = const_cast<hw_module_t*>(module);
367 dev->device.common.close = poll__close;
368 dev->device.activate = poll__activate;
369 dev->device.setDelay = poll__setDelay;
370 dev->device.poll = poll__poll;
372 *device = &dev->device.common;