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

Function show_all_devs

src/device/device_util.c:764–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762}
763
764void show_all_devs(int debug_level, const char *msg)
765{
766 struct device *dev;
767
768 /* Bail if not printing to screen. */
769 if (!printk(debug_level, "Show all devs... %s\n", msg))
770 return;
771 for (dev = all_devices; dev; dev = dev->next) {
772 printk(debug_level, "%s: enabled %d\n",
773 dev_path(dev), dev->enabled);
774 }
775}
776
777void show_one_resource(int debug_level, struct device *dev,
778 struct resource *resource, const char *comment)

Callers 2

dev_enumerateFunction · 0.85
dev_initializeFunction · 0.85

Calls 2

dev_pathFunction · 0.85
printkFunction · 0.50

Tested by

no test coverage detected