Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/adc/
Dnpcm_adc.c185 u32 reg_con; in npcm_adc_probe() local
211 reg_con = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_probe()
212 div = reg_con & NPCM_ADCCON_DIV_MASK; in npcm_adc_probe()
239 reg_con = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_probe()
248 iowrite32(reg_con & ~NPCM_ADCCON_REFSEL, in npcm_adc_probe()
261 iowrite32(reg_con | NPCM_ADCCON_REFSEL, in npcm_adc_probe()
267 reg_con = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_probe()
268 reg_con |= NPCM_ADC_ENABLE; in npcm_adc_probe()
271 iowrite32(reg_con, info->regs + NPCM_ADCCON); in npcm_adc_probe()
274 iowrite32(reg_con | NPCM_ADCCON_ADC_CONV, info->regs + NPCM_ADCCON); in npcm_adc_probe()
[all …]
/Linux-v5.4/drivers/pinctrl/samsung/
Dpinctrl-exynos.c114 unsigned long reg_con = our_chip->eint_con + bank->eint_offset; in exynos_irq_set_type() local
142 con = readl(bank->eint_base + reg_con); in exynos_irq_set_type()
145 writel(con, bank->eint_base + reg_con); in exynos_irq_set_type()
154 unsigned long reg_con, flags; in exynos_irq_request_resources() local
166 reg_con = bank->pctl_offset + bank_type->reg_offset[PINCFG_TYPE_FUNC]; in exynos_irq_request_resources()
172 con = readl(bank->pctl_base + reg_con); in exynos_irq_request_resources()
175 writel(con, bank->pctl_base + reg_con); in exynos_irq_request_resources()
186 unsigned long reg_con, flags; in exynos_irq_release_resources() local
189 reg_con = bank->pctl_offset + bank_type->reg_offset[PINCFG_TYPE_FUNC]; in exynos_irq_release_resources()
195 con = readl(bank->pctl_base + reg_con); in exynos_irq_release_resources()
[all …]