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

Function final_dev

src/device/device.c:610–619  ·  view source on GitHub ↗

* Finalize a specific device. * * The parent should be finalized first to avoid having an ordering problem. * This is done by calling the parent's final() method before its children's * final() methods. * * @param dev The device to be initialized. */

Source from the content-addressed store, hash-verified

608 * @param dev The device to be initialized.
609 */
610static void final_dev(struct device *dev)
611{
612 if (!dev->enabled)
613 return;
614
615 if (dev->ops && dev->ops->final) {
616 printk(BIOS_DEBUG, "%s final\n", dev_path(dev));
617 dev->ops->final(dev);
618 }
619}
620
621static void final_link(struct bus *link)
622{

Callers 2

final_linkFunction · 0.85
dev_finalizeFunction · 0.85

Calls 2

dev_pathFunction · 0.85
printkFunction · 0.50

Tested by

no test coverage detected