Home
last modified time | relevance | path

Searched refs:pwr_mgmt2 (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c340 u8 pwr_mgmt2, user_ctrl; in inv_mpu6050_switch_engine() local
388 pwr_mgmt2 = 0; in inv_mpu6050_switch_engine()
390 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_ACCL_STBY; in inv_mpu6050_switch_engine()
392 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_GYRO_STBY; in inv_mpu6050_switch_engine()
397 pwr_mgmt2 &= ~INV_MPU6050_BIT_PWR_ACCL_STBY; in inv_mpu6050_switch_engine()
399 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_ACCL_STBY; in inv_mpu6050_switch_engine()
403 pwr_mgmt2 &= ~INV_MPU6050_BIT_PWR_GYRO_STBY; in inv_mpu6050_switch_engine()
405 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_GYRO_STBY; in inv_mpu6050_switch_engine()
417 pwr_mgmt2); in inv_mpu6050_switch_engine()
418 ret = regmap_write(st->map, st->reg->pwr_mgmt_2, pwr_mgmt2); in inv_mpu6050_switch_engine()