Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/pinctrl/intel/
Dpinctrl-intel.c78 u32 padcfg0; member
426 void __iomem *padcfg0; in intel_pinmux_set_mux() local
429 padcfg0 = intel_get_padcfg(pctrl, grp->pins[i], PADCFG0); in intel_pinmux_set_mux()
430 value = readl(padcfg0); in intel_pinmux_set_mux()
439 writel(value, padcfg0); in intel_pinmux_set_mux()
447 static void __intel_gpio_set_direction(void __iomem *padcfg0, bool input) in __intel_gpio_set_direction() argument
451 value = readl(padcfg0); in __intel_gpio_set_direction()
459 writel(value, padcfg0); in __intel_gpio_set_direction()
462 static int intel_gpio_get_gpio_mode(void __iomem *padcfg0) in intel_gpio_get_gpio_mode() argument
464 return (readl(padcfg0) & PADCFG0_PMODE_MASK) >> PADCFG0_PMODE_SHIFT; in intel_gpio_get_gpio_mode()
[all …]
Dpinctrl-baytrail.c664 void __iomem *padcfg0; in byt_set_group_simple_mux() local
667 padcfg0 = byt_gpio_reg(vg, group.pins[i], BYT_CONF0_REG); in byt_set_group_simple_mux()
668 if (!padcfg0) { in byt_set_group_simple_mux()
675 value = readl(padcfg0); in byt_set_group_simple_mux()
678 writel(value, padcfg0); in byt_set_group_simple_mux()
694 void __iomem *padcfg0; in byt_set_group_mixed_mux() local
697 padcfg0 = byt_gpio_reg(vg, group.pins[i], BYT_CONF0_REG); in byt_set_group_mixed_mux()
698 if (!padcfg0) { in byt_set_group_mixed_mux()
705 value = readl(padcfg0); in byt_set_group_mixed_mux()
708 writel(value, padcfg0); in byt_set_group_mixed_mux()