Lines Matching refs:changed
2049 int MPLSensor::enableSensors(unsigned long sensors, int en, uint32_t changed) in enableSensors() argument
2064 changed & ((1 << Gyro) | (1 << RawGyro) | (1 << Accelerometer) | in enableSensors()
2079 if (changed & ((1 << Gyro) | (1 << RawGyro))) { in enableSensors()
2087 if (!cal_stored && (!en && (changed & (1 << Gyro)))) { in enableSensors()
2093 if (changed & (1 << Accelerometer)) { in enableSensors()
2107 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) { in enableSensors()
2110 … res = enableCompass(!!(sensors & INV_THREE_AXIS_COMPASS), changed & (1 << RawMagneticField)); in enableSensors()
2115 if (!cal_stored && (!en && (changed & (1 << MagneticField)))) { in enableSensors()
2121 if (changed & (1 << Pressure)) { in enableSensors()
2135 if (!(changed & ((1 << Gyro) in enableSensors()
2175 if (changed & ((1 << Gyro) | (1 << RawGyro) | (1 << Accelerometer) | in enableSensors()
2237 } else if ((changed & in enableSensors()
2883 uint32_t lastEnabled = mEnabled, changed = 0; in enable() local
2904 changed |= (1 << what); in enable()
2907 changed |= (1 << what); in enable()
2914 changed |= (1 << what); in enable()
2919 changed |= (1 << what); in enable()
2934 changed |= (1 << i); in enable()
2951 changed |= (1 << i); in enable()
2968 changed |= (1 << i); in enable()
2974 LOGV_IF(ENG_VERBOSE, "HAL:changed = %d", changed); in enable()
2975 enableSensors(sen_mask, flags, changed); in enable()