community         169 drivers/pinctrl/intel/pinctrl-cherryview.c 	const struct chv_community *community;
community         698 drivers/pinctrl/intel/pinctrl-cherryview.c 	return pctrl->community->ngroups;
community         706 drivers/pinctrl/intel/pinctrl-cherryview.c 	return pctrl->community->groups[group].name;
community         714 drivers/pinctrl/intel/pinctrl-cherryview.c 	*pins = pctrl->community->groups[group].pins;
community         715 drivers/pinctrl/intel/pinctrl-cherryview.c 	*npins = pctrl->community->groups[group].npins;
community         763 drivers/pinctrl/intel/pinctrl-cherryview.c 	return pctrl->community->nfunctions;
community         771 drivers/pinctrl/intel/pinctrl-cherryview.c 	return pctrl->community->functions[function].name;
community         781 drivers/pinctrl/intel/pinctrl-cherryview.c 	*groups = pctrl->community->functions[function].groups;
community         782 drivers/pinctrl/intel/pinctrl-cherryview.c 	*ngroups = pctrl->community->functions[function].ngroups;
community         794 drivers/pinctrl/intel/pinctrl-cherryview.c 	grp = &pctrl->community->groups[group];
community        1486 drivers/pinctrl/intel/pinctrl-cherryview.c 	for_each_set_bit(intr_line, &pending, pctrl->community->nirqs) {
community        1543 drivers/pinctrl/intel/pinctrl-cherryview.c 	const struct chv_community *community = pctrl->community;
community        1547 drivers/pinctrl/intel/pinctrl-cherryview.c 	for (i = 0; i < community->npins; i++) {
community        1551 drivers/pinctrl/intel/pinctrl-cherryview.c 		desc = &community->pins[i];
community        1557 drivers/pinctrl/intel/pinctrl-cherryview.c 		if (intsel >= community->nirqs)
community        1567 drivers/pinctrl/intel/pinctrl-cherryview.c 	const struct chv_community *community = pctrl->community;
community        1572 drivers/pinctrl/intel/pinctrl-cherryview.c 	chip->ngpio = community->pins[community->npins - 1].number + 1;
community        1585 drivers/pinctrl/intel/pinctrl-cherryview.c 	for (i = 0; i < community->ngpio_ranges; i++) {
community        1586 drivers/pinctrl/intel/pinctrl-cherryview.c 		range = &community->gpio_ranges[i];
community        1608 drivers/pinctrl/intel/pinctrl-cherryview.c 		chv_writel(GENMASK(31, pctrl->community->nirqs),
community        1617 drivers/pinctrl/intel/pinctrl-cherryview.c 						community->npins, NUMA_NO_NODE);
community        1640 drivers/pinctrl/intel/pinctrl-cherryview.c 		for (i = 0; i < community->ngpio_ranges; i++) {
community        1641 drivers/pinctrl/intel/pinctrl-cherryview.c 			range = &community->gpio_ranges[i];
community        1693 drivers/pinctrl/intel/pinctrl-cherryview.c 			pctrl->community = chv_communities[i];
community        1703 drivers/pinctrl/intel/pinctrl-cherryview.c 		pctrl->community->npins, sizeof(*pctrl->saved_pin_context),
community        1719 drivers/pinctrl/intel/pinctrl-cherryview.c 	pctrl->pctldesc.pins = pctrl->community->pins;
community        1720 drivers/pinctrl/intel/pinctrl-cherryview.c 	pctrl->pctldesc.npins = pctrl->community->npins;
community        1734 drivers/pinctrl/intel/pinctrl-cherryview.c 					pctrl->community->acpi_space_id,
community        1750 drivers/pinctrl/intel/pinctrl-cherryview.c 					  pctrl->community->acpi_space_id,
community        1767 drivers/pinctrl/intel/pinctrl-cherryview.c 	for (i = 0; i < pctrl->community->npins; i++) {
community        1772 drivers/pinctrl/intel/pinctrl-cherryview.c 		desc = &pctrl->community->pins[i];
community        1805 drivers/pinctrl/intel/pinctrl-cherryview.c 	for (i = 0; i < pctrl->community->npins; i++) {
community        1811 drivers/pinctrl/intel/pinctrl-cherryview.c 		desc = &pctrl->community->pins[i];
community         127 drivers/pinctrl/intel/pinctrl-intel.c 	struct intel_community *community;
community         131 drivers/pinctrl/intel/pinctrl-intel.c 		community = &pctrl->communities[i];
community         132 drivers/pinctrl/intel/pinctrl-intel.c 		if (pin >= community->pin_base &&
community         133 drivers/pinctrl/intel/pinctrl-intel.c 		    pin < community->pin_base + community->npins)
community         134 drivers/pinctrl/intel/pinctrl-intel.c 			return community;
community         142 drivers/pinctrl/intel/pinctrl-intel.c intel_community_get_padgroup(const struct intel_community *community,
community         147 drivers/pinctrl/intel/pinctrl-intel.c 	for (i = 0; i < community->ngpps; i++) {
community         148 drivers/pinctrl/intel/pinctrl-intel.c 		const struct intel_padgroup *padgrp = &community->gpps[i];
community         160 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_community *community;
community         164 drivers/pinctrl/intel/pinctrl-intel.c 	community = intel_get_community(pctrl, pin);
community         165 drivers/pinctrl/intel/pinctrl-intel.c 	if (!community)
community         168 drivers/pinctrl/intel/pinctrl-intel.c 	padno = pin_to_padno(community, pin);
community         169 drivers/pinctrl/intel/pinctrl-intel.c 	nregs = (community->features & PINCTRL_FEATURE_DEBOUNCE) ? 4 : 2;
community         174 drivers/pinctrl/intel/pinctrl-intel.c 	return community->pad_regs + reg + padno * nregs * 4;
community         179 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_community *community;
community         184 drivers/pinctrl/intel/pinctrl-intel.c 	community = intel_get_community(pctrl, pin);
community         185 drivers/pinctrl/intel/pinctrl-intel.c 	if (!community)
community         187 drivers/pinctrl/intel/pinctrl-intel.c 	if (!community->padown_offset)
community         190 drivers/pinctrl/intel/pinctrl-intel.c 	padgrp = intel_community_get_padgroup(community, pin);
community         196 drivers/pinctrl/intel/pinctrl-intel.c 	offset = community->padown_offset + padgrp->padown_num * 4 + gpp * 4;
community         197 drivers/pinctrl/intel/pinctrl-intel.c 	padown = community->regs + offset;
community         204 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_community *community;
community         209 drivers/pinctrl/intel/pinctrl-intel.c 	community = intel_get_community(pctrl, pin);
community         210 drivers/pinctrl/intel/pinctrl-intel.c 	if (!community)
community         212 drivers/pinctrl/intel/pinctrl-intel.c 	if (!community->hostown_offset)
community         215 drivers/pinctrl/intel/pinctrl-intel.c 	padgrp = intel_community_get_padgroup(community, pin);
community         220 drivers/pinctrl/intel/pinctrl-intel.c 	offset = community->hostown_offset + padgrp->reg_num * 4;
community         221 drivers/pinctrl/intel/pinctrl-intel.c 	hostown = community->regs + offset;
community         247 drivers/pinctrl/intel/pinctrl-intel.c 	struct intel_community *community;
community         253 drivers/pinctrl/intel/pinctrl-intel.c 	community = intel_get_community(pctrl, pin);
community         254 drivers/pinctrl/intel/pinctrl-intel.c 	if (!community)
community         256 drivers/pinctrl/intel/pinctrl-intel.c 	if (!community->padcfglock_offset)
community         259 drivers/pinctrl/intel/pinctrl-intel.c 	padgrp = intel_community_get_padgroup(community, pin);
community         270 drivers/pinctrl/intel/pinctrl-intel.c 	offset = community->padcfglock_offset + 0 + padgrp->reg_num * 8;
community         271 drivers/pinctrl/intel/pinctrl-intel.c 	value = readl(community->regs + offset);
community         275 drivers/pinctrl/intel/pinctrl-intel.c 	offset = community->padcfglock_offset + 4 + padgrp->reg_num * 8;
community         276 drivers/pinctrl/intel/pinctrl-intel.c 	value = readl(community->regs + offset);
community         554 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_community *community;
community         561 drivers/pinctrl/intel/pinctrl-intel.c 	community = intel_get_community(pctrl, pin);
community         598 drivers/pinctrl/intel/pinctrl-intel.c 			if (!(community->features & PINCTRL_FEATURE_1K_PD))
community         643 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_community *community;
community         651 drivers/pinctrl/intel/pinctrl-intel.c 	community = intel_get_community(pctrl, pin);
community         695 drivers/pinctrl/intel/pinctrl-intel.c 			if (!(community->features & PINCTRL_FEATURE_1K_PD)) {
community         822 drivers/pinctrl/intel/pinctrl-intel.c 			     const struct intel_community **community,
community         842 drivers/pinctrl/intel/pinctrl-intel.c 				if (community)
community         843 drivers/pinctrl/intel/pinctrl-intel.c 					*community = comm;
community         864 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_community *community;
community         867 drivers/pinctrl/intel/pinctrl-intel.c 	community = intel_get_community(pctrl, pin);
community         868 drivers/pinctrl/intel/pinctrl-intel.c 	if (!community)
community         871 drivers/pinctrl/intel/pinctrl-intel.c 	padgrp = intel_community_get_padgroup(community, pin);
community         978 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_community *community;
community         982 drivers/pinctrl/intel/pinctrl-intel.c 	pin = intel_gpio_to_pin(pctrl, irqd_to_hwirq(d), &community, &padgrp);
community         988 drivers/pinctrl/intel/pinctrl-intel.c 		is_offset = community->is_offset + gpp * 4;
community         991 drivers/pinctrl/intel/pinctrl-intel.c 		writel(BIT(gpp_offset), community->regs + is_offset);
community        1000 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_community *community;
community        1004 drivers/pinctrl/intel/pinctrl-intel.c 	pin = intel_gpio_to_pin(pctrl, irqd_to_hwirq(d), &community, &padgrp);
community        1014 drivers/pinctrl/intel/pinctrl-intel.c 		reg = community->regs + community->ie_offset + gpp * 4;
community        1015 drivers/pinctrl/intel/pinctrl-intel.c 		is = community->regs + community->is_offset + gpp * 4;
community        1115 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_community *community)
community        1121 drivers/pinctrl/intel/pinctrl-intel.c 	for (gpp = 0; gpp < community->ngpps; gpp++) {
community        1122 drivers/pinctrl/intel/pinctrl-intel.c 		const struct intel_padgroup *padgrp = &community->gpps[gpp];
community        1125 drivers/pinctrl/intel/pinctrl-intel.c 		pending = readl(community->regs + community->is_offset +
community        1127 drivers/pinctrl/intel/pinctrl-intel.c 		enabled = readl(community->regs + community->ie_offset +
community        1149 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_community *community;
community        1156 drivers/pinctrl/intel/pinctrl-intel.c 		community = &pctrl->communities[i];
community        1157 drivers/pinctrl/intel/pinctrl-intel.c 		ret |= intel_gpio_community_irq_handler(pctrl, community);
community        1164 drivers/pinctrl/intel/pinctrl-intel.c 				     const struct intel_community *community)
community        1168 drivers/pinctrl/intel/pinctrl-intel.c 	for (i = 0; i < community->ngpps; i++) {
community        1169 drivers/pinctrl/intel/pinctrl-intel.c 		const struct intel_padgroup *gpp = &community->gpps[i];
community        1186 drivers/pinctrl/intel/pinctrl-intel.c 	const struct intel_community *community;
community        1191 drivers/pinctrl/intel/pinctrl-intel.c 		community = &pctrl->communities[i];
community        1192 drivers/pinctrl/intel/pinctrl-intel.c 		for (j = 0; j < community->ngpps; j++) {
community        1193 drivers/pinctrl/intel/pinctrl-intel.c 			const struct intel_padgroup *gpp = &community->gpps[j];
community        1235 drivers/pinctrl/intel/pinctrl-intel.c 		struct intel_community *community = &pctrl->communities[i];
community        1237 drivers/pinctrl/intel/pinctrl-intel.c 		ret = intel_gpio_add_pin_ranges(pctrl, community);
community        1269 drivers/pinctrl/intel/pinctrl-intel.c 				       struct intel_community *community)
community        1272 drivers/pinctrl/intel/pinctrl-intel.c 	unsigned int npins = community->npins;
community        1276 drivers/pinctrl/intel/pinctrl-intel.c 	if (community->gpps)
community        1277 drivers/pinctrl/intel/pinctrl-intel.c 		ngpps = community->ngpps;
community        1279 drivers/pinctrl/intel/pinctrl-intel.c 		ngpps = DIV_ROUND_UP(community->npins, community->gpp_size);
community        1286 drivers/pinctrl/intel/pinctrl-intel.c 		if (community->gpps) {
community        1287 drivers/pinctrl/intel/pinctrl-intel.c 			gpps[i] = community->gpps[i];
community        1289 drivers/pinctrl/intel/pinctrl-intel.c 			unsigned int gpp_size = community->gpp_size;
community        1292 drivers/pinctrl/intel/pinctrl-intel.c 			gpps[i].base = community->pin_base + i * gpp_size;
community        1309 drivers/pinctrl/intel/pinctrl-intel.c 		if (community->gpp_num_padown_regs)
community        1310 drivers/pinctrl/intel/pinctrl-intel.c 			padown_num += community->gpp_num_padown_regs;
community        1315 drivers/pinctrl/intel/pinctrl-intel.c 	community->ngpps = ngpps;
community        1316 drivers/pinctrl/intel/pinctrl-intel.c 	community->gpps = gpps;
community        1340 drivers/pinctrl/intel/pinctrl-intel.c 		struct intel_community *community = &pctrl->communities[i];
community        1343 drivers/pinctrl/intel/pinctrl-intel.c 		intmask = devm_kcalloc(pctrl->dev, community->ngpps,
community        1350 drivers/pinctrl/intel/pinctrl-intel.c 		hostown = devm_kcalloc(pctrl->dev, community->ngpps,
community        1393 drivers/pinctrl/intel/pinctrl-intel.c 		struct intel_community *community = &pctrl->communities[i];
community        1397 drivers/pinctrl/intel/pinctrl-intel.c 		*community = pctrl->soc->communities[i];
community        1399 drivers/pinctrl/intel/pinctrl-intel.c 		regs = devm_platform_ioremap_resource(pdev, community->barno);
community        1407 drivers/pinctrl/intel/pinctrl-intel.c 		if (!community->features) {
community        1412 drivers/pinctrl/intel/pinctrl-intel.c 				community->features |= PINCTRL_FEATURE_DEBOUNCE;
community        1413 drivers/pinctrl/intel/pinctrl-intel.c 				community->features |= PINCTRL_FEATURE_1K_PD;
community        1420 drivers/pinctrl/intel/pinctrl-intel.c 		community->regs = regs;
community        1421 drivers/pinctrl/intel/pinctrl-intel.c 		community->pad_regs = regs + padbar;
community        1423 drivers/pinctrl/intel/pinctrl-intel.c 		ret = intel_pinctrl_add_padgroups(pctrl, community);
community        1548 drivers/pinctrl/intel/pinctrl-intel.c 		struct intel_community *community = &pctrl->communities[i];
community        1552 drivers/pinctrl/intel/pinctrl-intel.c 		base = community->regs + community->ie_offset;
community        1553 drivers/pinctrl/intel/pinctrl-intel.c 		for (gpp = 0; gpp < community->ngpps; gpp++)
community        1556 drivers/pinctrl/intel/pinctrl-intel.c 		base = community->regs + community->hostown_offset;
community        1557 drivers/pinctrl/intel/pinctrl-intel.c 		for (gpp = 0; gpp < community->ngpps; gpp++)
community        1570 drivers/pinctrl/intel/pinctrl-intel.c 		const struct intel_community *community;
community        1574 drivers/pinctrl/intel/pinctrl-intel.c 		community = &pctrl->communities[i];
community        1575 drivers/pinctrl/intel/pinctrl-intel.c 		base = community->regs;
community        1577 drivers/pinctrl/intel/pinctrl-intel.c 		for (gpp = 0; gpp < community->ngpps; gpp++) {
community        1579 drivers/pinctrl/intel/pinctrl-intel.c 			writel(0, base + community->ie_offset + gpp * 4);
community        1580 drivers/pinctrl/intel/pinctrl-intel.c 			writel(0xffff, base + community->is_offset + gpp * 4);
community        1658 drivers/pinctrl/intel/pinctrl-intel.c 		struct intel_community *community = &pctrl->communities[i];
community        1662 drivers/pinctrl/intel/pinctrl-intel.c 		base = community->regs + community->ie_offset;
community        1663 drivers/pinctrl/intel/pinctrl-intel.c 		for (gpp = 0; gpp < community->ngpps; gpp++) {
community        1669 drivers/pinctrl/intel/pinctrl-intel.c 		base = community->regs + community->hostown_offset;
community        1670 drivers/pinctrl/intel/pinctrl-intel.c 		for (gpp = 0; gpp < community->ngpps; gpp++) {
community        1671 drivers/pinctrl/intel/pinctrl-intel.c 			const struct intel_padgroup *padgrp = &community->gpps[gpp];