| 44 | } |
| 45 | |
| 46 | static void pci_pm_runtime_get(struct rt_pci_device *pdev, rt_ubase_t *out_flags) |
| 47 | { |
| 48 | *out_flags = pdev->pm_enabled; |
| 49 | |
| 50 | if (!pdev->pm_enabled) |
| 51 | { |
| 52 | rt_pci_pme_active(pdev, RT_TRUE); |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | static void pci_pm_runtime_put(struct rt_pci_device *pdev, rt_ubase_t *flags) |
| 57 | { |
no test coverage detected