Searched refs:pwr_mgmt2 (Results 1 – 1 of 1) sorted by relevance
323 u8 pwr_mgmt2, user_ctrl; in inv_mpu6050_switch_engine() local363 pwr_mgmt2 = 0; in inv_mpu6050_switch_engine()365 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_ACCL_STBY; in inv_mpu6050_switch_engine()367 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_GYRO_STBY; in inv_mpu6050_switch_engine()372 pwr_mgmt2 &= ~INV_MPU6050_BIT_PWR_ACCL_STBY; in inv_mpu6050_switch_engine()374 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_ACCL_STBY; in inv_mpu6050_switch_engine()378 pwr_mgmt2 &= ~INV_MPU6050_BIT_PWR_GYRO_STBY; in inv_mpu6050_switch_engine()380 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_GYRO_STBY; in inv_mpu6050_switch_engine()392 pwr_mgmt2); in inv_mpu6050_switch_engine()393 ret = regmap_write(st->map, st->reg->pwr_mgmt_2, pwr_mgmt2); in inv_mpu6050_switch_engine()