Searched refs:st_lsm6dsx_hw (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx.h | 81 struct st_lsm6dsx_hw; 117 int (*read_fifo)(struct st_lsm6dsx_hw *hw); 277 struct st_lsm6dsx_hw *hw; 310 struct st_lsm6dsx_hw { struct 339 int st_lsm6dsx_fifo_setup(struct st_lsm6dsx_hw *hw); argument 344 int st_lsm6dsx_flush_fifo(struct st_lsm6dsx_hw *hw); 345 int st_lsm6dsx_set_fifo_mode(struct st_lsm6dsx_hw *hw, 347 int st_lsm6dsx_read_fifo(struct st_lsm6dsx_hw *hw); 348 int st_lsm6dsx_read_tagged_fifo(struct st_lsm6dsx_hw *hw); 350 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() 121 static int st_lsm6dsx_update_decimators(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_update_decimators() 181 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() 310 static inline int st_lsm6dsx_read_block(struct st_lsm6dsx_hw *hw, u8 addr, in st_lsm6dsx_read_block() 339 int st_lsm6dsx_read_fifo(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_read_fifo() 460 st_lsm6dsx_push_tagged_data(struct st_lsm6dsx_hw *hw, u8 tag, in st_lsm6dsx_push_tagged_data() 516 int st_lsm6dsx_read_tagged_fifo(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_read_tagged_fifo() [all …]
|
D | st_lsm6dsx_shub.c | 93 static void st_lsm6dsx_shub_wait_complete(struct st_lsm6dsx_hw *hw) in st_lsm6dsx_shub_wait_complete() 108 static int st_lsm6dsx_shub_read_reg(struct st_lsm6dsx_hw *hw, u8 addr, in st_lsm6dsx_shub_read_reg() 133 static int st_lsm6dsx_shub_write_reg(struct st_lsm6dsx_hw *hw, u8 addr, in st_lsm6dsx_shub_write_reg() 153 st_lsm6dsx_shub_write_reg_with_mask(struct st_lsm6dsx_hw *hw, u8 addr, in st_lsm6dsx_shub_write_reg_with_mask() 176 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_master_enable() 214 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_read() 257 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_write() 363 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_shub_config_channels() 590 st_lsm6dsx_shub_alloc_iiodev(struct st_lsm6dsx_hw *hw, in st_lsm6dsx_shub_alloc_iiodev() 684 st_lsm6dsx_shub_check_wai(struct st_lsm6dsx_hw *hw, u8 *i2c_addr, in st_lsm6dsx_shub_check_wai() [all …]
|
D | st_lsm6dsx_core.c | 891 int st_lsm6dsx_set_page(struct st_lsm6dsx_hw *hw, bool enable) in st_lsm6dsx_set_page() 906 static int st_lsm6dsx_check_whoami(struct st_lsm6dsx_hw *hw, int id, in st_lsm6dsx_check_whoami() 992 static u16 st_lsm6dsx_check_odr_dependency(struct st_lsm6dsx_hw *hw, u16 odr, in st_lsm6dsx_check_odr_dependency() 1010 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_set_odr() 1060 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_sensor_set_enable() 1079 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_read_oneshot() 1170 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_set_watermark() 1197 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_sysfs_sampling_frequency_avail() 1214 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_sysfs_scale_avail() 1266 static int st_lsm6dsx_of_get_drdy_pin(struct st_lsm6dsx_hw *hw, int *drdy_pin) in st_lsm6dsx_of_get_drdy_pin() [all …]
|