| 31 | }; |
| 32 | |
| 33 | static 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 | |
| 43 | static rt_err_t host_bridge_pm_suspend(const struct rt_device *device, rt_uint8_t mode) |
| 44 | { |
nothing calls this directly
no test coverage detected