Home
last modified time | relevance | path

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

/linux/drivers/iio/imu/inv_mpu6050/
A 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()
A Dinv_mpu_trigger.c111 d = st->chip_config.user_ctrl | INV_MPU6050_BIT_FIFO_RST; in inv_mpu6050_prepare_fifo()
112 ret = regmap_write(st->map, st->reg->user_ctrl, d); in inv_mpu6050_prepare_fifo()
129 d = st->chip_config.user_ctrl | INV_MPU6050_BIT_FIFO_EN; in inv_mpu6050_prepare_fifo()
130 ret = regmap_write(st->map, st->reg->user_ctrl, d); in inv_mpu6050_prepare_fifo()
144 ret = regmap_write(st->map, st->reg->user_ctrl, in inv_mpu6050_prepare_fifo()
145 st->chip_config.user_ctrl); in inv_mpu6050_prepare_fifo()
A Dinv_mpu_spi.c28 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()
A Dinv_mpu_core.c40 .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,
314 u8 pwr_mgmt2, user_ctrl; in inv_mpu6050_switch_engine() local
339 user_ctrl = st->chip_config.user_ctrl; in inv_mpu6050_switch_engine()
341 user_ctrl |= INV_MPU6050_BIT_I2C_MST_EN; in inv_mpu6050_switch_engine()
343 user_ctrl &= ~INV_MPU6050_BIT_I2C_MST_EN; in inv_mpu6050_switch_engine()
344 ret = regmap_write(st->map, st->reg->user_ctrl, user_ctrl); in inv_mpu6050_switch_engine()
[all …]
A Dinv_mpu_iio.h49 u8 user_ctrl; member
123 u8 user_ctrl; member

Completed in 10 milliseconds