Lines Matching refs:Gyro

525     mPendingEvents[Gyro].version = sizeof(sensors_event_t);  in MPLSensor()
526 mPendingEvents[Gyro].sensor = ID_GY; in MPLSensor()
527 mPendingEvents[Gyro].type = SENSOR_TYPE_GYROSCOPE; in MPLSensor()
528 mPendingEvents[Gyro].gyro.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
582 mHandlers[Gyro] = &MPLSensor::gyroHandler; in MPLSensor()
584 mHandlers[Gyro] = &MPLSensor::rawGyroHandler; in MPLSensor()
1443 } else if ((mEnabled & ( 1 << Gyro)) || in enablePedQuaternionData()
1471 !((mBatchEnabled & (1 << Gyro)) || (mBatchEnabled & (1 << RawGyro)))) { in enablePedQuaternionData()
1566 } else if ((mEnabled & ( 1 << Gyro)) || in enable6AxisQuaternionData()
1594 (!(mBatchEnabled & (1 << Gyro)) || in enable6AxisQuaternionData()
1595 (!(mEnabled & (1 << Gyro))))) { in enable6AxisQuaternionData()
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()
2130 if (!(changed & ((1 << Gyro) in enableSensors()
2170 if (changed & ((1 << Gyro) | (1 << RawGyro) | (1 << Accelerometer) | in enableSensors()
2819 what = Gyro; in enable()
2889 case Gyro: in enable()
2923 for (int i = Gyro; i <= RawMagneticField; i++) { in enable()
2940 for (int i = Gyro; i <= RawMagneticField; i++) { in enable()
3026 what = Gyro; in getHandle()
3116 case Gyro: in setDelay()
3128 for (int i = Gyro; in setDelay()
3149 (((mEnabled & (1 << Gyro)) && ns > mDelays[Gyro]) || in setDelay()
3223 gyroRate = mDelays[Gyro] < mDelays[RawGyro] ? mDelays[Gyro] : mDelays[RawGyro]; in update_delay()
3398 wanted = (mDelays[Gyro] <= mDelays[RawGyro]? in update_delay()
3399 (mEnabled & (1 << Gyro)? mDelays[Gyro]: mDelays[RawGyro]): in update_delay()
3400 (mEnabled & (1 << RawGyro)? mDelays[RawGyro]: mDelays[Gyro])); in update_delay()
3421 if (GY_ENABLED && mDelays[Gyro] < mDelays[Accelerometer]) { in update_delay()
3422 wanted = mDelays[Gyro]; in update_delay()
3468 && (mDelays[Gyro] < compassWanted)) { in update_delay()
3469 wanted = mDelays[Gyro]; in update_delay()
3992 mPendingMask |= 1 << Gyro; in buildMpuEvent()
4838 list[Gyro].maxRange = GYRO_MPU3050_RANGE; in fillGyro()
4839 list[Gyro].resolution = GYRO_MPU3050_RESOLUTION; in fillGyro()
4840 list[Gyro].power = GYRO_MPU3050_POWER; in fillGyro()
4841 list[Gyro].minDelay = GYRO_MPU3050_MINDELAY; in fillGyro()
4843 list[Gyro].maxRange = GYRO_MPU6050_RANGE; in fillGyro()
4844 list[Gyro].resolution = GYRO_MPU6050_RESOLUTION; in fillGyro()
4845 list[Gyro].power = GYRO_MPU6050_POWER; in fillGyro()
4846 list[Gyro].minDelay = GYRO_MPU6050_MINDELAY; in fillGyro()
4848 list[Gyro].maxRange = GYRO_MPU6500_RANGE; in fillGyro()
4849 list[Gyro].resolution = GYRO_MPU6500_RESOLUTION; in fillGyro()
4850 list[Gyro].power = GYRO_MPU6500_POWER; in fillGyro()
4851 list[Gyro].minDelay = GYRO_MPU6500_MINDELAY; in fillGyro()
4853 list[Gyro].maxRange = GYRO_MPU6500_RANGE; in fillGyro()
4854 list[Gyro].resolution = GYRO_MPU6500_RESOLUTION; in fillGyro()
4855 list[Gyro].power = GYRO_MPU6500_POWER; in fillGyro()
4856 list[Gyro].minDelay = GYRO_MPU6500_MINDELAY; in fillGyro()
4858 list[Gyro].maxRange = GYRO_MPU9150_RANGE; in fillGyro()
4859 list[Gyro].resolution = GYRO_MPU9150_RESOLUTION; in fillGyro()
4860 list[Gyro].power = GYRO_MPU9150_POWER; in fillGyro()
4861 list[Gyro].minDelay = GYRO_MPU9150_MINDELAY; in fillGyro()
4863 list[Gyro].maxRange = GYRO_MPU9250_RANGE; in fillGyro()
4864 list[Gyro].resolution = GYRO_MPU9250_RESOLUTION; in fillGyro()
4865 list[Gyro].power = GYRO_MPU9250_POWER; in fillGyro()
4866 list[Gyro].minDelay = GYRO_MPU9250_MINDELAY; in fillGyro()
4868 list[Gyro].maxRange = GYRO_MPU9350_RANGE; in fillGyro()
4869 list[Gyro].resolution = GYRO_MPU9350_RESOLUTION; in fillGyro()
4870 list[Gyro].power = GYRO_MPU9350_POWER; in fillGyro()
4871 list[Gyro].minDelay = GYRO_MPU9350_MINDELAY; in fillGyro()
4875 list[Gyro].maxRange = GYRO_MPU3050_RANGE; in fillGyro()
4876 list[Gyro].resolution = GYRO_MPU3050_RESOLUTION; in fillGyro()
4877 list[Gyro].power = GYRO_MPU3050_POWER; in fillGyro()
4878 list[Gyro].minDelay = GYRO_MPU3050_MINDELAY; in fillGyro()
4881 list[RawGyro].maxRange = list[Gyro].maxRange; in fillGyro()
4882 list[RawGyro].resolution = list[Gyro].resolution; in fillGyro()
4883 list[RawGyro].power = list[Gyro].power; in fillGyro()
4884 list[RawGyro].minDelay = list[Gyro].minDelay; in fillGyro()
4895 list[RotationVector].power = list[Gyro].power + in fillRV()
4926 list[GameRotationVector].power = list[Gyro].power + in fillGRV()
4939 list[Orientation].power = list[Gyro].power + in fillOrientation()
4953 list[Gravity].power = list[Gyro].power + in fillGravity()
4967 list[LinearAccel].power = list[Gyro].power + in fillLinearAccel()
5519 case Gyro: in batch()
5842 uint32_t hardwareSensorMask = (1 << Gyro) in computeBatchDataOutput()
6210 …gyroRate = mBatchDelays[Gyro] < mBatchDelays[RawGyro] ? mBatchDelays[Gyro] : mBatchDelays[RawGyro]; in setBatchDataRates()