Lines Matching refs:device
111 /** SENSORS CONTROL DEVICE
119 struct sensors_control_device_t device;
223 /** SENSORS DATA DEVICE
232 struct sensors_data_device_t device;
421 //LOGD("(device close) about to close fd=%d", data->events_fd);
540 struct hw_device_t* *device)
552 dev->device.common.tag = HARDWARE_DEVICE_TAG;
553 dev->device.common.version = 0;
554 dev->device
555 dev->device.common.close = control__close;
556 dev->device.open_data_source = control__open_data_source;
557 dev->device.activate = control__activate;
558 dev->device.set_delay = control__set_delay;
559 dev->device.wake = control__wake;
562 *device = &dev->device.common;
570 dev->device.common.tag = HARDWARE_DEVICE_TAG;
571 dev->device.common.version = 0;
572 dev->device.common.module = (struct hw_module_t*) module;
573 dev->device.common.close = data__close;
574 dev->device.data_open = data__data_open;
575 dev->device.data_close = data__data_close;
576 dev->device.poll = data__poll;
579 *device = &dev->device.common;