Home
last modified time | relevance | path

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

/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_shub.c158 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_shub_wait_complete()
242 static int st_lsm6dsx_shub_master_enable(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_master_enable()
283 st_lsm6dsx_shub_read(struct st_lsm6dsx_sensor *sensor, u8 addr, in st_lsm6dsx_shub_read()
335 st_lsm6dsx_shub_write(struct st_lsm6dsx_sensor *sensor, u8 addr, in st_lsm6dsx_shub_write()
386 st_lsm6dsx_shub_write_with_mask(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_write_with_mask()
402 st_lsm6dsx_shub_get_odr_val(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_get_odr_val()
422 st_lsm6dsx_shub_set_odr(struct st_lsm6dsx_sensor *sensor, u32 odr) in st_lsm6dsx_shub_set_odr()
441 st_lsm6dsx_shub_config_channels(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_shub_config_channels()
448 struct st_lsm6dsx_sensor *cur_sensor; in st_lsm6dsx_shub_config_channels()
478 int st_lsm6dsx_shub_set_enable(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_shub_set_enable()
[all …]
H A Dst_lsm6dsx.h128 struct st_lsm6dsx_sensor;
174 int (*update_fifo)(struct st_lsm6dsx_sensor *sensor, bool enable);
376 struct st_lsm6dsx_sensor { struct
469 int st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor,
473 int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor,
475 int st_lsm6dsx_update_fifo(struct st_lsm6dsx_sensor *sensor, bool enable);
480 int st_lsm6dsx_check_odr(struct st_lsm6dsx_sensor *sensor, u32 odr, u8 *val);
482 int st_lsm6dsx_shub_set_enable(struct st_lsm6dsx_sensor *sensor, bool enable);
529 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_get_mount_matrix()
536 st_lsm6dsx_device_set_enable(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_device_set_enable()
H A Dst_lsm6dsx_buffer.c105 st_lsm6dsx_get_decimator_val(struct st_lsm6dsx_sensor *sensor, u32 max_odr) in st_lsm6dsx_get_decimator_val()
126 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_get_max_min_odr()
144 static u8 st_lsm6dsx_get_sip(struct st_lsm6dsx_sensor *sensor, u32 min_odr) in st_lsm6dsx_get_sip()
154 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_update_decimators()
220 static int st_lsm6dsx_set_fifo_odr(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_set_fifo_odr()
254 int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor, u16 watermark) in st_lsm6dsx_update_watermark()
258 struct st_lsm6dsx_sensor *cur_sensor; in st_lsm6dsx_update_watermark()
305 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_reset_hw_ts()
375 struct st_lsm6dsx_sensor *acc_sensor, *gyro_sensor, *ext_sensor = NULL; in st_lsm6dsx_read_fifo()
537 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_push_tagged_data()
[all …]
H A Dst_lsm6dsx_core.c1606 static int st_lsm6dsx_set_full_scale(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_set_full_scale()
1634 int st_lsm6dsx_check_odr(struct st_lsm6dsx_sensor *sensor, u32 odr, u8 *val) in st_lsm6dsx_check_odr()
1660 struct st_lsm6dsx_sensor *ref = iio_priv(hw->iio_devs[id]); in st_lsm6dsx_check_odr_dependency()
1673 st_lsm6dsx_set_odr(struct st_lsm6dsx_sensor *sensor, u32 req_odr) in st_lsm6dsx_set_odr()
1675 struct st_lsm6dsx_sensor *ref_sensor = sensor; in st_lsm6dsx_set_odr()
1726 __st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor, in __st_lsm6dsx_sensor_set_enable()
1746 st_lsm6dsx_check_events(struct st_lsm6dsx_sensor *sensor, bool enable) in st_lsm6dsx_check_events()
1756 int st_lsm6dsx_sensor_set_enable(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_sensor_set_enable()
1765 static int st_lsm6dsx_read_oneshot(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_read_oneshot()
1802 struct st_lsm6dsx_sensor *sensor = iio_priv(iio_dev); in st_lsm6dsx_read_raw()
[all …]