Home
last modified time | relevance | path

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

/linux-6.12.1/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.c15 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query_mpu6050()
60 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query_mpu9x50()
84 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query()
96 static unsigned int inv_compute_skip_samples(const struct inv_mpu6050_state *st) in inv_compute_skip_samples()
107 int inv_mpu6050_prepare_fifo(struct inv_mpu6050_state *st, bool enable) in inv_mpu6050_prepare_fifo()
166 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_set_enable()
218 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_data_rdy_trigger_set_state()
235 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_interrupt_timestamp()
245 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_interrupt_handle()
303 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_probe_trigger()
Dinv_mpu_core.c291 static int inv_mpu6050_pwr_mgmt_1_write(struct inv_mpu6050_state *st, bool sleep, in inv_mpu6050_pwr_mgmt_1_write()
313 static int inv_mpu6050_clock_switch(struct inv_mpu6050_state *st, in inv_mpu6050_clock_switch()
336 int inv_mpu6050_switch_engine(struct inv_mpu6050_state *st, bool en, in inv_mpu6050_switch_engine()
467 static int inv_mpu6050_set_power_itg(struct inv_mpu6050_state *st, in inv_mpu6050_set_power_itg()
483 static int inv_mpu6050_set_gyro_fsr(struct inv_mpu6050_state *st, in inv_mpu6050_set_gyro_fsr()
502 static int inv_mpu6050_set_accel_lpf_regs(struct inv_mpu6050_state *st, in inv_mpu6050_set_accel_lpf_regs()
529 static int inv_mpu6050_set_lpf_regs(struct inv_mpu6050_state *st, in inv_mpu6050_set_lpf_regs()
555 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_init_config()
595 static int inv_mpu6050_sensor_set(struct inv_mpu6050_state *st, int reg, in inv_mpu6050_sensor_set()
606 static int inv_mpu6050_sensor_show(struct inv_mpu6050_state *st, int reg, in inv_mpu6050_sensor_show()
[all …]
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_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()
322 int inv_mpu_magn_read(struct inv_mpu6050_state *st, int axis, int *val) in inv_mpu_magn_read()
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()
117 int inv_mpu_aux_read(const struct inv_mpu6050_state *st, uint8_t addr, in inv_mpu_aux_read()
174 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()
54 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_i2c_aux_setup()
102 struct inv_mpu6050_state *st; in inv_mpu_probe()
163 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_remove()
Dinv_mpu_iio.h190 struct inv_mpu6050_state { struct
499 int inv_mpu6050_prepare_fifo(struct inv_mpu6050_state *st, bool enable);
500 int inv_mpu6050_switch_engine(struct inv_mpu6050_state *st, bool en,
Dinv_mpu_ring.c24 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_reset_fifo()
47 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_read_fifo()
Dinv_mpu_acpi.c129 struct inv_mpu6050_state *st = iio_priv(dev_get_drvdata(&client->dev)); in inv_mpu_acpi_create_mux_client()
182 struct inv_mpu6050_state *st = iio_priv(dev_get_drvdata(&client->dev)); in inv_mpu_acpi_delete_mux_client()
Dinv_mpu_spi.c20 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_i2c_disable()