MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / host_bridge_probe

Function host_bridge_probe

components/drivers/pci/host-bridge.c:79–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79static rt_err_t host_bridge_probe(struct rt_pci_device *pdev)
80{
81 rt_err_t err = RT_EOK;
82
83 rt_pci_set_master(pdev);
84
85#ifdef RT_USING_PM
86 rt_pm_device_register(&pdev->parent, &host_bridge_pm_ops);
87#endif
88
89 return err;
90}
91
92static rt_err_t host_bridge_remove(struct rt_pci_device *pdev)
93{

Callers

nothing calls this directly

Calls 2

rt_pci_set_masterFunction · 0.85
rt_pm_device_registerFunction · 0.85

Tested by

no test coverage detected