Home
last modified time | relevance | path

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

/linux/drivers/iio/imu/inv_mpu6050/
A 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);
A Dinv_mpu_trigger.c11 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query_mpu6050()
56 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query_mpu9x50()
80 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query()
92 static unsigned int inv_compute_skip_samples(const struct inv_mpu6050_state *st) in inv_compute_skip_samples()
103 int inv_mpu6050_prepare_fifo(struct inv_mpu6050_state *st, bool enable) in inv_mpu6050_prepare_fifo()
158 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_set_enable()
206 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_data_rdy_trigger_set_state()
223 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_probe_trigger()
A Dinv_mpu_core.c505 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_init_config()
577 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_read_channel_data()
677 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_read_raw()
814 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_write_raw()
924 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_fifo_rate_store()
1033 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_validate_trigger()
1280 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_reg_access()
1417 struct inv_mpu6050_state *st = _data; in inv_mpu_core_disable_regulator_action()
1438 struct inv_mpu6050_state *st; in inv_mpu_core_probe()
1652 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_resume()
[all …]
A 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,
A 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()
A 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()
A 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()
A 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()
A Dinv_mpu_iio.h182 struct inv_mpu6050_state { struct
462 int inv_mpu6050_prepare_fifo(struct inv_mpu6050_state *st, bool enable);
463 int inv_mpu6050_switch_engine(struct inv_mpu6050_state *st, bool en,
465 int inv_mpu6050_write_reg(struct inv_mpu6050_state *st, int reg, u8 val);
A 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()
A Dinv_mpu_spi.c21 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_i2c_disable()

Completed in 14 milliseconds