Searched refs:pwr_mgmt2 (Results 1 – 1 of 1) sorted by relevance
314 u8 pwr_mgmt2, user_ctrl; in inv_mpu6050_switch_engine() local354 pwr_mgmt2 = 0; in inv_mpu6050_switch_engine()356 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_ACCL_STBY; in inv_mpu6050_switch_engine()358 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_GYRO_STBY; in inv_mpu6050_switch_engine()363 pwr_mgmt2 &= ~INV_MPU6050_BIT_PWR_ACCL_STBY; in inv_mpu6050_switch_engine()365 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_ACCL_STBY; in inv_mpu6050_switch_engine()369 pwr_mgmt2 &= ~INV_MPU6050_BIT_PWR_GYRO_STBY; in inv_mpu6050_switch_engine()371 pwr_mgmt2 |= INV_MPU6050_BIT_PWR_GYRO_STBY; in inv_mpu6050_switch_engine()383 pwr_mgmt2); in inv_mpu6050_switch_engine()384 ret = regmap_write(st->map, st->reg->pwr_mgmt_2, pwr_mgmt2); in inv_mpu6050_switch_engine()