Lines Matching defs:gpps
134 const struct intel_padgroup *padgrp = &community->gpps[i];
902 const struct intel_padgroup *pgrp = &comm->gpps[j];
1221 const struct intel_padgroup *padgrp = &community->gpps[gpp];
1300 const struct intel_padgroup *gpp = &community->gpps[i];
1342 const struct intel_padgroup *gpp = &community->gpps[j];
1404 struct intel_padgroup *gpps;
1408 gpps = devm_kcalloc(pctrl->dev, ngpps, sizeof(*gpps), GFP_KERNEL);
1409 if (!gpps)
1413 gpps[i] = community->gpps[i];
1415 if (gpps[i].size > INTEL_PINCTRL_MAX_GPP_SIZE)
1419 switch (gpps[i].gpio_base) {
1421 gpps[i].gpio_base = gpps[i].base;
1424 gpps[i].gpio_base = 0;
1432 gpps[i].padown_num = padown_num;
1433 padown_num += DIV_ROUND_UP(gpps[i].size * 4, INTEL_PINCTRL_MAX_GPP_SIZE);
1436 community->gpps = gpps;
1444 struct intel_padgroup *gpps;
1452 gpps = devm_kcalloc(pctrl->dev, ngpps, sizeof(*gpps), GFP_KERNEL);
1453 if (!gpps)
1459 gpps[i].reg_num = i;
1460 gpps[i].base = community->pin_base + i * gpp_size;
1461 gpps[i].size = min(gpp_size, npins);
1462 npins -= gpps[i].size;
1464 gpps[i].gpio_base = gpps[i].base;
1465 gpps[i].padown_num = padown_num;
1471 community->gpps = gpps;
1621 if (community->gpps)
1826 const struct intel_padgroup *padgrp = &community->gpps[gpp];