Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dstm32-adc.c179 const struct stm32_adc_regs *sqr; member
421 .sqr = stm32f4_sq,
515 .sqr = stm32h7_sq,
536 .sqr = stm32h7_sq,
557 .sqr = stm32h7_sq,
1255 const struct stm32_adc_regs *sqr = adc->cfg->regs->sqr; in stm32_adc_conf_scan_seq() local
1277 val = stm32_adc_readl(adc, sqr[i].reg); in stm32_adc_conf_scan_seq()
1278 val &= ~sqr[i].mask; in stm32_adc_conf_scan_seq()
1279 val |= chan->channel << sqr[i].shift; in stm32_adc_conf_scan_seq()
1280 stm32_adc_writel(adc, sqr[i].reg, val); in stm32_adc_conf_scan_seq()
[all …]