Searched refs:user_ctrl (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_aux.c | 24 unsigned int user_ctrl; in inv_mpu_i2c_master_xfer() local 34 user_ctrl = st->chip_config.user_ctrl | INV_MPU6050_BIT_I2C_MST_EN; in inv_mpu_i2c_master_xfer() 35 ret = regmap_write(st->map, st->reg->user_ctrl, user_ctrl); in inv_mpu_i2c_master_xfer() 43 user_ctrl = st->chip_config.user_ctrl; in inv_mpu_i2c_master_xfer() 44 ret = regmap_write(st->map, st->reg->user_ctrl, user_ctrl); in inv_mpu_i2c_master_xfer() 57 regmap_write(st->map, st->reg->user_ctrl, st->chip_config.user_ctrl); in inv_mpu_i2c_master_xfer()
|
D | inv_mpu_trigger.c | 112 d = st->chip_config.user_ctrl | INV_MPU6050_BIT_FIFO_RST; in inv_mpu6050_prepare_fifo() 113 ret = regmap_write(st->map, st->reg->user_ctrl, d); in inv_mpu6050_prepare_fifo() 130 d = st->chip_config.user_ctrl | INV_MPU6050_BIT_FIFO_EN; in inv_mpu6050_prepare_fifo() 131 ret = regmap_write(st->map, st->reg->user_ctrl, d); in inv_mpu6050_prepare_fifo() 145 ret = regmap_write(st->map, st->reg->user_ctrl, in inv_mpu6050_prepare_fifo() 146 st->chip_config.user_ctrl); in inv_mpu6050_prepare_fifo()
|
D | inv_mpu_spi.c | 28 st->chip_config.user_ctrl |= INV_MPU6050_BIT_I2C_IF_DIS; in inv_mpu_i2c_disable() 29 ret = regmap_write(st->map, st->reg->user_ctrl, in inv_mpu_i2c_disable() 30 st->chip_config.user_ctrl); in inv_mpu_i2c_disable()
|
D | inv_mpu_core.c | 40 .user_ctrl = INV_MPU6050_REG_USER_CTRL, 63 .user_ctrl = INV_MPU6050_REG_USER_CTRL, 85 .user_ctrl = INV_MPU6050_REG_USER_CTRL, 117 .user_ctrl = 0, 134 .user_ctrl = 0, 292 u8 pwr_mgmt2, user_ctrl; in inv_mpu6050_switch_engine() local 317 user_ctrl = st->chip_config.user_ctrl; in inv_mpu6050_switch_engine() 319 user_ctrl |= INV_MPU6050_BIT_I2C_MST_EN; in inv_mpu6050_switch_engine() 321 user_ctrl &= ~INV_MPU6050_BIT_I2C_MST_EN; in inv_mpu6050_switch_engine() 322 ret = regmap_write(st->map, st->reg->user_ctrl, user_ctrl); in inv_mpu6050_switch_engine() [all …]
|
D | inv_mpu_iio.h | 49 u8 user_ctrl; member 122 u8 user_ctrl; member
|