Searched refs:inv_icm42600_state (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/drivers/iio/imu/inv_icm42600/ |
D | inv_icm42600_buffer.h | 12 struct inv_icm42600_state; 81 int inv_icm42600_buffer_init(struct inv_icm42600_state *st); 83 void inv_icm42600_buffer_update_fifo_period(struct inv_icm42600_state *st); 85 int inv_icm42600_buffer_set_fifo_en(struct inv_icm42600_state *st, 88 int inv_icm42600_buffer_update_watermark(struct inv_icm42600_state *st); 90 int inv_icm42600_buffer_fifo_read(struct inv_icm42600_state *st, 93 int inv_icm42600_buffer_fifo_parse(struct inv_icm42600_state *st); 95 int inv_icm42600_buffer_hwfifo_flush(struct inv_icm42600_state *st,
|
D | inv_icm42600_core.c | 96 const struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_get_mount_matrix() 137 static int inv_icm42600_set_pwr_mgmt0(struct inv_icm42600_state *st, in inv_icm42600_set_pwr_mgmt0() 202 int inv_icm42600_set_accel_conf(struct inv_icm42600_state *st, in inv_icm42600_set_accel_conf() 246 int inv_icm42600_set_gyro_conf(struct inv_icm42600_state *st, in inv_icm42600_set_gyro_conf() 292 int inv_icm42600_set_temp_conf(struct inv_icm42600_state *st, bool enable, in inv_icm42600_set_temp_conf() 303 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_debugfs_reg() 318 static int inv_icm42600_set_conf(struct inv_icm42600_state *st, in inv_icm42600_set_conf() 367 static int inv_icm42600_setup(struct inv_icm42600_state *st, in inv_icm42600_setup() 418 struct inv_icm42600_state *st = _data; in inv_icm42600_irq_timestamp() 428 struct inv_icm42600_state *st = _data; in inv_icm42600_irq_handler() [all …]
|
D | inv_icm42600_gyro.c | 100 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_update_scan_mode() 148 static int inv_icm42600_gyro_read_sensor(struct inv_icm42600_state *st, in inv_icm42600_gyro_read_sensor() 228 static int inv_icm42600_gyro_read_scale(struct inv_icm42600_state *st, in inv_icm42600_gyro_read_scale() 240 static int inv_icm42600_gyro_write_scale(struct inv_icm42600_state *st, in inv_icm42600_gyro_write_scale() 301 static int inv_icm42600_gyro_read_odr(struct inv_icm42600_state *st, in inv_icm42600_gyro_read_odr() 325 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_write_odr() 374 static int inv_icm42600_gyro_read_offset(struct inv_icm42600_state *st, in inv_icm42600_gyro_read_offset() 450 static int inv_icm42600_gyro_write_offset(struct inv_icm42600_state *st, in inv_icm42600_gyro_write_offset() 556 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_read_raw() 623 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_write_raw() [all …]
|
D | inv_icm42600_accel.c | 100 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_update_scan_mode() 148 static int inv_icm42600_accel_read_sensor(struct inv_icm42600_state *st, in inv_icm42600_accel_read_sensor() 216 static int inv_icm42600_accel_read_scale(struct inv_icm42600_state *st, in inv_icm42600_accel_read_scale() 228 static int inv_icm42600_accel_write_scale(struct inv_icm42600_state *st, in inv_icm42600_accel_write_scale() 289 static int inv_icm42600_accel_read_odr(struct inv_icm42600_state *st, in inv_icm42600_accel_read_odr() 313 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_write_odr() 362 static int inv_icm42600_accel_read_offset(struct inv_icm42600_state *st, in inv_icm42600_accel_read_offset() 438 static int inv_icm42600_accel_write_offset(struct inv_icm42600_state *st, in inv_icm42600_accel_write_offset() 545 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_read_raw() 612 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_write_raw() [all …]
|
D | inv_icm42600.h | 132 struct inv_icm42600_state { struct 360 typedef int (*inv_icm42600_bus_setup)(struct inv_icm42600_state *); 371 int inv_icm42600_set_accel_conf(struct inv_icm42600_state *st, 375 int inv_icm42600_set_gyro_conf(struct inv_icm42600_state *st, 379 int inv_icm42600_set_temp_conf(struct inv_icm42600_state *st, bool enable, 388 struct iio_dev *inv_icm42600_gyro_init(struct inv_icm42600_state *st); 392 struct iio_dev *inv_icm42600_accel_init(struct inv_icm42600_state *st);
|
D | inv_icm42600_buffer.c | 100 void inv_icm42600_buffer_update_fifo_period(struct inv_icm42600_state *st) in inv_icm42600_buffer_update_fifo_period() 122 int inv_icm42600_buffer_set_fifo_en(struct inv_icm42600_state *st, in inv_icm42600_buffer_set_fifo_en() 202 int inv_icm42600_buffer_update_watermark(struct inv_icm42600_state *st) in inv_icm42600_buffer_update_watermark() 276 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_preenable() 290 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_postenable() 335 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_predisable() 374 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_postdisable() 446 int inv_icm42600_buffer_fifo_read(struct inv_icm42600_state *st, in inv_icm42600_buffer_fifo_read() 505 int inv_icm42600_buffer_fifo_parse(struct inv_icm42600_state *st) in inv_icm42600_buffer_fifo_parse() 536 int inv_icm42600_buffer_hwfifo_flush(struct inv_icm42600_state *st, in inv_icm42600_buffer_hwfifo_flush() [all …]
|
D | inv_icm42600_timestamp.h | 11 struct inv_icm42600_state; 56 int inv_icm42600_timestamp_setup(struct inv_icm42600_state *st);
|
D | inv_icm42600_temp.c | 16 static int inv_icm42600_temp_read(struct inv_icm42600_state *st, int16_t *temp) in inv_icm42600_temp_read() 50 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_temp_read_raw()
|
D | inv_icm42600_i2c.c | 16 static int inv_icm42600_i2c_bus_setup(struct inv_icm42600_state *st) in inv_icm42600_i2c_bus_setup()
|
D | inv_icm42600_spi.c | 16 static int inv_icm42600_spi_bus_setup(struct inv_icm42600_state *st) in inv_icm42600_spi_bus_setup()
|
D | inv_icm42600_timestamp.c | 59 int inv_icm42600_timestamp_setup(struct inv_icm42600_state *st) in inv_icm42600_timestamp_setup()
|