Home
last modified time | relevance | path

Searched refs:INV_THREE_AXIS_COMPASS (Results 1 – 11 of 11) sorted by relevance

/hardware/invensense/60xx/libsensors_iio/
DMPLSensor.h55 #define INV_THREE_AXIS_COMPASS (0x0380) macro
60 | INV_THREE_AXIS_COMPASS \
64 | INV_THREE_AXIS_COMPASS \
DMPLSensor.cpp1000 mLocalSensorMask |= INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
1003 mLocalSensorMask &= ~INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
1066 … res = enableOneSensor(sensors & INV_THREE_AXIS_COMPASS, "compass", &MPLSensor::enableCompass); in enableSensors()
1099 | (INV_THREE_AXIS_COMPASS * mCompassSensor->isIntegrated()))) { in enableSensors()
1165 | (INV_THREE_AXIS_COMPASS * (!mCompassSensor->isIntegrated()))))) { in enableSensors()
1744 | (INV_THREE_AXIS_COMPASS * mCompassSensor->isIntegrated()))) { in update_delay()
1864 … (((mLocalSensorMask & INV_THREE_AXIS_COMPASS) && mCompassSensor->isIntegrated())? 1 : 0); in readEvents()
1897 LOGI_IF(mLocalSensorMask & INV_THREE_AXIS_COMPASS & in readEvents()
1929 if ((mLocalSensorMask & INV_THREE_AXIS_COMPASS) && mCompassSensor->isIntegrated()) { in readEvents()
1936 if ((mLocalSensorMask & INV_THREE_AXIS_COMPASS) && mCompassSensor->isIntegrated() && in readEvents()
[all …]
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.h55 #define INV_THREE_AXIS_COMPASS (0x0380) macro
61 | INV_THREE_AXIS_COMPASS \
65 | INV_THREE_AXIS_COMPASS \
DMPLSensor.cpp2009 mLocalSensorMask |= INV_THREE_AXIS_COMPASS;
2012 mLocalSensorMask &= ~INV_THREE_AXIS_COMPASS;
2020 mLocalSensorMask |= INV_THREE_AXIS_COMPASS;
2066 mLocalSensorMask |= INV_THREE_AXIS_COMPASS;
2069 mLocalSensorMask &= ~INV_THREE_AXIS_COMPASS;
2136 (sensors & INV_THREE_AXIS_COMPASS? "enable": "disable"));
2137 … res = enableCompass(!!(sensors & INV_THREE_AXIS_COMPASS), changed & (1 << RawMagneticField));
2219 | (INV_THREE_AXIS_COMPASS * mCompassSensor->isIntegrated())))) {
2271 | (INV_THREE_AXIS_COMPASS * (!mCompassSensor->isIntegrated()))))
3558 | (INV_THREE_AXIS_COMPASS * mCompassSensor->isIntegrated()))) {
[all …]
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.h55 #define INV_THREE_AXIS_COMPASS (0x0380) macro
61 | INV_THREE_AXIS_COMPASS \
65 | INV_THREE_AXIS_COMPASS \
DMPLSensor.cpp1989 mLocalSensorMask |= INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
1992 mLocalSensorMask &= ~INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
2000 mLocalSensorMask |= INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
2041 mLocalSensorMask |= INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
2044 mLocalSensorMask &= ~INV_THREE_AXIS_COMPASS; in computeLocalSensorMask()
2109 (sensors & INV_THREE_AXIS_COMPASS? "enable": "disable")); in enableSensors()
2110 … res = enableCompass(!!(sensors & INV_THREE_AXIS_COMPASS), changed & (1 << RawMagneticField)); in enableSensors()
2184 | (INV_THREE_AXIS_COMPASS * mCompassSensor->isIntegrated()) in enableSensors()
2242 | (INV_THREE_AXIS_COMPASS * (!mCompassSensor->isIntegrated())))) in enableSensors()
2254 | (INV_THREE_AXIS_COMPASS * mCompassSensor->isIntegrated()))) { in enableSensors()
[all …]
/hardware/invensense/60xx/mlsdk/mllite/
Dmldmp.c140 requested_sensors |= INV_THREE_AXIS_COMPASS; in inv_dmp_open()
Dmldl_cfg.h71 #define INV_THREE_AXIS_COMPASS (0x0380) macro
Dml.c1709 if (((sensors & INV_THREE_AXIS_COMPASS) != INV_THREE_AXIS_COMPASS) && in inv_set_mpu_sensors()
1710 ((sensors & INV_THREE_AXIS_COMPASS) != 0)) { in inv_set_mpu_sensors()
1713 if (((sensors & INV_THREE_AXIS_COMPASS) != 0) && in inv_set_mpu_sensors()
Dcompass.c223 mldl_cfg->requested_sensors & INV_THREE_AXIS_COMPASS) in inv_compass_present()
/hardware/invensense/60xx/libsensors/
DMPLSensor.cpp66 #define ALL_MPL_SENSORS_NP (INV_THREE_AXIS_ACCEL | INV_THREE_AXIS_COMPASS | INV_THREE_AXIS_GYRO)
359 mLocalSensorMask |= INV_THREE_AXIS_COMPASS; in setPowerStates()
361 mLocalSensorMask &= ~(INV_THREE_AXIS_COMPASS); in setPowerStates()
393 if (((mUsetimerIrqCompass && (sen_mask == INV_THREE_AXIS_COMPASS)) in setPowerStates()
941 == INV_THREE_AXIS_COMPASS) { in update_delay()