Home
last modified time | relevance | path

Searched refs:inv_mpu6050_state (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_magn.h16 int inv_mpu_magn_probe(struct inv_mpu6050_state *st);
24 static inline int inv_mpu_magn_get_scale(const struct inv_mpu6050_state *st, in inv_mpu_magn_get_scale()
33 int inv_mpu_magn_set_rate(const struct inv_mpu6050_state *st, int fifo_rate);
35 int inv_mpu_magn_set_orient(struct inv_mpu6050_state *st);
37 int inv_mpu_magn_read(struct inv_mpu6050_state *st, int axis, int *val);
Dinv_mpu_trigger.c11 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query_mpu6050()
46 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query_mpu9x50()
70 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query()
82 static unsigned int inv_compute_skip_samples(const struct inv_mpu6050_state *st) in inv_compute_skip_samples()
104 int inv_mpu6050_prepare_fifo(struct inv_mpu6050_state *st, bool enable) in inv_mpu6050_prepare_fifo()
159 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_set_enable()
209 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_data_rdy_trigger_set_state()
226 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_probe_trigger()
Dinv_mpu_aux.h11 int inv_mpu_aux_init(const struct inv_mpu6050_state *st);
13 int inv_mpu_aux_read(const struct inv_mpu6050_state *st, uint8_t addr,
16 int inv_mpu_aux_write(const struct inv_mpu6050_state *st, uint8_t addr,
Dinv_mpu_core.c245 static int inv_mpu6050_pwr_mgmt_1_write(struct inv_mpu6050_state *st, bool sleep, in inv_mpu6050_pwr_mgmt_1_write()
265 static int inv_mpu6050_clock_switch(struct inv_mpu6050_state *st, in inv_mpu6050_clock_switch()
288 int inv_mpu6050_switch_engine(struct inv_mpu6050_state *st, bool en, in inv_mpu6050_switch_engine()
401 static int inv_mpu6050_set_power_itg(struct inv_mpu6050_state *st, in inv_mpu6050_set_power_itg()
417 static int inv_mpu6050_set_gyro_fsr(struct inv_mpu6050_state *st, in inv_mpu6050_set_gyro_fsr()
442 static int inv_mpu6050_set_lpf_regs(struct inv_mpu6050_state *st, in inv_mpu6050_set_lpf_regs()
483 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_init_config()
522 static int inv_mpu6050_sensor_set(struct inv_mpu6050_state *st, int reg, in inv_mpu6050_sensor_set()
536 static int inv_mpu6050_sensor_show(struct inv_mpu6050_state *st, int reg, in inv_mpu6050_sensor_show()
555 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_read_channel_data()
[all …]
Dinv_mpu_magn.c47 static bool inv_magn_supported(const struct inv_mpu6050_state *st) in inv_magn_supported()
60 static int inv_magn_init(struct inv_mpu6050_state *st) in inv_magn_init()
152 int inv_mpu_magn_probe(struct inv_mpu6050_state *st) in inv_mpu_magn_probe()
234 int inv_mpu_magn_set_rate(const struct inv_mpu6050_state *st, int fifo_rate) in inv_mpu_magn_set_rate()
262 int inv_mpu_magn_set_orient(struct inv_mpu6050_state *st) in inv_mpu_magn_set_orient()
316 int inv_mpu_magn_read(struct inv_mpu6050_state *st, int axis, int *val) in inv_mpu_magn_read()
Dinv_mpu_ring.c28 static void inv_mpu6050_update_period(struct inv_mpu6050_state *st, in inv_mpu6050_update_period()
81 static s64 inv_mpu6050_get_timestamp(struct inv_mpu6050_state *st) in inv_mpu6050_get_timestamp()
95 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_reset_fifo()
120 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_read_fifo()
Dinv_mpu_aux.c18 static int inv_mpu_i2c_master_xfer(const struct inv_mpu6050_state *st) in inv_mpu_i2c_master_xfer()
69 int inv_mpu_aux_init(const struct inv_mpu6050_state *st) in inv_mpu_aux_init()
104 int inv_mpu_aux_read(const struct inv_mpu6050_state *st, uint8_t addr, in inv_mpu_aux_read()
161 int inv_mpu_aux_write(const struct inv_mpu6050_state *st, uint8_t addr, in inv_mpu_aux_write()
Dinv_mpu_i2c.c28 struct inv_mpu6050_state *st = iio_priv(dev_get_drvdata(dev)); in inv_mpu_i2c_aux_bus()
52 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_i2c_aux_setup()
101 struct inv_mpu6050_state *st; in inv_mpu_probe()
162 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_remove()
Dinv_mpu_iio.h177 struct inv_mpu6050_state { struct
446 int inv_mpu6050_prepare_fifo(struct inv_mpu6050_state *st, bool enable);
447 int inv_mpu6050_switch_engine(struct inv_mpu6050_state *st, bool en,
449 int inv_mpu6050_write_reg(struct inv_mpu6050_state *st, int reg, u8 val);
Dinv_mpu_acpi.c129 struct inv_mpu6050_state *st = iio_priv(dev_get_drvdata(&client->dev)); in inv_mpu_acpi_create_mux_client()
183 struct inv_mpu6050_state *st = iio_priv(dev_get_drvdata(&client->dev)); in inv_mpu_acpi_delete_mux_client()
Dinv_mpu_spi.c21 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_i2c_disable()