Lines Matching refs:sca3000_state

163 struct sca3000_state {  struct
277 static int sca3000_write_reg(struct sca3000_state *st, u8 address, u8 val) in sca3000_write_reg()
284 static int sca3000_read_data_short(struct sca3000_state *st, in sca3000_read_data_short()
308 static int sca3000_reg_lock_on(struct sca3000_state *st) in sca3000_reg_lock_on()
327 static int __sca3000_unlock_reg_lock(struct sca3000_state *st) in __sca3000_unlock_reg_lock()
364 static int sca3000_write_ctrl_reg(struct sca3000_state *st, in sca3000_write_ctrl_reg()
398 static int sca3000_read_ctrl_reg(struct sca3000_state *st, in sca3000_read_ctrl_reg()
432 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_print_rev()
454 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_show_available_3db_freqs()
565 static inline int __sca3000_get_base_freq(struct sca3000_state *st, in __sca3000_get_base_freq()
598 static int sca3000_read_raw_samp_freq(struct sca3000_state *st, int *val) in sca3000_read_raw_samp_freq()
632 static int sca3000_write_raw_samp_freq(struct sca3000_state *st, int val) in sca3000_write_raw_samp_freq()
657 static int sca3000_read_3db_freq(struct sca3000_state *st, int *val) in sca3000_read_3db_freq()
684 static int sca3000_write_3db_freq(struct sca3000_state *st, int val) in sca3000_write_3db_freq()
715 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_read_raw()
780 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_write_raw()
821 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_read_av_freq()
872 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_read_event_value()
924 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_write_event_value()
964 static int sca3000_read_data(struct sca3000_state *st, in sca3000_read_data()
997 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_ring_int_process()
1046 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_event_handler()
1111 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_read_event_config()
1155 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_freefall_set_state()
1178 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_motion_detect_set_state()
1250 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_write_event_config()
1292 struct sca3000_state *st = iio_priv(indio_dev); in __sca3000_hw_ring_state_set()
1326 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_hw_ring_preenable()
1353 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_hw_ring_postdisable()
1386 static int sca3000_clean_setup(struct sca3000_state *st) in sca3000_clean_setup()
1456 struct sca3000_state *st; in sca3000_probe()
1514 static int sca3000_stop_all_interrupts(struct sca3000_state *st) in sca3000_stop_all_interrupts()
1535 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_remove()