st_lsm6dsx_hw
struct st_lsm6dsx_hw;
int (*read_fifo)(struct st_lsm6dsx_hw *hw);
struct st_lsm6dsx_hw *hw;
int st_lsm6dsx_fifo_setup(struct st_lsm6dsx_hw *hw);
int st_lsm6dsx_flush_fifo(struct st_lsm6dsx_hw *hw);
int st_lsm6dsx_resume_fifo(struct st_lsm6dsx_hw *hw);
int st_lsm6dsx_read_fifo(struct st_lsm6dsx_hw *hw);
int st_lsm6dsx_read_tagged_fifo(struct st_lsm6dsx_hw *hw);
int st_lsm6dsx_shub_probe(struct st_lsm6dsx_hw *hw, const char *name);
int st_lsm6dsx_shub_read_output(struct st_lsm6dsx_hw *hw, u8 *data, int len);
int st_lsm6dsx_set_page(struct st_lsm6dsx_hw *hw, bool enable);
st_lsm6dsx_update_bits_locked(struct st_lsm6dsx_hw *hw, unsigned int addr,
st_lsm6dsx_read_locked(struct st_lsm6dsx_hw *hw, unsigned int addr,
st_lsm6dsx_write_locked(struct st_lsm6dsx_hw *hw, unsigned int addr,
struct st_lsm6dsx_hw *hw = sensor->hw;
static void st_lsm6dsx_get_max_min_odr(struct st_lsm6dsx_hw *hw,
static int st_lsm6dsx_update_decimators(struct st_lsm6dsx_hw *hw)
static int st_lsm6dsx_set_fifo_mode(struct st_lsm6dsx_hw *hw,
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
static int st_lsm6dsx_reset_hw_ts(struct st_lsm6dsx_hw *hw)
int st_lsm6dsx_resume_fifo(struct st_lsm6dsx_hw *hw)
static inline int st_lsm6dsx_read_block(struct st_lsm6dsx_hw *hw, u8 addr,
int st_lsm6dsx_read_fifo(struct st_lsm6dsx_hw *hw)
st_lsm6dsx_push_tagged_data(struct st_lsm6dsx_hw *hw, u8 tag,
int st_lsm6dsx_read_tagged_fifo(struct st_lsm6dsx_hw *hw)
int st_lsm6dsx_flush_fifo(struct st_lsm6dsx_hw *hw)
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
int st_lsm6dsx_fifo_setup(struct st_lsm6dsx_hw *hw)
int st_lsm6dsx_set_page(struct st_lsm6dsx_hw *hw, bool enable)
static int st_lsm6dsx_check_whoami(struct st_lsm6dsx_hw *hw, int id,
st_lsm6dsx_check_odr_dependency(struct st_lsm6dsx_hw *hw, u32 odr,
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
static int st_lsm6dsx_event_setup(struct st_lsm6dsx_hw *hw,
st_lsm6dsx_get_event_reg(struct st_lsm6dsx_hw *hw,
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
static bool st_lsm6dsx_check_other_events(struct st_lsm6dsx_hw *hw,
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
st_lsm6dsx_get_drdy_reg(struct st_lsm6dsx_hw *hw,
static int st_lsm6dsx_init_shub(struct st_lsm6dsx_hw *hw)
static int st_lsm6dsx_init_hw_timer(struct st_lsm6dsx_hw *hw)
static int st_lsm6dsx_reset_device(struct st_lsm6dsx_hw *hw)
static int st_lsm6dsx_init_device(struct st_lsm6dsx_hw *hw)
static struct iio_dev *st_lsm6dsx_alloc_iiodev(struct st_lsm6dsx_hw *hw,
st_lsm6dsx_report_events(struct st_lsm6dsx_hw *hw, enum st_lsm6dsx_event_id id,
static bool st_lsm6dsx_report_motion_event(struct st_lsm6dsx_hw *hw)
struct st_lsm6dsx_hw *hw = private;
struct st_lsm6dsx_hw *hw = sensor->hw;
static int st_lsm6dsx_irq_setup(struct st_lsm6dsx_hw *hw)
static int st_lsm6dsx_sw_buffers_setup(struct st_lsm6dsx_hw *hw)
struct st_lsm6dsx_hw *hw;
struct st_lsm6dsx_hw *hw = dev_get_drvdata(dev);
struct st_lsm6dsx_hw *hw = dev_get_drvdata(dev);
static void st_lsm6dsx_shub_wait_complete(struct st_lsm6dsx_hw *hw)
int st_lsm6dsx_shub_read_output(struct st_lsm6dsx_hw *hw, u8 *data, int len)
static int st_lsm6dsx_shub_write_reg(struct st_lsm6dsx_hw *hw, u8 addr,
st_lsm6dsx_shub_write_reg_with_mask(struct st_lsm6dsx_hw *hw, u8 addr,
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
struct st_lsm6dsx_hw *hw = sensor->hw;
st_lsm6dsx_shub_alloc_iiodev(struct st_lsm6dsx_hw *hw,
st_lsm6dsx_shub_check_wai(struct st_lsm6dsx_hw *hw, u8 *i2c_addr,
int st_lsm6dsx_shub_probe(struct st_lsm6dsx_hw *hw, const char *name)