Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx.h127 struct st_lsm6dsx_hw;
173 int (*read_fifo)(struct st_lsm6dsx_hw *hw);
377 struct st_lsm6dsx_hw *hw;
418 struct st_lsm6dsx_hw { struct
469 int st_lsm6dsx_fifo_setup(struct st_lsm6dsx_hw *hw); argument
474 int st_lsm6dsx_flush_fifo(struct st_lsm6dsx_hw *hw);
475 int st_lsm6dsx_resume_fifo(struct st_lsm6dsx_hw *hw);
476 int st_lsm6dsx_read_fifo(struct st_lsm6dsx_hw *hw);
477 int st_lsm6dsx_read_tagged_fifo(struct st_lsm6dsx_hw *hw);
479 int st_lsm6dsx_shub_probe(struct st_lsm6dsx_hw *hw, const char *name);
[all …]
H A 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()
511 st_lsm6dsx_push_tagged_data(struct st_lsm6dsx_hw *hw, u8 tag, in st_lsm6dsx_push_tagged_data()
[all …]
H A Dst_lsm6dsx_core.c1533 int st_lsm6dsx_set_page(struct st_lsm6dsx_hw *hw, bool enable) in st_lsm6dsx_set_page()
1548 static int st_lsm6dsx_check_whoami(struct st_lsm6dsx_hw *hw, int id, in st_lsm6dsx_check_whoami()
1636 st_lsm6dsx_check_odr_dependency(struct st_lsm6dsx_hw *hw, u32 odr, in st_lsm6dsx_check_odr_dependency()
1655 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_set_odr()
1708 struct st_lsm6dsx_hw *hw = sensor->hw; in __st_lsm6dsx_sensor_set_enable()
1727 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_check_events()
1747 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_read_oneshot()
1847 static int st_lsm6dsx_event_setup(struct st_lsm6dsx_hw *hw, int state) in st_lsm6dsx_event_setup()
1879 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_read_event()
1899 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_write_event()
[all …]
H A Dst_lsm6dsx_shub.c156 static void st_lsm6dsx_shub_wait_complete(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_shub_wait_complete()
173 int st_lsm6dsx_shub_read_output(struct st_lsm6dsx_hw *hw, u8 *data, int len) in st_lsm6dsx_shub_read_output()
203 static int st_lsm6dsx_shub_write_reg(struct st_lsm6dsx_hw *hw, u8 addr, in st_lsm6dsx_shub_write_reg()
223 st_lsm6dsx_shub_write_reg_with_mask(struct st_lsm6dsx_hw *hw, u8 addr, in st_lsm6dsx_shub_write_reg_with_mask()
246 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_master_enable()
288 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_read()
339 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_write()
447 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_config_channels()
635 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_write_raw()
725 st_lsm6dsx_shub_alloc_iiodev(struct st_lsm6dsx_hw *hw, in st_lsm6dsx_shub_alloc_iiodev()
[all …]