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

/linux-master/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_aux.c24 unsigned int user_ctrl; local
34 user_ctrl = st->chip_config.user_ctrl | INV_MPU6050_BIT_I2C_MST_EN;
35 ret = regmap_write(st->map, st->reg->user_ctrl, user_ctrl);
43 user_ctrl = st->chip_config.user_ctrl;
44 ret = regmap_write(st->map, st->reg->user_ctrl, user_ctrl);
57 regmap_write(st->map, st->reg->user_ctrl, s
[all...]
H A Dinv_mpu_spi.c27 st->chip_config.user_ctrl |= INV_MPU6050_BIT_I2C_IF_DIS;
28 ret = regmap_write(st->map, st->reg->user_ctrl,
29 st->chip_config.user_ctrl);
H A Dinv_mpu_trigger.c116 d = st->chip_config.user_ctrl | INV_MPU6050_BIT_FIFO_RST;
117 ret = regmap_write(st->map, st->reg->user_ctrl, d);
134 d = st->chip_config.user_ctrl | INV_MPU6050_BIT_FIFO_EN;
135 ret = regmap_write(st->map, st->reg->user_ctrl, d);
148 /* restore user_ctrl for disabling FIFO reading */
149 ret = regmap_write(st->map, st->reg->user_ctrl,
150 st->chip_config.user_ctrl);
H A Dinv_mpu_core.c44 .user_ctrl = INV_MPU6050_REG_USER_CTRL,
67 .user_ctrl = INV_MPU6050_REG_USER_CTRL,
89 .user_ctrl = INV_MPU6050_REG_USER_CTRL,
121 .user_ctrl = 0,
138 .user_ctrl = 0,
336 u8 pwr_mgmt2, user_ctrl; local
361 user_ctrl = st->chip_config.user_ctrl;
363 user_ctrl |= INV_MPU6050_BIT_I2C_MST_EN;
365 user_ctrl
[all...]
H A Dinv_mpu_iio.h29 * @user_ctrl: Enables/resets the FIFO.
51 u8 user_ctrl; member in struct:inv_mpu6050_reg_map
127 u8 user_ctrl; member in struct:inv_mpu6050_chip_config

Completed in 155 milliseconds