Home
last modified time | relevance | path

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

/hardware/libhardware/include/hardware/
Dsensors.h1288 struct sensors_poll_device_t { struct
1290 int (*activate)(struct sensors_poll_device_t *dev, argument
1292 int (*setDelay)(struct sensors_poll_device_t *dev, argument
1294 int (*poll)(struct sensors_poll_device_t *dev, argument
1306 struct sensors_poll_device_t v0;
1318 int (*activate)(struct sensors_poll_device_t *dev,
1327 int (*setDelay)(struct sensors_poll_device_t *dev,
1333 int (*poll)(struct sensors_poll_device_t *dev,
1384 struct sensors_poll_device_t** device) { in sensors_open()
1389 static inline int sensors_close(struct sensors_poll_device_t* device) { in sensors_close()
/hardware/bsp/intel/peripheral/sensors/mraa/
DSensorsHAL.hpp92 static int ActivateWrapper(sensors_poll_device_t *dev, int handle,
94 static int SetDelayWrapper(sensors_poll_device_t *dev, int handle,
96 static int PollEventsWrapper(sensors_poll_device_t *dev,
DSensorsHAL.cpp270 int SensorContext::ActivateWrapper(sensors_poll_device_t *dev, in ActivateWrapper()
277 int SensorContext::SetDelayWrapper(sensors_poll_device_t *dev, in SetDelayWrapper()
284 int SensorContext::PollEventsWrapper(sensors_poll_device_t *dev, in PollEventsWrapper()
/hardware/libhardware/modules/sensors/
Dmultihal.cpp135 sensors_poll_device_t* device;
142 sensors_poll_device_t* device = ctx->device; in writerTask()
205 sensors_poll_device_t* get_v0_device_by_handle(int global_handle);
220 taskContext->device = (sensors_poll_device_t*) sub_hw_device; in addSubHwDevice()
229 sensors_poll_device_t* sensors_poll_context_t::get_v0_device_by_handle(int global_handle) { in get_v0_device_by_handle()
234 return (sensors_poll_device_t*) this->sub_hw_devices[sub_index]; in get_v0_device_by_handle()
248 sensors_poll_device_t* v0 = this->get_v0_device_by_handle(handle); in get_device_version_by_handle()
285 sensors_poll_device_t* v0 = this->get_v0_device_by_handle(handle); in activate()
300 sensors_poll_device_t* v0 = this->get_v0_device_by_handle(handle); in setDelay()
423 static int device__activate(struct sensors_poll_device_t *dev, int handle, in device__activate()
[all …]
/hardware/akm/AK8975_FS/libsensors/
Dsensors.cpp128 struct sensors_poll_device_t device; // must be first
335 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
341 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
347 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
362 memset(&dev->device, 0, sizeof(sensors_poll_device_t)); in open_sensors()
/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp344 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
351 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
359 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
/hardware/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp399 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
406 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
414 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
/hardware/libhardware/tests/nusensors/
Dnusensors.cpp64 struct sensors_poll_device_t* device; in main()