padcfg0 665 drivers/pinctrl/intel/pinctrl-baytrail.c void __iomem *padcfg0; padcfg0 668 drivers/pinctrl/intel/pinctrl-baytrail.c padcfg0 = byt_gpio_reg(vg, group.pins[i], BYT_CONF0_REG); padcfg0 669 drivers/pinctrl/intel/pinctrl-baytrail.c if (!padcfg0) { padcfg0 676 drivers/pinctrl/intel/pinctrl-baytrail.c value = readl(padcfg0); padcfg0 679 drivers/pinctrl/intel/pinctrl-baytrail.c writel(value, padcfg0); padcfg0 695 drivers/pinctrl/intel/pinctrl-baytrail.c void __iomem *padcfg0; padcfg0 698 drivers/pinctrl/intel/pinctrl-baytrail.c padcfg0 = byt_gpio_reg(vg, group.pins[i], BYT_CONF0_REG); padcfg0 699 drivers/pinctrl/intel/pinctrl-baytrail.c if (!padcfg0) { padcfg0 706 drivers/pinctrl/intel/pinctrl-baytrail.c value = readl(padcfg0); padcfg0 709 drivers/pinctrl/intel/pinctrl-baytrail.c writel(value, padcfg0); padcfg0 78 drivers/pinctrl/intel/pinctrl-intel.c u32 padcfg0; padcfg0 426 drivers/pinctrl/intel/pinctrl-intel.c void __iomem *padcfg0; padcfg0 429 drivers/pinctrl/intel/pinctrl-intel.c padcfg0 = intel_get_padcfg(pctrl, grp->pins[i], PADCFG0); padcfg0 430 drivers/pinctrl/intel/pinctrl-intel.c value = readl(padcfg0); padcfg0 439 drivers/pinctrl/intel/pinctrl-intel.c writel(value, padcfg0); padcfg0 447 drivers/pinctrl/intel/pinctrl-intel.c static void __intel_gpio_set_direction(void __iomem *padcfg0, bool input) padcfg0 451 drivers/pinctrl/intel/pinctrl-intel.c value = readl(padcfg0); padcfg0 459 drivers/pinctrl/intel/pinctrl-intel.c writel(value, padcfg0); padcfg0 462 drivers/pinctrl/intel/pinctrl-intel.c static int intel_gpio_get_gpio_mode(void __iomem *padcfg0) padcfg0 464 drivers/pinctrl/intel/pinctrl-intel.c return (readl(padcfg0) & PADCFG0_PMODE_MASK) >> PADCFG0_PMODE_SHIFT; padcfg0 467 drivers/pinctrl/intel/pinctrl-intel.c static void intel_gpio_set_gpio_mode(void __iomem *padcfg0) padcfg0 472 drivers/pinctrl/intel/pinctrl-intel.c value = readl(padcfg0) & ~PADCFG0_PMODE_MASK; padcfg0 476 drivers/pinctrl/intel/pinctrl-intel.c writel(value, padcfg0); padcfg0 484 drivers/pinctrl/intel/pinctrl-intel.c void __iomem *padcfg0; padcfg0 499 drivers/pinctrl/intel/pinctrl-intel.c padcfg0 = intel_get_padcfg(pctrl, pin, PADCFG0); padcfg0 507 drivers/pinctrl/intel/pinctrl-intel.c if (intel_gpio_get_gpio_mode(padcfg0) == PADCFG0_PMODE_GPIO) { padcfg0 512 drivers/pinctrl/intel/pinctrl-intel.c intel_gpio_set_gpio_mode(padcfg0); padcfg0 515 drivers/pinctrl/intel/pinctrl-intel.c __intel_gpio_set_direction(padcfg0, true); padcfg0 527 drivers/pinctrl/intel/pinctrl-intel.c void __iomem *padcfg0; padcfg0 532 drivers/pinctrl/intel/pinctrl-intel.c padcfg0 = intel_get_padcfg(pctrl, pin, PADCFG0); padcfg0 533 drivers/pinctrl/intel/pinctrl-intel.c __intel_gpio_set_direction(padcfg0, input); padcfg0 719 drivers/pinctrl/intel/pinctrl-intel.c void __iomem *padcfg0, *padcfg2; padcfg0 728 drivers/pinctrl/intel/pinctrl-intel.c padcfg0 = intel_get_padcfg(pctrl, pin, PADCFG0); padcfg0 732 drivers/pinctrl/intel/pinctrl-intel.c value0 = readl(padcfg0); padcfg0 754 drivers/pinctrl/intel/pinctrl-intel.c writel(value0, padcfg0); padcfg0 882 drivers/pinctrl/intel/pinctrl-intel.c u32 padcfg0; padcfg0 893 drivers/pinctrl/intel/pinctrl-intel.c padcfg0 = readl(reg); padcfg0 894 drivers/pinctrl/intel/pinctrl-intel.c if (!(padcfg0 & PADCFG0_GPIOTXDIS)) padcfg0 895 drivers/pinctrl/intel/pinctrl-intel.c return !!(padcfg0 & PADCFG0_GPIOTXSTATE); padcfg0 897 drivers/pinctrl/intel/pinctrl-intel.c return !!(padcfg0 & PADCFG0_GPIORXSTATE); padcfg0 906 drivers/pinctrl/intel/pinctrl-intel.c u32 padcfg0; padcfg0 918 drivers/pinctrl/intel/pinctrl-intel.c padcfg0 = readl(reg); padcfg0 920 drivers/pinctrl/intel/pinctrl-intel.c padcfg0 |= PADCFG0_GPIOTXSTATE; padcfg0 922 drivers/pinctrl/intel/pinctrl-intel.c padcfg0 &= ~PADCFG0_GPIOTXSTATE; padcfg0 923 drivers/pinctrl/intel/pinctrl-intel.c writel(padcfg0, reg); padcfg0 931 drivers/pinctrl/intel/pinctrl-intel.c u32 padcfg0; padcfg0 942 drivers/pinctrl/intel/pinctrl-intel.c padcfg0 = readl(reg); padcfg0 944 drivers/pinctrl/intel/pinctrl-intel.c if (padcfg0 & PADCFG0_PMODE_MASK) padcfg0 947 drivers/pinctrl/intel/pinctrl-intel.c return !!(padcfg0 & PADCFG0_GPIOTXDIS); padcfg0 1537 drivers/pinctrl/intel/pinctrl-intel.c pads[i].padcfg0 = val & ~PADCFG0_GPIORXSTATE; padcfg0 1631 drivers/pinctrl/intel/pinctrl-intel.c if (val != pads[i].padcfg0) { padcfg0 1632 drivers/pinctrl/intel/pinctrl-intel.c writel(pads[i].padcfg0, padcfg);