Searched refs:pwr_mgmt2 (Results 1 – 1 of 1) sorted by relevance
340 u8 pwr_mgmt2, user_ctrl; in inv_mpu6050_switch_engine() local388 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()