Searched refs:sqr (Results 1 – 1 of 1) sorted by relevance
237 const struct stm32_adc_regs *sqr; member448 .sqr = stm32f4_sq,540 .sqr = stm32h7_sq,1024 const struct stm32_adc_regs *sqr = adc->cfg->regs->sqr; in stm32_adc_conf_scan_seq() local1046 val = stm32_adc_readl(adc, sqr[i].reg); in stm32_adc_conf_scan_seq()1047 val &= ~sqr[i].mask; in stm32_adc_conf_scan_seq()1048 val |= chan->channel << sqr[i].shift; in stm32_adc_conf_scan_seq()1049 stm32_adc_writel(adc, sqr[i].reg, val); in stm32_adc_conf_scan_seq()1056 val = stm32_adc_readl(adc, sqr[0].reg); in stm32_adc_conf_scan_seq()1057 val &= ~sqr[0].mask; in stm32_adc_conf_scan_seq()[all …]