Home
last modified time | relevance | path

Searched refs:gafr (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dmfp-pxa2xx.c54 unsigned long gafr, mask = GPIO_bit(gpio); in __mfp_config_gpio() local
65 gafr = (uorl == 0) ? GAFR_L(bank) : GAFR_U(bank); in __mfp_config_gpio()
66 gafr = (gafr & ~(0x3 << shft)) | (fn << shft); in __mfp_config_gpio()
69 GAFR_L(bank) = gafr; in __mfp_config_gpio()
71 GAFR_U(bank) = gafr; in __mfp_config_gpio()
/kernel/linux/linux-5.10/drivers/pinctrl/pxa/
Dpinctrl-pxa2xx.c146 void __iomem *gafr, *gpdr; in pxa2xx_pmx_set_mux() local
156 gafr = pctl->base_gafr[pin / 16]; in pxa2xx_pmx_set_mux()
164 val = readl_relaxed(gafr); in pxa2xx_pmx_set_mux()
166 writel_relaxed(val, gafr); in pxa2xx_pmx_set_mux()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-intel-mid.c89 void __iomem *gafr = gpio_reg_2bit(chip, offset, GAFR); in intel_gpio_request() local
90 u32 value = readl(gafr); in intel_gpio_request()
95 writel(value, gafr); in intel_gpio_request()
Dgpio-pxa.c203 unsigned long gafr = 0, gpdr = 0; in __gpio_is_occupied() local
213 gafr = readl_relaxed(base + GAFR_OFFSET); in __gpio_is_occupied()
214 af = (gafr >> ((gpio & 0xf) * 2)) & 0x3; in __gpio_is_occupied()