Home | History | Annotate | Download | only in libsensors

Lines Matching refs:device

53     struct sensors_control_device_t device;
59 struct sensors_data_device_t device;
89 struct hw_device_t** device);
549 //LOGD("(device close) about to close fd=%d", ctx->events_fd);
558 /** Open a new instance of a sensor device using name */
560 struct hw_device_t** device)
568 dev->device.common.tag = HARDWARE_DEVICE_TAG;
569 dev->device.common.version = 0;
570 dev->device.common.module = module;
571 dev->device.common.close = control__close;
572 dev->device.open_data_source = control__open_data_source;
573 dev->device.activate = control__activate;
574 dev->device.set_delay= control__set_delay;
575 dev->device.wake = control__wake;
576 *device = &dev->device.common;
582 dev->device.common.tag = HARDWARE_DEVICE_TAG;
583 dev->device.common.version = 0;
584 dev->device.common.module = module;
585 dev->device.common.close = data__close;
586 dev->device.data_open = data__data_open;
587 dev->device.data_close = data__data_close;
588 dev->device.poll = data__poll;
589 *device = &dev->device.common;