Home
last modified time | relevance | path

Searched refs:mFeatureActiveMask (Results 1 – 6 of 6) sorted by relevance

/hardware/invensense/6515/libsensors_iio/
DMPLSensor.cpp121 mFeatureActiveMask(0), in MPLSensor()
1084 if ((mFeatureActiveMask & DMP_FEATURE_MASK) || en) { in setDmpFeature()
1085 if ((mFeatureActiveMask & INV_DMP_6AXIS_QUATERNION) || in setDmpFeature()
1086 (mFeatureActiveMask & INV_DMP_PED_QUATERNION) || in setDmpFeature()
1087 (mFeatureActiveMask & INV_DMP_QUATERNION)) { in setDmpFeature()
1125 uint32_t dataInterrupt = (mEnabled || (mFeatureActiveMask & INV_DMP_BATCH_MODE)); in setDmpFeature()
1140 if (mFeatureActiveMask) { in computeAndSetDmpState()
1183 if (!(mFeatureActiveMask & INV_DMP_PED_QUATERNION)) { in enablePedIndicator()
1208 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedIndicator()
1232 if ((mFeatureActiveMask & INV_DMP_PEDOMETER) && in checkPedStandaloneBatched()
[all …]
DMPLSensor.h507 uint64_t mFeatureActiveMask; variable
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.cpp246 mFeatureActiveMask(0), in MPLSensor()
1194 if (!(mFeatureActiveMask & INV_DMP_PED_QUATERNION)) { in enablePedIndicator()
1219 return ((mFeatureActiveMask & INV_DMP_PED_STANDALONE)? 1:0); in checkPedStandaloneEnabled()
1230 mFeatureActiveMask &= ~INV_DMP_PED_STANDALONE; in enablePedStandalone()
1231 if (mFeatureActiveMask == 0) { in enablePedStandalone()
1233 } else if(mFeatureActiveMask & INV_DMP_PEDOMETER) { in enablePedStandalone()
1256 mFeatureActiveMask |= INV_DMP_PED_STANDALONE; in enablePedStandalone()
1302 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedStandaloneData()
1309 if (!(mFeatureActiveMask & DMP_FEATURE_MASK) in enablePedStandaloneData()
1337 return ((mFeatureActiveMask & INV_DMP_PED_QUATERNION)? 1:0); in checkPedQuatEnabled()
[all …]
DMPLSensor.h526 uint64_t mFeatureActiveMask; variable
/hardware/invensense/60xx/libsensors_iio/
DMPLSensor.cpp176 mFeatureActiveMask(0) { in MPLSensor()
477 mFeatureActiveMask |= INV_COMPASS_CAL; in inv_constructor_default_enable()
508 mFeatureActiveMask |= INV_COMPASS_FIT; in inv_constructor_default_enable()
829 return ((mFeatureActiveMask & INV_DMP_QUATERNION)? 1:0); in checkLPQuaternion()
839 mFeatureActiveMask &= ~INV_DMP_QUATERNION; in enableLPQuaternion()
845 mFeatureActiveMask |= INV_DMP_QUATERNION; in enableLPQuaternion()
2078 if (mFeatureActiveMask & INV_COMPASS_CAL) { in resetCompass()
2084 if (mFeatureActiveMask & INV_COMPASS_FIT) { in resetCompass()
2178 mFeatureActiveMask |= INV_DMP_DISPL_ORIENTATION; in enableDmpOrientation()
2284 return ((mFeatureActiveMask & INV_DMP_DISPL_ORIENTATION) ? 1 : 0); in checkDMPOrientation()
DMPLSensor.h322 int mFeatureActiveMask; variable