Home
last modified time | relevance | path

Searched refs:sensors_poll_device_t (Results 1 – 7 of 7) sorted by relevance

/hardware/libhardware/include/hardware/
Dsensors.h912 struct sensors_poll_device_t { struct
914 int (*activate)(struct sensors_poll_device_t *dev, argument
916 int (*setDelay)(struct sensors_poll_device_t *dev, argument
918 int (*poll)(struct sensors_poll_device_t *dev, argument
930 struct sensors_poll_device_t v0;
942 int (*activate)(struct sensors_poll_device_t *dev,
951 int (*setDelay)(struct sensors_poll_device_t *dev,
957 int (*poll)(struct sensors_poll_device_t *dev,
999 struct sensors_poll_device_t** device) { in sensors_open()
1004 static inline int sensors_close(struct sensors_poll_device_t* device) { in sensors_close()
/hardware/libhardware/modules/sensors/
Dmultihal.cpp132 sensors_poll_device_t* device;
139 sensors_poll_device_t* device = ctx->device; in writerTask()
202 sensors_poll_device_t* get_v0_device_by_handle(int global_handle);
217 taskContext->device = (sensors_poll_device_t*) sub_hw_device; in addSubHwDevice()
226 sensors_poll_device_t* sensors_poll_context_t::get_v0_device_by_handle(int global_handle) { in get_v0_device_by_handle()
231 return (sensors_poll_device_t*) this->sub_hw_devices[sub_index]; in get_v0_device_by_handle()
245 sensors_poll_device_t* v0 = this->get_v0_device_by_handle(handle); in get_device_version_by_handle()
257 sensors_poll_device_t* v0 = this->get_v0_device_by_handle(handle); in activate()
269 sensors_poll_device_t* v0 = this->get_v0_device_by_handle(handle); in setDelay()
388 static int device__activate(struct sensors_poll_device_t *dev, int handle, in device__activate()
[all …]
/hardware/invensense/60xx/libsensors_iio/
Dsensors_mpl.cpp83 struct sensors_poll_device_t device; // must be first
214 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
221 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
229 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
246 memset(&dev->device, 0, sizeof(sensors_poll_device_t)); in open_sensors()
/hardware/akm/AK8975_FS/libsensors/
Dsensors.cpp125 struct sensors_poll_device_t device; // must be first
332 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
338 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
344 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
359 memset(&dev->device, 0, sizeof(sensors_poll_device_t)); in open_sensors()
/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp343 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
350 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
358 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
/hardware/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp361 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
368 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
376 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
/hardware/libhardware/tests/nusensors/
Dnusensors.cpp63 struct sensors_poll_device_t* device; in main()