Home
last modified time | relevance | path

Searched refs:st_lsm6dsx_sensor (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_shub.c158 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_shub_wait_complete()
244 static int st_lsm6dsx_shub_master_enable(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_master_enable()
285 st_lsm6dsx_shub_read(struct st_lsm6dsx_sensor *sensor, u8 addr, in st_lsm6dsx_shub_read()
337 st_lsm6dsx_shub_write(struct st_lsm6dsx_sensor *sensor, u8 addr, in st_lsm6dsx_shub_write()
388 st_lsm6dsx_shub_write_with_mask(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_write_with_mask()
404 st_lsm6dsx_shub_get_odr_val(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_get_odr_val()
424 st_lsm6dsx_shub_set_odr(struct st_lsm6dsx_sensor *sensor, u32 odr) in st_lsm6dsx_shub_set_odr()
443 st_lsm6dsx_shub_config_channels(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_config_channels()
450 struct st_lsm6dsx_sensor *cur_sensor; in st_lsm6dsx_shub_config_channels()
480 int st_lsm6dsx_shub_set_enable(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_shub_set_enable()
[all …]
Dst_lsm6dsx.h115 struct st_lsm6dsx_sensor;
154 int (*update_fifo)(struct st_lsm6dsx_sensor *sensor, bool enable);
353 struct st_lsm6dsx_sensor { struct
447 int st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor,
451 int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor,
453 int st_lsm6dsx_update_fifo(struct st_lsm6dsx_sensor *sensor, bool enable);
458 int st_lsm6dsx_check_odr(struct st_lsm6dsx_sensor *sensor, u32 odr, u8 *val);
460 int st_lsm6dsx_shub_set_enable(struct st_lsm6dsx_sensor *sensor, bool enable);
506 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_get_mount_matrix()
Dst_lsm6dsx_buffer.c83 st_lsm6dsx_get_decimator_val(struct st_lsm6dsx_sensor *sensor, u32 max_odr) in st_lsm6dsx_get_decimator_val()
104 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_get_max_min_odr()
122 static u8 st_lsm6dsx_get_sip(struct st_lsm6dsx_sensor *sensor, u32 min_odr) in st_lsm6dsx_get_sip()
132 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_update_decimators()
198 static int st_lsm6dsx_set_fifo_odr(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_set_fifo_odr()
232 int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor, u16 watermark) in st_lsm6dsx_update_watermark()
236 struct st_lsm6dsx_sensor *cur_sensor; in st_lsm6dsx_update_watermark()
283 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_reset_hw_ts()
353 struct st_lsm6dsx_sensor *acc_sensor, *gyro_sensor, *ext_sensor = NULL; in st_lsm6dsx_read_fifo()
501 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_push_tagged_data()
[all …]
Dst_lsm6dsx_core.c1217 static int st_lsm6dsx_set_full_scale(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_set_full_scale()
1245 int st_lsm6dsx_check_odr(struct st_lsm6dsx_sensor *sensor, u32 odr, u8 *val) in st_lsm6dsx_check_odr()
1271 struct st_lsm6dsx_sensor *ref = iio_priv(hw->iio_devs[id]); in st_lsm6dsx_check_odr_dependency()
1284 st_lsm6dsx_set_odr(struct st_lsm6dsx_sensor *sensor, u32 req_odr) in st_lsm6dsx_set_odr()
1286 struct st_lsm6dsx_sensor *ref_sensor = sensor; in st_lsm6dsx_set_odr()
1337 __st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor, in __st_lsm6dsx_sensor_set_enable()
1357 st_lsm6dsx_check_events(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_check_events()
1367 int st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_sensor_set_enable()
1376 static int st_lsm6dsx_read_oneshot(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_read_oneshot()
1413 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_read_raw()
[all …]