Lines Matching refs:pads
1453 struct intel_pad_context *pads; in intel_pinctrl_pm_init() local
1456 pads = devm_kcalloc(pctrl->dev, soc->npins, sizeof(*pads), GFP_KERNEL); in intel_pinctrl_pm_init()
1457 if (!pads) in intel_pinctrl_pm_init()
1485 pctrl->context.pads = pads; in intel_pinctrl_pm_init()
1713 struct intel_pad_context *pads; in intel_pinctrl_suspend_noirq() local
1716 pads = pctrl->context.pads; in intel_pinctrl_suspend_noirq()
1726 pads[i].padcfg0 = val & ~PADCFG0_GPIORXSTATE; in intel_pinctrl_suspend_noirq()
1728 pads[i].padcfg1 = val; in intel_pinctrl_suspend_noirq()
1732 pads[i].padcfg2 = readl(padcfg); in intel_pinctrl_suspend_noirq()
1823 const struct intel_pad_context *pads; in intel_pinctrl_resume_noirq() local
1829 pads = pctrl->context.pads; in intel_pinctrl_resume_noirq()
1838 __intel_gpio_is_direct_irq(pads[i].padcfg0))) in intel_pinctrl_resume_noirq()
1841 intel_restore_padcfg(pctrl, desc->number, PADCFG0, pads[i].padcfg0); in intel_pinctrl_resume_noirq()
1842 intel_restore_padcfg(pctrl, desc->number, PADCFG1, pads[i].padcfg1); in intel_pinctrl_resume_noirq()
1843 intel_restore_padcfg(pctrl, desc->number, PADCFG2, pads[i].padcfg2); in intel_pinctrl_resume_noirq()