Lines Matching refs:communities

119 	     __ci < pctrl->ncommunities && (community = &pctrl->communities[__ci]);	\
1487 struct intel_community_context *communities; in intel_pinctrl_pm_init() local
1495 communities = devm_kcalloc(pctrl->dev, pctrl->ncommunities, in intel_pinctrl_pm_init()
1496 sizeof(*communities), GFP_KERNEL); in intel_pinctrl_pm_init()
1497 if (!communities) in intel_pinctrl_pm_init()
1502 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_pm_init()
1510 communities[i].intmask = intmask; in intel_pinctrl_pm_init()
1517 communities[i].hostown = hostown; in intel_pinctrl_pm_init()
1521 pctrl->context.communities = communities; in intel_pinctrl_pm_init()
1568 pctrl->communities = devm_kcalloc(dev, pctrl->ncommunities, in intel_pinctrl_probe()
1569 sizeof(*pctrl->communities), GFP_KERNEL); in intel_pinctrl_probe()
1570 if (!pctrl->communities) in intel_pinctrl_probe()
1574 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_probe()
1579 *community = pctrl->soc->communities[i]; in intel_pinctrl_probe()
1773 struct intel_community_context *communities; in intel_pinctrl_suspend_noirq() local
1796 communities = pctrl->context.communities; in intel_pinctrl_suspend_noirq()
1798 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_suspend_noirq()
1804 communities[i].intmask[gpp] = readl(base + gpp * 4); in intel_pinctrl_suspend_noirq()
1808 communities[i].hostown[gpp] = readl(base + gpp * 4); in intel_pinctrl_suspend_noirq()
1831 const struct intel_community *community = &pctrl->communities[c]; in intel_restore_hostown()
1882 const struct intel_community_context *communities; in intel_pinctrl_resume_noirq() local
1906 communities = pctrl->context.communities; in intel_pinctrl_resume_noirq()
1908 struct intel_community *community = &pctrl->communities[i]; in intel_pinctrl_resume_noirq()
1914 intel_restore_intmask(pctrl, i, base, gpp, communities[i].intmask[gpp]); in intel_pinctrl_resume_noirq()
1918 intel_restore_hostown(pctrl, i, base, gpp, communities[i].hostown[gpp]); in intel_pinctrl_resume_noirq()