Lines Matching refs:gpps
115 const struct intel_padgroup *padgrp = &community->gpps[i]; in intel_community_get_padgroup()
868 const struct intel_padgroup *pgrp = &comm->gpps[j]; in intel_gpio_to_pin()
1163 const struct intel_padgroup *padgrp = &community->gpps[gpp]; in intel_gpio_community_irq_handler()
1248 const struct intel_padgroup *gpp = &community->gpps[i]; in intel_gpio_add_community_ranges()
1290 const struct intel_padgroup *gpp = &community->gpps[j]; in intel_gpio_ngpio()
1360 struct intel_padgroup *gpps; in intel_pinctrl_add_padgroups() local
1365 if (community->gpps) in intel_pinctrl_add_padgroups()
1370 gpps = devm_kcalloc(pctrl->dev, ngpps, sizeof(*gpps), GFP_KERNEL); in intel_pinctrl_add_padgroups()
1371 if (!gpps) in intel_pinctrl_add_padgroups()
1375 if (community->gpps) { in intel_pinctrl_add_padgroups()
1376 gpps[i] = community->gpps[i]; in intel_pinctrl_add_padgroups()
1380 gpps[i].reg_num = i; in intel_pinctrl_add_padgroups()
1381 gpps[i].base = community->pin_base + i * gpp_size; in intel_pinctrl_add_padgroups()
1382 gpps[i].size = min(gpp_size, npins); in intel_pinctrl_add_padgroups()
1383 npins -= gpps[i].size; in intel_pinctrl_add_padgroups()
1386 if (gpps[i].size > 32) in intel_pinctrl_add_padgroups()
1390 switch (gpps[i].gpio_base) { in intel_pinctrl_add_padgroups()
1392 gpps[i].gpio_base = gpps[i].base; in intel_pinctrl_add_padgroups()
1395 gpps[i].gpio_base = 0; in intel_pinctrl_add_padgroups()
1402 gpps[i].padown_num = padown_num; in intel_pinctrl_add_padgroups()
1411 padown_num += DIV_ROUND_UP(gpps[i].size * 4, 32); in intel_pinctrl_add_padgroups()
1415 community->gpps = gpps; in intel_pinctrl_add_padgroups()
1712 const struct intel_padgroup *padgrp = &community->gpps[gpp]; in intel_restore_hostown()