Searched refs:INV_THREE_AXIS_COMPASS (Results 1 – 11 of 11) sorted by relevance
55 #define INV_THREE_AXIS_COMPASS (0x0380) macro60 | INV_THREE_AXIS_COMPASS \64 | INV_THREE_AXIS_COMPASS \
1000 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 …]
55 #define INV_THREE_AXIS_COMPASS (0x0380) macro61 | INV_THREE_AXIS_COMPASS \65 | INV_THREE_AXIS_COMPASS \
2009 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 …]
1989 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 …]
140 requested_sensors |= INV_THREE_AXIS_COMPASS; in inv_dmp_open()
71 #define INV_THREE_AXIS_COMPASS (0x0380) macro
1709 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()
223 mldl_cfg->requested_sensors & INV_THREE_AXIS_COMPASS) in inv_compass_present()
66 #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()