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

Function pci_device_pm_ops

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

Source from the content-addressed store, hash-verified

31};
32
33static rt_bool_t pci_device_pm_ops(struct rt_pci_device *pdev, void *data)
34{
35 struct host_bridge_pm_status *status = data;
36
37 rt_pci_enable_wake(pdev, system_pci_pm_mode[status->mode], status->enable);
38
39 /* To find all devices, always return false */
40 return RT_FALSE;
41}
42
43static rt_err_t host_bridge_pm_suspend(const struct rt_device *device, rt_uint8_t mode)
44{

Callers

nothing calls this directly

Calls 1

rt_pci_enable_wakeFunction · 0.85

Tested by

no test coverage detected