Searched refs:st_lsm6dsr_hw (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/iio/imu/st_lsm6dsr/ |
| H A D | st_lsm6dsr.h | 386 struct st_lsm6dsr_hw *hw; 437 struct st_lsm6dsr_hw { struct 481 static inline int st_lsm6dsr_read_atomic(struct st_lsm6dsr_hw *hw, u8 addr, in st_lsm6dsr_read_atomic() argument 493 static inline int st_lsm6dsr_write_atomic(struct st_lsm6dsr_hw *hw, u8 addr, in st_lsm6dsr_write_atomic() 505 int __st_lsm6dsr_write_with_mask(struct st_lsm6dsr_hw *hw, u8 addr, u8 mask, 507 static inline int st_lsm6dsr_write_with_mask(struct st_lsm6dsr_hw *hw, u8 addr, in st_lsm6dsr_write_with_mask() 519 static inline int st_lsm6dsr_set_page_access(struct st_lsm6dsr_hw *hw, in st_lsm6dsr_set_page_access() 532 static inline bool st_lsm6dsr_is_fifo_enabled(struct st_lsm6dsr_hw *hw) in st_lsm6dsr_is_fifo_enabled() 545 int st_lsm6dsr_shub_probe(struct st_lsm6dsr_hw *hw); 548 int st_lsm6dsr_irq_setup(struct st_lsm6dsr_hw *hw); [all …]
|
| H A D | st_lsm6dsr_buffer.c | 84 inline int st_lsm6dsr_reset_hwts(struct st_lsm6dsr_hw *hw) in st_lsm6dsr_reset_hwts() 105 int st_lsm6dsr_set_fifo_mode(struct st_lsm6dsr_hw *hw, in st_lsm6dsr_set_fifo_mode() 131 struct st_lsm6dsr_hw *hw = sensor->hw; in __st_lsm6dsr_set_sensor_batching_odr() 155 static int st_lsm6dsr_ts_odr(struct st_lsm6dsr_hw *hw) in st_lsm6dsr_ts_odr() 184 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_set_sensor_batching_odr() 205 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_update_watermark() 248 static inline void st_lsm6dsr_sync_hw_ts(struct st_lsm6dsr_hw *hw, s64 ts) in st_lsm6dsr_sync_hw_ts() 264 iio_dev *st_lsm6dsr_get_iiodev_from_tag(struct st_lsm6dsr_hw *hw, in st_lsm6dsr_get_iiodev_from_tag() 305 static int st_lsm6dsr_read_fifo(struct st_lsm6dsr_hw *hw) in st_lsm6dsr_read_fifo() 434 static int st_lsm6dsr_report_events(struct st_lsm6dsr_hw *hw) in st_lsm6dsr_report_events() [all …]
|
| H A D | st_lsm6dsr_embfunc.c | 181 int st_lsm6dsr_fsm_set_access(struct st_lsm6dsr_hw *hw, bool enable) in st_lsm6dsr_fsm_set_access() 191 static int st_lsm6dsr_fsm_write(struct st_lsm6dsr_hw *hw, u16 base_addr, in st_lsm6dsr_fsm_write() 240 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_ef_pg1_sensor_set_enable() 279 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_fsm_set_enable() 378 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_step_counter_set_enable() 420 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_reset_step_counter() 479 int st_lsm6dsr_fsm_get_orientation(struct st_lsm6dsr_hw *hw, u8 *out) in st_lsm6dsr_fsm_get_orientation() 528 int st_lsm6dsr_fsm_init(struct st_lsm6dsr_hw *hw) in st_lsm6dsr_fsm_init()
|
| H A D | st_lsm6dsr_shub.c | 233 static inline void st_lsm6dsr_shub_wait_complete(struct st_lsm6dsr_hw *hw) in st_lsm6dsr_shub_wait_complete() 255 static int st_lsm6dsr_shub_read_reg(struct st_lsm6dsr_hw *hw, u8 addr, in st_lsm6dsr_shub_read_reg() 286 static int st_lsm6dsr_shub_write_reg(struct st_lsm6dsr_hw *hw, u8 addr, in st_lsm6dsr_shub_write_reg() 318 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_shub_master_enable() 360 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_shub_read() 404 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_shub_write() 480 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_shub_config_channels() 555 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_shub_set_odr() 848 static struct iio_dev *st_lsm6dsr_shub_alloc_iio_dev(struct st_lsm6dsr_hw *hw, in st_lsm6dsr_shub_alloc_iio_dev() 922 int st_lsm6dsr_shub_probe(struct st_lsm6dsr_hw *hw) in st_lsm6dsr_shub_probe()
|
| H A D | st_lsm6dsr_core.c | 27 struct st_lsm6dsr_hw *hw_input; 702 int __st_lsm6dsr_write_with_mask(struct st_lsm6dsr_hw *hw, u8 addr, u8 mask, in __st_lsm6dsr_write_with_mask() 736 static int st_lsm6dsr_check_whoami(struct st_lsm6dsr_hw *hw) in st_lsm6dsr_check_whoami() 764 static int st_lsm6dsr_get_odr_calibration(struct st_lsm6dsr_hw *hw) in st_lsm6dsr_get_odr_calibration() 859 static u16 st_lsm6dsr_check_odr_dependency(struct st_lsm6dsr_hw *hw, in st_lsm6dsr_check_odr_dependency() 892 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_set_odr() 1182 struct st_lsm6dsr_hw *hw = sensor->hw; in st_lsm6dsr_read_event_config() 1531 static int st_lsm6dsr_of_get_pin(struct st_lsm6dsr_hw *hw, int *pin) in st_lsm6dsr_of_get_pin() 1541 static int st_lsm6dsr_get_int_reg(struct st_lsm6dsr_hw *hw, u8 *drdy_reg, in st_lsm6dsr_get_int_reg() 1576 static int st_lsm6dsr_reset_device(struct st_lsm6dsr_hw *hw) in st_lsm6dsr_reset_device() [all …]
|
| H A D | st_lsm6dsr_spi.c | 26 struct st_lsm6dsr_hw *hw = spi_get_drvdata(spi); in st_lsm6dsr_spi_read() 56 struct st_lsm6dsr_hw *hw; in st_lsm6dsr_spi_write()
|