Lines Matching refs:gpps

115 		const struct intel_padgroup *padgrp = &community->gpps[i];  in intel_community_get_padgroup()
866 const struct intel_padgroup *pgrp = &comm->gpps[j]; in intel_gpio_to_pin()
1164 const struct intel_padgroup *padgrp = &community->gpps[gpp]; in intel_gpio_community_irq_handler()
1216 const struct intel_padgroup *gpp = &community->gpps[i]; in intel_gpio_add_community_ranges()
1258 const struct intel_padgroup *gpp = &community->gpps[j]; in intel_gpio_ngpio()
1327 struct intel_padgroup *gpps; in intel_pinctrl_add_padgroups() local
1332 if (community->gpps) in intel_pinctrl_add_padgroups()
1337 gpps = devm_kcalloc(pctrl->dev, ngpps, sizeof(*gpps), GFP_KERNEL); in intel_pinctrl_add_padgroups()
1338 if (!gpps) in intel_pinctrl_add_padgroups()
1342 if (community->gpps) { in intel_pinctrl_add_padgroups()
1343 gpps[i] = community->gpps[i]; in intel_pinctrl_add_padgroups()
1347 gpps[i].reg_num = i; in intel_pinctrl_add_padgroups()
1348 gpps[i].base = community->pin_base + i * gpp_size; in intel_pinctrl_add_padgroups()
1349 gpps[i].size = min(gpp_size, npins); in intel_pinctrl_add_padgroups()
1350 npins -= gpps[i].size; in intel_pinctrl_add_padgroups()
1353 if (gpps[i].size > 32) in intel_pinctrl_add_padgroups()
1357 switch (gpps[i].gpio_base) { in intel_pinctrl_add_padgroups()
1359 gpps[i].gpio_base = gpps[i].base; in intel_pinctrl_add_padgroups()
1362 gpps[i].gpio_base = 0; in intel_pinctrl_add_padgroups()
1369 gpps[i].padown_num = padown_num; in intel_pinctrl_add_padgroups()
1378 padown_num += DIV_ROUND_UP(gpps[i].size * 4, 32); in intel_pinctrl_add_padgroups()
1382 community->gpps = gpps; in intel_pinctrl_add_padgroups()
1681 const struct intel_padgroup *padgrp = &community->gpps[gpp]; in intel_restore_hostown()