Home
last modified time | relevance | path

Searched refs:absinfo (Results 1 – 2 of 2) sorted by relevance

/hardware/akm/AK8975_FS/libsensors/
DKionixSensor.cpp62 struct input_absinfo absinfo; in setInitialState() local
65 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_X), &absinfo)) { in setInitialState()
66 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
68 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Y), &absinfo)) { in setInitialState()
69 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
71 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Z), &absinfo)) { in setInitialState()
72 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(absinfo.value); in setInitialState()
DAdxlSensor.cpp67 struct input_absinfo absinfo; in setInitialState() local
70 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_X), &absinfo)) { in setInitialState()
71 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(absinfo.value); in setInitialState()
73 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Y), &absinfo)) { in setInitialState()
74 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(absinfo.value); in setInitialState()
76 if (!ioctl(data_fd, EVIOCGABS(EVENT_TYPE_ACCEL_Z), &absinfo)) { in setInitialState()
77 mPendingEvent.acceleration.z = ADXL_UNIT_CONVERSION(absinfo.value); in setInitialState()