Searched refs:gafr (Results 1 – 4 of 4) sorted by relevance
54 unsigned long gafr, mask = GPIO_bit(gpio); in __mfp_config_gpio() local65 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()
146 void __iomem *gafr, *gpdr; in pxa2xx_pmx_set_mux() local156 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()
89 void __iomem *gafr = gpio_reg_2bit(chip, offset, GAFR); in intel_gpio_request() local90 u32 value = readl(gafr); in intel_gpio_request()95 writel(value, gafr); in intel_gpio_request()
203 unsigned long gafr = 0, gpdr = 0; in __gpio_is_occupied() local213 gafr = readl_relaxed(base + GAFR_OFFSET); in __gpio_is_occupied()214 af = (gafr >> ((gpio & 0xf) * 2)) & 0x3; in __gpio_is_occupied()