Home
last modified time | relevance | path

Searched refs:at91_adc_readl (Results 1 – 2 of 2) sorted by relevance

/drivers/iio/adc/
Dat91_adc.c140 #define at91_adc_readl(st, reg) \ macro
255 st->buffer[j] = at91_adc_readl(st, AT91_ADC_CHAN(st, i)); in at91_adc_trigger_handler()
264 at91_adc_readl(st, AT91_ADC_LCDR); in at91_adc_trigger_handler()
280 st->last_value = at91_adc_readl(st, AT91_ADC_CHAN(st, st->chnb)); in handle_adc_eoc_trigger()
299 reg = at91_adc_readl(st, AT91_ADC_TSXPOSR); in at91_ts_sample()
310 reg = at91_adc_readl(st, AT91_ADC_TSYPOSR); in at91_ts_sample()
321 reg = at91_adc_readl(st, AT91_ADC_TSPRESSR); in at91_ts_sample()
353 u32 status = at91_adc_readl(st, st->registers->status_register); in at91_adc_rl_interrupt()
356 status &= at91_adc_readl(st, AT91_ADC_IMR); in at91_adc_rl_interrupt()
362 reg = at91_adc_readl(st, AT91_ADC_MR); in at91_adc_rl_interrupt()
[all …]
Dat91-sama5d2_adc.c182 #define at91_adc_readl(st, reg) readl_relaxed(st->base + reg) macro
266 mr = at91_adc_readl(st, AT91_SAMA5D2_MR); in at91_adc_setup_samp_freq()
281 mr = at91_adc_readl(st, AT91_SAMA5D2_MR); in at91_adc_get_sample_freq()
293 u32 status = at91_adc_readl(st, AT91_SAMA5D2_ISR); in at91_adc_interrupt()
294 u32 imr = at91_adc_readl(st, AT91_SAMA5D2_IMR); in at91_adc_interrupt()
297 st->conversion_value = at91_adc_readl(st, st->chan->address); in at91_adc_interrupt()