Home
last modified time | relevance | path

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

/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx.h116 struct st_lsm6dsx_hw;
155 int (*read_fifo)(struct st_lsm6dsx_hw *hw);
356 struct st_lsm6dsx_hw *hw;
397 struct st_lsm6dsx_hw { struct
449 int st_lsm6dsx_fifo_setup(struct st_lsm6dsx_hw *hw); argument
454 int st_lsm6dsx_flush_fifo(struct st_lsm6dsx_hw *hw);
455 int st_lsm6dsx_resume_fifo(struct st_lsm6dsx_hw *hw);
456 int st_lsm6dsx_read_fifo(struct st_lsm6dsx_hw *hw);
457 int st_lsm6dsx_read_tagged_fifo(struct st_lsm6dsx_hw *hw);
459 int st_lsm6dsx_shub_probe(struct st_lsm6dsx_hw *hw, const char *name);
[all …]
Dst_lsm6dsx_buffer.c101 static void st_lsm6dsx_get_max_min_odr(struct st_lsm6dsx_hw *hw, in st_lsm6dsx_get_max_min_odr()
129 static int st_lsm6dsx_update_decimators(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_update_decimators()
188 static int st_lsm6dsx_set_fifo_mode(struct st_lsm6dsx_hw *hw, in st_lsm6dsx_set_fifo_mode()
201 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_set_fifo_odr()
235 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_update_watermark()
281 static int st_lsm6dsx_reset_hw_ts(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_reset_hw_ts()
306 int st_lsm6dsx_resume_fifo(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_resume_fifo()
322 static inline int st_lsm6dsx_read_block(struct st_lsm6dsx_hw *hw, u8 addr, in st_lsm6dsx_read_block()
351 int st_lsm6dsx_read_fifo(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_read_fifo()
497 st_lsm6dsx_push_tagged_data(struct st_lsm6dsx_hw *hw, u8 tag, in st_lsm6dsx_push_tagged_data()
[all …]
Dst_lsm6dsx_core.c1165 int st_lsm6dsx_set_page(struct st_lsm6dsx_hw *hw, bool enable) in st_lsm6dsx_set_page()
1180 static int st_lsm6dsx_check_whoami(struct st_lsm6dsx_hw *hw, int id, in st_lsm6dsx_check_whoami()
1268 st_lsm6dsx_check_odr_dependency(struct st_lsm6dsx_hw *hw, u32 odr, in st_lsm6dsx_check_odr_dependency()
1287 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_set_odr()
1340 struct st_lsm6dsx_hw *hw = sensor->hw; in __st_lsm6dsx_sensor_set_enable()
1359 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_check_events()
1379 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_read_oneshot()
1479 static int st_lsm6dsx_event_setup(struct st_lsm6dsx_hw *hw, int state) in st_lsm6dsx_event_setup()
1511 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_read_event()
1531 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_write_event()
[all …]
Dst_lsm6dsx_shub.c156 static void st_lsm6dsx_shub_wait_complete(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_shub_wait_complete()
174 st_lsm6dsx_shub_read_output(struct st_lsm6dsx_hw *hw, u8 *data, in st_lsm6dsx_shub_read_output()
205 static int st_lsm6dsx_shub_write_reg(struct st_lsm6dsx_hw *hw, u8 addr, in st_lsm6dsx_shub_write_reg()
225 st_lsm6dsx_shub_write_reg_with_mask(struct st_lsm6dsx_hw *hw, u8 addr, in st_lsm6dsx_shub_write_reg_with_mask()
248 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_master_enable()
290 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_read()
341 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_write()
449 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_config_channels()
637 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_write_raw()
727 st_lsm6dsx_shub_alloc_iiodev(struct st_lsm6dsx_hw *hw, in st_lsm6dsx_shub_alloc_iiodev()
[all …]