Home
last modified time | relevance | path

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

/drivers/iio/adc/
A 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/
A Dpinctrl-exynos.c161 unsigned long reg_con; in exynos_irq_set_type() local
191 reg_con = bank->pctl_offset + bank->eint_con_offset; in exynos_irq_set_type()
193 reg_con = our_chip->eint_con + bank->eint_offset; in exynos_irq_set_type()
202 con = readl(bank->eint_base + reg_con); in exynos_irq_set_type()
205 writel(con, bank->eint_base + reg_con); in exynos_irq_set_type()
229 unsigned long reg_con, flags; in exynos_irq_request_resources() local
255 con = readl(bank->pctl_base + reg_con); in exynos_irq_request_resources()
258 writel(con, bank->pctl_base + reg_con); in exynos_irq_request_resources()
271 unsigned long reg_con, flags; in exynos_irq_release_resources() local
287 con = readl(bank->pctl_base + reg_con); in exynos_irq_release_resources()
[all …]

Completed in 7 milliseconds