Searched refs:at91_adc_readl (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | at91_adc.c | 140 #define at91_adc_readl(st, reg) \ macro 257 st->buffer[j] = at91_adc_readl(st, AT91_ADC_CHAN(st, chan->channel)); in at91_adc_trigger_handler() 266 at91_adc_readl(st, AT91_ADC_LCDR); in at91_adc_trigger_handler() 282 st->last_value = at91_adc_readl(st, AT91_ADC_CHAN(st, st->chnb)); in handle_adc_eoc_trigger() 284 at91_adc_readl(st, AT91_ADC_LCDR); in handle_adc_eoc_trigger() 303 reg = at91_adc_readl(st, AT91_ADC_TSXPOSR); in at91_ts_sample() 314 reg = at91_adc_readl(st, AT91_ADC_TSYPOSR); in at91_ts_sample() 325 reg = at91_adc_readl(st, AT91_ADC_TSPRESSR); in at91_ts_sample() 357 u32 status = at91_adc_readl(st, st->registers->status_register); in at91_adc_rl_interrupt() 360 status &= at91_adc_readl(st, AT91_ADC_IMR); in at91_adc_rl_interrupt() [all …]
|
D | at91-sama5d2_adc.c | 333 #define at91_adc_readl(st, reg) readl_relaxed(st->base + reg) macro 512 unsigned int emr = at91_adc_readl(st, AT91_SAMA5D2_EMR); in at91_adc_config_emr() 619 acr = at91_adc_readl(st, AT91_SAMA5D2_ACR); in at91_adc_configure_touch() 645 val = at91_adc_readl(st, reg); in at91_adc_touch_pos() 681 val = at91_adc_readl(st, AT91_SAMA5D2_PRESSR); in at91_adc_touch_pressure() 732 u32 status = at91_adc_readl(st, AT91_SAMA5D2_TRGR); in at91_adc_configure_trigger() 758 at91_adc_readl(st, AT91_SAMA5D2_LCDR); in at91_adc_reenable_trigger() 922 cor = at91_adc_readl(st, AT91_SAMA5D2_COR); in at91_adc_buffer_prepare() 976 at91_adc_readl(st, chan->address); in at91_adc_buffer_postdisable() 983 at91_adc_readl(st, AT91_SAMA5D2_OVER); in at91_adc_buffer_postdisable() [all …]
|