Lines Matching refs:changed
2045 int MPLSensor::enableSensors(unsigned long sensors, int en, uint32_t changed) in enableSensors() argument
2059 changed & ((1 << Gyro) | (1 << RawGyro) | (1 << Accelerometer) | in enableSensors()
2074 if (changed & ((1 << Gyro) | (1 << RawGyro))) { in enableSensors()
2082 if (!cal_stored && (!en && (changed & (1 << Gyro)))) { in enableSensors()
2088 if (changed & (1 << Accelerometer)) { in enableSensors()
2102 if (changed & ((1 << MagneticField) | (1 << RawMagneticField))) { in enableSensors()
2105 … res = enableCompass(!!(sensors & INV_THREE_AXIS_COMPASS), changed & (1 << RawMagneticField)); in enableSensors()
2110 if (!cal_stored && (!en && (changed & (1 << MagneticField)))) { in enableSensors()
2116 if (changed & (1 << Pressure)) { in enableSensors()
2130 if (!(changed & ((1 << Gyro) in enableSensors()
2170 if (changed & ((1 << Gyro) | (1 << RawGyro) | (1 << Accelerometer) | in enableSensors()
2232 } else if ((changed & in enableSensors()
2874 uint32_t lastEnabled = mEnabled, changed = 0; in enable() local
2895 changed |= (1 << what); in enable()
2898 changed |= (1 << what); in enable()
2905 changed |= (1 << what); in enable()
2910 changed |= (1 << what); in enable()
2925 changed |= (1 << i); in enable()
2942 changed |= (1 << i); in enable()
2959 changed |= (1 << i); in enable()
2965 LOGV_IF(ENG_VERBOSE, "HAL:changed = %d", changed); in enable()
2966 enableSensors(sen_mask, flags, changed); in enable()