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