Home
last modified time | relevance | path

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

/linux-6.12.1/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.c117 d = st->chip_config.user_ctrl | INV_MPU6050_BIT_FIFO_RST; in inv_mpu6050_prepare_fifo()
118 ret = regmap_write(st->map, st->reg->user_ctrl, d); in inv_mpu6050_prepare_fifo()
135 d = st->chip_config.user_ctrl | INV_MPU6050_BIT_FIFO_EN; in inv_mpu6050_prepare_fifo()
136 ret = regmap_write(st->map, st->reg->user_ctrl, d); in inv_mpu6050_prepare_fifo()
152 ret = regmap_write(st->map, st->reg->user_ctrl, in inv_mpu6050_prepare_fifo()
153 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.c46 .user_ctrl = INV_MPU6050_REG_USER_CTRL,
69 .user_ctrl = INV_MPU6050_REG_USER_CTRL,
91 .user_ctrl = INV_MPU6050_REG_USER_CTRL,
123 .user_ctrl = 0,
140 .user_ctrl = 0,
340 u8 pwr_mgmt2, user_ctrl; in inv_mpu6050_switch_engine() local
373 user_ctrl = st->chip_config.user_ctrl; in inv_mpu6050_switch_engine()
375 user_ctrl |= INV_MPU6050_BIT_I2C_MST_EN; in inv_mpu6050_switch_engine()
377 user_ctrl &= ~INV_MPU6050_BIT_I2C_MST_EN; in inv_mpu6050_switch_engine()
378 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
131 u8 user_ctrl; member