Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dnpcm_adc.c180 u32 reg_con; in npcm_adc_probe() local
207 reg_con = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_probe()
208 div = reg_con & NPCM_ADCCON_DIV_MASK; in npcm_adc_probe()
225 reg_con = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_probe()
234 iowrite32(reg_con & ~NPCM_ADCCON_REFSEL, in npcm_adc_probe()
247 iowrite32(reg_con | NPCM_ADCCON_REFSEL, in npcm_adc_probe()
253 reg_con = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_probe()
254 reg_con |= NPCM_ADC_ENABLE; in npcm_adc_probe()
257 iowrite32(reg_con, info->regs + NPCM_ADCCON); in npcm_adc_probe()
260 iowrite32(reg_con | NPCM_ADCCON_ADC_CONV, info->regs + NPCM_ADCCON); in npcm_adc_probe()
[all …]
/drivers/pinctrl/samsung/
Dpinctrl-exynos.c116 unsigned long reg_con = our_chip->eint_con + bank->eint_offset; in exynos_irq_set_type() local
144 con = readl(bank->eint_base + reg_con); in exynos_irq_set_type()
147 writel(con, bank->eint_base + reg_con); in exynos_irq_set_type()
156 unsigned long reg_con, flags; in exynos_irq_request_resources() local
168 reg_con = bank->pctl_offset + bank_type->reg_offset[PINCFG_TYPE_FUNC]; in exynos_irq_request_resources()
174 con = readl(bank->pctl_base + reg_con); in exynos_irq_request_resources()
177 writel(con, bank->pctl_base + reg_con); in exynos_irq_request_resources()
188 unsigned long reg_con, flags; in exynos_irq_release_resources() local
191 reg_con = bank->pctl_offset + bank_type->reg_offset[PINCFG_TYPE_FUNC]; in exynos_irq_release_resources()
197 con = readl(bank->pctl_base + reg_con); in exynos_irq_release_resources()
[all …]