Lines Matching refs:Gyro

529     mPendingEvents[Gyro].version = sizeof(sensors_event_t);  in MPLSensor()
530 mPendingEvents[Gyro].sensor = ID_GY; in MPLSensor()
531 mPendingEvents[Gyro].type = SENSOR_TYPE_GYROSCOPE; in MPLSensor()
532 mPendingEvents[Gyro].gyro.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
586 mHandlers[Gyro] = &MPLSensor::gyroHandler; in MPLSensor()
588 mHandlers[Gyro] = &MPLSensor::rawGyroHandler; in MPLSensor()
1447 } else if ((mEnabled & ( 1 << Gyro)) || in enablePedQuaternionData()
1475 !((mBatchEnabled & (1 << Gyro)) || (mBatchEnabled & (1 << RawGyro)))) { in enablePedQuaternionData()
1570 } else if ((mEnabled & ( 1 << Gyro)) || in enable6AxisQuaternionData()
1598 (!(mBatchEnabled & (1 << Gyro)) || in enable6AxisQuaternionData()
1599 (!(mEnabled & (1 << Gyro))))) { in enable6AxisQuaternionData()
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()
2135 if (!(changed & ((1 << Gyro) in enableSensors()
2175 if (changed & ((1 << Gyro) | (1 << RawGyro) | (1 << Accelerometer) | in enableSensors()
2827 what = Gyro; in enable()
2898 case Gyro: in enable()
2932 for (int i = Gyro; i <= RawMagneticField; i++) { in enable()
2949 for (int i = Gyro; i <= RawMagneticField; i++) { in enable()
3035 what = Gyro; in getHandle()
3125 case Gyro: in setDelay()
3137 for (int i = Gyro; in setDelay()
3158 (((mEnabled & (1 << Gyro)) && ns > mDelays[Gyro]) || in setDelay()
3237 gyroRate = mDelays[Gyro] < mDelays[RawGyro] ? mDelays[Gyro] : mDelays[RawGyro]; in update_delay()
3417 wanted = (mDelays[Gyro] <= mDelays[RawGyro]? in update_delay()
3418 (mEnabled & (1 << Gyro)? mDelays[Gyro]: mDelays[RawGyro]): in update_delay()
3419 (mEnabled & (1 << RawGyro)? mDelays[RawGyro]: mDelays[Gyro])); in update_delay()
3440 if (GY_ENABLED && mDelays[Gyro] < mDelays[Accelerometer]) { in update_delay()
3441 wanted = mDelays[Gyro]; in update_delay()
3487 && (mDelays[Gyro] < compassWanted)) { in update_delay()
3488 wanted = mDelays[Gyro]; in update_delay()
4012 mPendingMask |= 1 << Gyro; in buildMpuEvent()
4858 list[Gyro].maxRange = GYRO_MPU3050_RANGE; in fillGyro()
4859 list[Gyro].resolution = GYRO_MPU3050_RESOLUTION; in fillGyro()
4860 list[Gyro].power = GYRO_MPU3050_POWER; in fillGyro()
4861 list[Gyro].minDelay = GYRO_MPU3050_MINDELAY; in fillGyro()
4863 list[Gyro].maxRange = GYRO_MPU6050_RANGE; in fillGyro()
4864 list[Gyro].resolution = GYRO_MPU6050_RESOLUTION; in fillGyro()
4865 list[Gyro].power = GYRO_MPU6050_POWER; in fillGyro()
4866 list[Gyro].minDelay = GYRO_MPU6050_MINDELAY; in fillGyro()
4868 list[Gyro].maxRange = GYRO_MPU6500_RANGE; in fillGyro()
4869 list[Gyro].resolution = GYRO_MPU6500_RESOLUTION; in fillGyro()
4870 list[Gyro].power = GYRO_MPU6500_POWER; in fillGyro()
4871 list[Gyro].minDelay = GYRO_MPU6500_MINDELAY; in fillGyro()
4873 list[Gyro].maxRange = GYRO_MPU6500_RANGE; in fillGyro()
4874 list[Gyro].resolution = GYRO_MPU6500_RESOLUTION; in fillGyro()
4875 list[Gyro].power = GYRO_MPU6500_POWER; in fillGyro()
4876 list[Gyro].minDelay = GYRO_MPU6500_MINDELAY; in fillGyro()
4878 list[Gyro].maxRange = GYRO_MPU9150_RANGE; in fillGyro()
4879 list[Gyro].resolution = GYRO_MPU9150_RESOLUTION; in fillGyro()
4880 list[Gyro].power = GYRO_MPU9150_POWER; in fillGyro()
4881 list[Gyro].minDelay = GYRO_MPU9150_MINDELAY; in fillGyro()
4883 list[Gyro].maxRange = GYRO_MPU9250_RANGE; in fillGyro()
4884 list[Gyro].resolution = GYRO_MPU9250_RESOLUTION; in fillGyro()
4885 list[Gyro].power = GYRO_MPU9250_POWER; in fillGyro()
4886 list[Gyro].minDelay = GYRO_MPU9250_MINDELAY; in fillGyro()
4888 list[Gyro].maxRange = GYRO_MPU9350_RANGE; in fillGyro()
4889 list[Gyro].resolution = GYRO_MPU9350_RESOLUTION; in fillGyro()
4890 list[Gyro].power = GYRO_MPU9350_POWER; in fillGyro()
4891 list[Gyro].minDelay = GYRO_MPU9350_MINDELAY; in fillGyro()
4895 list[Gyro].maxRange = GYRO_MPU3050_RANGE; in fillGyro()
4896 list[Gyro].resolution = GYRO_MPU3050_RESOLUTION; in fillGyro()
4897 list[Gyro].power = GYRO_MPU3050_POWER; in fillGyro()
4898 list[Gyro].minDelay = GYRO_MPU3050_MINDELAY; in fillGyro()
4901 list[RawGyro].maxRange = list[Gyro].maxRange; in fillGyro()
4902 list[RawGyro].resolution = list[Gyro].resolution; in fillGyro()
4903 list[RawGyro].power = list[Gyro].power; in fillGyro()
4904 list[RawGyro].minDelay = list[Gyro].minDelay; in fillGyro()
4915 list[RotationVector].power = list[Gyro].power + in fillRV()
4946 list[GameRotationVector].power = list[Gyro].power + in fillGRV()
4959 list[Orientation].power = list[Gyro].power + in fillOrientation()
4973 list[Gravity].power = list[Gyro].power + in fillGravity()
4987 list[LinearAccel].power = list[Gyro].power + in fillLinearAccel()
5548 case Gyro: in batch()
5871 uint32_t hardwareSensorMask = (1 << Gyro) in computeBatchDataOutput()
6240 …gyroRate = mBatchDelays[Gyro] < mBatchDelays[RawGyro] ? mBatchDelays[Gyro] : mBatchDelays[RawGyro]; in setBatchDataRates()