Searched refs:st_lsm6dsx_hw (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-6.6/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx.h | 127 struct st_lsm6dsx_hw; 173 int (*read_fifo)(struct st_lsm6dsx_hw *hw); 364 * @hw: Pointer to instance of struct st_lsm6dsx_hw. 377 struct st_lsm6dsx_hw *hw; 396 * struct st_lsm6dsx_hw - ST IMU MEMS hw instance 418 struct st_lsm6dsx_hw { struct 469 int st_lsm6dsx_fifo_setup(struct st_lsm6dsx_hw *hw); 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 *h [all...] |
H A D | st_lsm6dsx_buffer.c | 101 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() 345 * @hw: Pointer to instance of struct st_lsm6dsx_hw. 351 int st_lsm6dsx_read_fifo(struct st_lsm6dsx_hw *h [all...] |
H A D | st_lsm6dsx_shub.c | 156 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 *h [all...] |
H A D | st_lsm6dsx_core.c | 1533 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 *h in st_lsm6dsx_write_event() [all...] |
/kernel/linux/linux-5.10/drivers/iio/imu/st_lsm6dsx/ |
H A D | st_lsm6dsx.h | 107 struct st_lsm6dsx_hw; 145 int (*read_fifo)(struct st_lsm6dsx_hw *hw); 336 * @hw: Pointer to instance of struct st_lsm6dsx_hw. 348 struct st_lsm6dsx_hw *hw; 366 * struct st_lsm6dsx_hw - ST IMU MEMS hw instance 388 struct st_lsm6dsx_hw { struct 439 int st_lsm6dsx_fifo_setup(struct st_lsm6dsx_hw *hw); 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 *h [all...] |
H A 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() 344 * @hw: Pointer to instance of struct st_lsm6dsx_hw. 350 int st_lsm6dsx_read_fifo(struct st_lsm6dsx_hw *h [all...] |
H A 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 *h in st_lsm6dsx_write_event() [all...] |
H A 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 *h [all...] |
Completed in 13 milliseconds