Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_aux.c24 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()
Dinv_mpu_trigger.c115 d = st->chip_config.user_ctrl | INV_MPU6050_BIT_FIFO_RST; in inv_mpu6050_prepare_fifo()
116 ret = regmap_write(st->map, st->reg->user_ctrl, d); in inv_mpu6050_prepare_fifo()
133 d = st->chip_config.user_ctrl | INV_MPU6050_BIT_FIFO_EN; in inv_mpu6050_prepare_fifo()
134 ret = regmap_write(st->map, st->reg->user_ctrl, d); in inv_mpu6050_prepare_fifo()
148 ret = regmap_write(st->map, st->reg->user_ctrl, in inv_mpu6050_prepare_fifo()
149 st->chip_config.user_ctrl); in inv_mpu6050_prepare_fifo()
Dinv_mpu_spi.c27 st->chip_config.user_ctrl |= INV_MPU6050_BIT_I2C_IF_DIS; in inv_mpu_i2c_disable()
28 ret = regmap_write(st->map, st->reg->user_ctrl, in inv_mpu_i2c_disable()
29 st->chip_config.user_ctrl); in inv_mpu_i2c_disable()
Dinv_mpu_core.c43 .user_ctrl = INV_MPU6050_REG_USER_CTRL,
66 .user_ctrl = INV_MPU6050_REG_USER_CTRL,
88 .user_ctrl = INV_MPU6050_REG_USER_CTRL,
120 .user_ctrl = 0,
137 .user_ctrl = 0,
335 u8 pwr_mgmt2, user_ctrl; in inv_mpu6050_switch_engine() local
360 user_ctrl = st->chip_config.user_ctrl; in inv_mpu6050_switch_engine()
362 user_ctrl |= INV_MPU6050_BIT_I2C_MST_EN; in inv_mpu6050_switch_engine()
364 user_ctrl &= ~INV_MPU6050_BIT_I2C_MST_EN; in inv_mpu6050_switch_engine()
365 ret = regmap_write(st->map, st->reg->user_ctrl, user_ctrl); in inv_mpu6050_switch_engine()
[all …]
Dinv_mpu_iio.h51 u8 user_ctrl; member
127 u8 user_ctrl; member