Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dnpcm_adc.c208 u32 reg_con; in npcm_adc_probe() local
241 reg_con = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_probe()
242 div = reg_con & NPCM_ADCCON_DIV_MASK; in npcm_adc_probe()
259 reg_con = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_probe()
268 iowrite32(reg_con & ~NPCM_ADCCON_REFSEL, in npcm_adc_probe()
281 iowrite32(reg_con | NPCM_ADCCON_REFSEL, in npcm_adc_probe()
287 reg_con = ioread32(info->regs + NPCM_ADCCON); in npcm_adc_probe()
288 reg_con |= NPCM_ADC_ENABLE; in npcm_adc_probe()
291 iowrite32(reg_con, info->regs + NPCM_ADCCON); in npcm_adc_probe()
294 iowrite32(reg_con | NPCM_ADCCON_ADC_CONV, info->regs + NPCM_ADCCON); in npcm_adc_probe()
[all …]
/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 …]