Home
last modified time | relevance | path

Searched refs:RawMagneticField (Results 1 – 4 of 4) sorted by relevance

/hardware/invensense/6515/libsensors_iio/
Dsensors.h66 RawMagneticField, enumerator
85 #define LAST_HW_SENSOR RawMagneticField
DMPLSensor.cpp470 mPendingEvents[RawMagneticField].version = sizeof(sensors_event_t); in MPLSensor()
471 mPendingEvents[RawMagneticField].sensor = ID_RM; in MPLSensor()
472 mPendingEvents[RawMagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED; in MPLSensor()
473 mPendingEvents[RawMagneticField].magnetic.status = in MPLSensor()
521 mHandlers[RawMagneticField] = &MPLSensor::rawCompassHandler; in MPLSensor()
2146 (mCompassSensor->isIntegrated() << RawMagneticField))) {
2186 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) {
2189 … res = enableCompass(!!(sensors & INV_THREE_AXIS_COMPASS), changed & (1 << RawMagneticField));
2220 | (mCompassSensor->isIntegrated() << RawMagneticField)))
2262 (mCompassSensor->isIntegrated() << RawMagneticField))) {
[all …]
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.cpp548 mPendingEvents[RawMagneticField].version = sizeof(sensors_event_t); in MPLSensor()
549 mPendingEvents[RawMagneticField].sensor = ID_RM; in MPLSensor()
550 mPendingEvents[RawMagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD_UNCALIBRATED; in MPLSensor()
551 mPendingEvents[RawMagneticField].magnetic.status = in MPLSensor()
593 mHandlers[RawMagneticField] = &MPLSensor::rawCompassHandler; in MPLSensor()
2061 (mCompassSensor->isIntegrated() << RawMagneticField) | in enableSensors()
2102 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) { in enableSensors()
2105 … res = enableCompass(!!(sensors & INV_THREE_AXIS_COMPASS), changed & (1 << RawMagneticField)); in enableSensors()
2134 | (mCompassSensor->isIntegrated() << RawMagneticField))) in enableSensors()
2172 (mCompassSensor->isIntegrated() << RawMagneticField) | in enableSensors()
[all …]
DMPLSensor.h184 RawMagneticField, enumerator