Lines Matching refs:communities
116 community = &pctrl->communities[i]; in intel_get_community()
898 const struct intel_community *comm = &pctrl->communities[i]; in intel_gpio_to_pin()
1254 community = &pctrl->communities[i]; in intel_gpio_irq()
1270 community = &pctrl->communities[i]; in intel_gpio_irq_init()
1321 struct intel_community *community = &pctrl->communities[i]; in intel_gpio_add_pin_ranges()
1340 community = &pctrl->communities[i]; in intel_gpio_ngpio()
1480 struct intel_community_context *communities; in intel_pinctrl_pm_init() local
1488 communities = devm_kcalloc(pctrl->dev, pctrl->ncommunities, in intel_pinctrl_pm_init()
1489 sizeof(*communities), GFP_KERNEL); in intel_pinctrl_pm_init()
1490 if (!communities) in intel_pinctrl_pm_init()
1495 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_pm_init()
1503 communities[i].intmask = intmask; in intel_pinctrl_pm_init()
1510 communities[i].hostown = hostown; in intel_pinctrl_pm_init()
1514 pctrl->context.communities = communities; in intel_pinctrl_pm_init()
1561 pctrl->communities = devm_kcalloc(dev, pctrl->ncommunities, in intel_pinctrl_probe()
1562 sizeof(*pctrl->communities), GFP_KERNEL); in intel_pinctrl_probe()
1563 if (!pctrl->communities) in intel_pinctrl_probe()
1567 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_probe()
1572 *community = pctrl->soc->communities[i]; in intel_pinctrl_probe()
1766 struct intel_community_context *communities; in intel_pinctrl_suspend_noirq() local
1789 communities = pctrl->context.communities; in intel_pinctrl_suspend_noirq()
1791 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_suspend_noirq()
1797 communities[i].intmask[gpp] = readl(base + gpp * 4); in intel_pinctrl_suspend_noirq()
1801 communities[i].hostown[gpp] = readl(base + gpp * 4); in intel_pinctrl_suspend_noirq()
1825 const struct intel_community *community = &pctrl->communities[c]; in intel_restore_hostown()
1876 const struct intel_community_context *communities; in intel_pinctrl_resume_noirq() local
1900 communities = pctrl->context.communities; in intel_pinctrl_resume_noirq()
1902 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_resume_noirq()
1908 intel_restore_intmask(pctrl, i, base, gpp, communities[i].intmask[gpp]); in intel_pinctrl_resume_noirq()
1912 intel_restore_hostown(pctrl, i, base, gpp, communities[i].hostown[gpp]); in intel_pinctrl_resume_noirq()