Searched refs:inv_icm42600_state (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/iio/imu/inv_icm42600/ |
D | inv_icm42600_buffer.h | 12 struct inv_icm42600_state; 83 int inv_icm42600_buffer_init(struct inv_icm42600_state *st); 85 void inv_icm42600_buffer_update_fifo_period(struct inv_icm42600_state *st); 87 int inv_icm42600_buffer_set_fifo_en(struct inv_icm42600_state *st, 90 int inv_icm42600_buffer_update_watermark(struct inv_icm42600_state *st); 92 int inv_icm42600_buffer_fifo_read(struct inv_icm42600_state *st, 95 int inv_icm42600_buffer_fifo_parse(struct inv_icm42600_state *st); 97 int inv_icm42600_buffer_hwfifo_flush(struct inv_icm42600_state *st,
|
D | inv_icm42600_core.c | 171 const struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_get_mount_matrix() 212 static int inv_icm42600_set_pwr_mgmt0(struct inv_icm42600_state *st, in inv_icm42600_set_pwr_mgmt0() 277 int inv_icm42600_set_accel_conf(struct inv_icm42600_state *st, in inv_icm42600_set_accel_conf() 338 int inv_icm42600_set_gyro_conf(struct inv_icm42600_state *st, in inv_icm42600_set_gyro_conf() 384 int inv_icm42600_set_temp_conf(struct inv_icm42600_state *st, bool enable, in inv_icm42600_set_temp_conf() 395 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_debugfs_reg() 410 static int inv_icm42600_set_conf(struct inv_icm42600_state *st, in inv_icm42600_set_conf() 459 static int inv_icm42600_setup(struct inv_icm42600_state *st, in inv_icm42600_setup() 519 struct inv_icm42600_state *st = _data; in inv_icm42600_irq_timestamp() 529 struct inv_icm42600_state *st = _data; in inv_icm42600_irq_handler() [all …]
|
D | inv_icm42600_gyro.c | 101 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_update_scan_mode() 143 static int inv_icm42600_gyro_read_sensor(struct inv_icm42600_state *st, in inv_icm42600_gyro_read_sensor() 252 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_read_scale() 266 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_write_scale() 326 static int inv_icm42600_gyro_read_odr(struct inv_icm42600_state *st, in inv_icm42600_gyro_read_odr() 350 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_write_odr() 400 static int inv_icm42600_gyro_read_offset(struct inv_icm42600_state *st, in inv_icm42600_gyro_read_offset() 476 static int inv_icm42600_gyro_write_offset(struct inv_icm42600_state *st, in inv_icm42600_gyro_write_offset() 582 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_read_raw() 651 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_gyro_write_raw() [all …]
|
D | inv_icm42600_accel.c | 75 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_power_mode_set() 116 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_power_mode_get() 201 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_update_scan_mode() 248 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_read_sensor() 335 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_read_scale() 349 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_write_scale() 418 static int inv_icm42600_accel_read_odr(struct inv_icm42600_state *st, in inv_icm42600_accel_read_odr() 442 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_accel_write_odr() 492 static int inv_icm42600_accel_read_offset(struct inv_icm42600_state *st, in inv_icm42600_accel_read_offset() 568 static int inv_icm42600_accel_write_offset(struct inv_icm42600_state *st, in inv_icm42600_accel_write_offset() [all …]
|
D | inv_icm42600.h | 155 struct inv_icm42600_state { struct 403 typedef int (*inv_icm42600_bus_setup)(struct inv_icm42600_state *); 414 int inv_icm42600_set_accel_conf(struct inv_icm42600_state *st, 418 int inv_icm42600_set_gyro_conf(struct inv_icm42600_state *st, 422 int inv_icm42600_set_temp_conf(struct inv_icm42600_state *st, bool enable, 431 struct iio_dev *inv_icm42600_gyro_init(struct inv_icm42600_state *st); 435 struct iio_dev *inv_icm42600_accel_init(struct inv_icm42600_state *st);
|
D | inv_icm42600_buffer.c | 101 void inv_icm42600_buffer_update_fifo_period(struct inv_icm42600_state *st) in inv_icm42600_buffer_update_fifo_period() 123 int inv_icm42600_buffer_set_fifo_en(struct inv_icm42600_state *st, in inv_icm42600_buffer_set_fifo_en() 203 int inv_icm42600_buffer_update_watermark(struct inv_icm42600_state *st) in inv_icm42600_buffer_update_watermark() 288 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_preenable() 308 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_postenable() 352 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_predisable() 391 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_buffer_postdisable() 455 int inv_icm42600_buffer_fifo_read(struct inv_icm42600_state *st, in inv_icm42600_buffer_fifo_read() 514 int inv_icm42600_buffer_fifo_parse(struct inv_icm42600_state *st) in inv_icm42600_buffer_fifo_parse() 547 int inv_icm42600_buffer_hwfifo_flush(struct inv_icm42600_state *st, in inv_icm42600_buffer_hwfifo_flush() [all …]
|
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_spi.c | 16 static int inv_icm42600_spi_bus_setup(struct inv_icm42600_state *st) in inv_icm42600_spi_bus_setup()
|
D | inv_icm42600_i2c.c | 16 static int inv_icm42600_i2c_bus_setup(struct inv_icm42600_state *st) in inv_icm42600_i2c_bus_setup()
|