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

Function print_resource_tree

src/device/device_util.c:709–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707}
708
709void print_resource_tree(const struct device *root, int debug_level,
710 const char *msg)
711{
712 /* Bail if root is null. */
713 if (!root) {
714 printk(debug_level, "%s passed NULL for root!\n", __func__);
715 return;
716 }
717
718 /* Bail if not printing to screen. */
719 if (!printk(debug_level, "Show resources in subtree (%s)...%s\n",
720 dev_path(root), msg))
721 return;
722
723 resource_tree(root, debug_level, 0);
724}
725
726void show_devs_tree(const struct device *dev, int debug_level, int depth)
727{

Callers 1

dev_configureFunction · 0.85

Calls 3

dev_pathFunction · 0.85
resource_treeFunction · 0.85
printkFunction · 0.50

Tested by

no test coverage detected