Lines Matching defs:st
428 #define at91_adc_readl(st, reg) \ argument
430 #define at91_adc_read_chan(st, reg) \ argument
432 #define at91_adc_writel(st, reg, val) \ argument
777 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_active_scan_mask_to_reg() local
789 static void at91_adc_cor(struct at91_adc_state *st, in at91_adc_cor()
804 static void at91_adc_irq_status(struct at91_adc_state *st, u32 *status, in at91_adc_irq_status()
814 static void at91_adc_irq_mask(struct at91_adc_state *st, u32 *status, u32 *eoc) in at91_adc_irq_mask()
823 static void at91_adc_eoc_dis(struct at91_adc_state *st, unsigned int channel) in at91_adc_eoc_dis()
834 static void at91_adc_eoc_ena(struct at91_adc_state *st, unsigned int channel) in at91_adc_eoc_ena()
842 static int at91_adc_config_emr(struct at91_adc_state *st, in at91_adc_config_emr()
903 static int at91_adc_adjust_val_osr(struct at91_adc_state *st, int *val) in at91_adc_adjust_val_osr()
931 static void at91_adc_adjust_val_osr_array(struct at91_adc_state *st, void *buf, in at91_adc_adjust_val_osr_array()
953 static int at91_adc_configure_touch(struct at91_adc_state *st, bool state) in at91_adc_configure_touch()
1014 static u16 at91_adc_touch_pos(struct at91_adc_state *st, int reg) in at91_adc_touch_pos()
1045 static u16 at91_adc_touch_x_pos(struct at91_adc_state *st) in at91_adc_touch_x_pos()
1051 static u16 at91_adc_touch_y_pos(struct at91_adc_state *st) in at91_adc_touch_y_pos()
1056 static u16 at91_adc_touch_pressure(struct at91_adc_state *st) in at91_adc_touch_pressure()
1084 static int at91_adc_read_position(struct at91_adc_state *st, int chan, u16 *val) in at91_adc_read_position()
1099 static int at91_adc_read_pressure(struct at91_adc_state *st, int chan, u16 *val) in at91_adc_read_pressure()
1112 static void at91_adc_configure_trigger_registers(struct at91_adc_state *st, in at91_adc_configure_trigger_registers()
1130 struct at91_adc_state *st = iio_priv(indio); in at91_adc_configure_trigger() local
1152 struct at91_adc_state *st = iio_priv(indio); in at91_adc_reenable_trigger() local
1170 static int at91_adc_dma_size_done(struct at91_adc_state *st) in at91_adc_dma_size_done()
1202 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_dma_start() local
1269 struct at91_adc_state *st) in at91_adc_buffer_check_use_irq()
1282 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_current_chan_is_touch() local
1293 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_buffer_prepare() local
1342 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_buffer_postdisable() local
1428 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_trigger_handler_nodma() local
1484 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_trigger_handler_dma() local
1535 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_trigger_handler() local
1582 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_setup_samp_freq() local
1610 static inline unsigned at91_adc_get_sample_freq(struct at91_adc_state *st) in at91_adc_get_sample_freq()
1617 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_touch_data_handler() local
1647 static void at91_adc_pen_detect_interrupt(struct at91_adc_state *st) in at91_adc_pen_detect_interrupt()
1660 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_no_pen_detect_interrupt() local
1677 struct at91_adc_state *st = container_of(touch_st, in at91_adc_workq_handler() local
1687 struct at91_adc_state *st = iio_priv(indio); in at91_adc_interrupt() local
1737 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_read_info_raw() local
1816 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_read_info_locked() local
1832 static void at91_adc_temp_sensor_configure(struct at91_adc_state *st, in at91_adc_temp_sensor_configure()
1868 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_read_temp() local
1926 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_read_raw() local
1961 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_write_raw() local
2003 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_read_avail() local
2016 static void at91_adc_dma_init(struct at91_adc_state *st) in at91_adc_dma_init()
2077 static void at91_adc_dma_disable(struct at91_adc_state *st) in at91_adc_dma_disable()
2102 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_set_watermark() local
2141 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_update_scan_mode() local
2158 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_hw_init() local
2182 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_get_fifo_state() local
2191 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_get_watermark() local
2224 struct at91_adc_state *st = iio_priv(indio); in at91_adc_buffer_and_trigger_init() local
2259 static int at91_adc_temp_sensor_init(struct at91_adc_state *st, in at91_adc_temp_sensor_init()
2310 struct at91_adc_state *st; in at91_adc_probe() local
2492 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_remove() local
2511 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_suspend() local
2541 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_resume() local
2594 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_runtime_suspend() local
2604 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_runtime_resume() local