Home
last modified time | relevance | path

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

/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.h106 struct st_lsm6dsx_sensor;
144 int (*update_fifo)(struct st_lsm6dsx_sensor *sensor, bool enable);
345 struct st_lsm6dsx_sensor { struct
437 int st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor,
441 int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor,
443 int st_lsm6dsx_update_fifo(struct st_lsm6dsx_sensor *sensor, bool enable);
448 int st_lsm6dsx_check_odr(struct st_lsm6dsx_sensor *sensor, u32 odr, u8 *val);
450 int st_lsm6dsx_shub_set_enable(struct st_lsm6dsx_sensor *sensor, bool enable);
496 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_get_mount_matrix()
Dst_lsm6dsx_buffer.c82 st_lsm6dsx_get_decimator_val(struct st_lsm6dsx_sensor *sensor, u32 max_odr) in st_lsm6dsx_get_decimator_val()
103 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_get_max_min_odr()
121 static u8 st_lsm6dsx_get_sip(struct st_lsm6dsx_sensor *sensor, u32 min_odr) in st_lsm6dsx_get_sip()
131 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_update_decimators()
197 static int st_lsm6dsx_set_fifo_odr(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_set_fifo_odr()
231 int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor, u16 watermark) in st_lsm6dsx_update_watermark()
235 struct st_lsm6dsx_sensor *cur_sensor; in st_lsm6dsx_update_watermark()
282 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_reset_hw_ts()
352 struct st_lsm6dsx_sensor *acc_sensor, *gyro_sensor, *ext_sensor = NULL; in st_lsm6dsx_read_fifo()
500 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_push_tagged_data()
[all …]
Dst_lsm6dsx_core.c1391 static int st_lsm6dsx_set_full_scale(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_set_full_scale()
1419 int st_lsm6dsx_check_odr(struct st_lsm6dsx_sensor *sensor, u32 odr, u8 *val) in st_lsm6dsx_check_odr()
1445 struct st_lsm6dsx_sensor *ref = iio_priv(hw->iio_devs[id]); in st_lsm6dsx_check_odr_dependency()
1458 st_lsm6dsx_set_odr(struct st_lsm6dsx_sensor *sensor, u32 req_odr) in st_lsm6dsx_set_odr()
1460 struct st_lsm6dsx_sensor *ref_sensor = sensor; in st_lsm6dsx_set_odr()
1511 __st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor, in __st_lsm6dsx_sensor_set_enable()
1531 st_lsm6dsx_check_events(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_check_events()
1541 int st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_sensor_set_enable()
1550 static int st_lsm6dsx_read_oneshot(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_read_oneshot()
1587 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_read_raw()
[all …]