MCPcopy Create free account
hub / github.com/coreboot/coreboot / print_gpio_groups

Function print_gpio_groups

util/inteltool/gpio_groups.c:278–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278void print_gpio_groups(struct pci_dev *const sb)
279{
280 size_t community_count;
281 const struct gpio_community *const *communities;
282 size_t pad_stepping;
283
284 communities = get_gpio_communities(sb, &community_count, &pad_stepping);
285
286 if (!communities)
287 return;
288
289 pcr_init(sb);
290
291 printf("\n============= GPIOS =============\n\n");
292
293 for (; community_count; --community_count)
294 print_gpio_community(*communities++, pad_stepping);
295}

Callers 1

print_gpiosFunction · 0.85

Calls 4

get_gpio_communitiesFunction · 0.85
pcr_initFunction · 0.85
printfFunction · 0.85
print_gpio_communityFunction · 0.85

Tested by

no test coverage detected