Searched refs:sqr (Results 1 – 1 of 1) sorted by relevance
175 const struct stm32_adc_regs *sqr; member401 .sqr = stm32f4_sq,495 .sqr = stm32h7_sq,510 .sqr = stm32h7_sq,1149 const struct stm32_adc_regs *sqr = adc->cfg->regs->sqr; in stm32_adc_conf_scan_seq() local1171 val = stm32_adc_readl(adc, sqr[i].reg); in stm32_adc_conf_scan_seq()1172 val &= ~sqr[i].mask; in stm32_adc_conf_scan_seq()1173 val |= chan->channel << sqr[i].shift; in stm32_adc_conf_scan_seq()1174 stm32_adc_writel(adc, sqr[i].reg, val); in stm32_adc_conf_scan_seq()1181 val = stm32_adc_readl(adc, sqr[0].reg); in stm32_adc_conf_scan_seq()[all …]