Searched refs:st_lsm6dsx_hw (Results 1 – 4 of 4) sorted by relevance
/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx.h | 107 struct st_lsm6dsx_hw; 145 int (*read_fifo)(struct st_lsm6dsx_hw *hw); 348 struct st_lsm6dsx_hw *hw; 388 struct st_lsm6dsx_hw { struct 439 int st_lsm6dsx_fifo_setup(struct st_lsm6dsx_hw *hw); argument 444 int st_lsm6dsx_flush_fifo(struct st_lsm6dsx_hw *hw); 445 int st_lsm6dsx_resume_fifo(struct st_lsm6dsx_hw *hw); 446 int st_lsm6dsx_read_fifo(struct st_lsm6dsx_hw *hw); 447 int st_lsm6dsx_read_tagged_fifo(struct st_lsm6dsx_hw *hw); 449 int st_lsm6dsx_shub_probe(struct st_lsm6dsx_hw *hw, const char *name); [all …]
|
D | st_lsm6dsx_buffer.c | 100 static void st_lsm6dsx_get_max_min_odr(struct st_lsm6dsx_hw *hw, in st_lsm6dsx_get_max_min_odr() 128 static int st_lsm6dsx_update_decimators(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_update_decimators() 187 static int st_lsm6dsx_set_fifo_mode(struct st_lsm6dsx_hw *hw, in st_lsm6dsx_set_fifo_mode() 200 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_set_fifo_odr() 234 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_update_watermark() 280 static int st_lsm6dsx_reset_hw_ts(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_reset_hw_ts() 305 int st_lsm6dsx_resume_fifo(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_resume_fifo() 321 static inline int st_lsm6dsx_read_block(struct st_lsm6dsx_hw *hw, u8 addr, in st_lsm6dsx_read_block() 350 int st_lsm6dsx_read_fifo(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_read_fifo() 496 st_lsm6dsx_push_tagged_data(struct st_lsm6dsx_hw *hw, u8 tag, in st_lsm6dsx_push_tagged_data() [all …]
|
D | st_lsm6dsx_core.c | 1339 int st_lsm6dsx_set_page(struct st_lsm6dsx_hw *hw, bool enable) in st_lsm6dsx_set_page() 1354 static int st_lsm6dsx_check_whoami(struct st_lsm6dsx_hw *hw, int id, in st_lsm6dsx_check_whoami() 1442 st_lsm6dsx_check_odr_dependency(struct st_lsm6dsx_hw *hw, u32 odr, in st_lsm6dsx_check_odr_dependency() 1461 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_set_odr() 1514 struct st_lsm6dsx_hw *hw = sensor->hw; in __st_lsm6dsx_sensor_set_enable() 1533 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_check_events() 1553 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_read_oneshot() 1653 static int st_lsm6dsx_event_setup(struct st_lsm6dsx_hw *hw, int state) in st_lsm6dsx_event_setup() 1685 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_read_event() 1705 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_write_event() [all …]
|
D | st_lsm6dsx_shub.c | 156 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 …]
|