Home
last modified time | relevance | path

Searched refs:pci_platform_pm (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/pci/
Dpci.c935 static const struct pci_platform_pm_ops *pci_platform_pm; variable
942 pci_platform_pm = ops; in pci_set_platform_pm()
948 return pci_platform_pm ? pci_platform_pm->is_manageable(dev) : false; in platform_pci_power_manageable()
954 return pci_platform_pm ? pci_platform_pm->set_state(dev, t) : -ENOSYS; in platform_pci_set_power_state()
959 return pci_platform_pm ? pci_platform_pm->get_state(dev) : PCI_UNKNOWN; in platform_pci_get_power_state()
964 if (pci_platform_pm && pci_platform_pm->refresh_state) in platform_pci_refresh_power_state()
965 pci_platform_pm->refresh_state(dev); in platform_pci_refresh_power_state()
970 return pci_platform_pm ? in platform_pci_choose_state()
971 pci_platform_pm->choose_state(dev) : PCI_POWER_ERROR; in platform_pci_choose_state()
976 return pci_platform_pm ? in platform_pci_set_wakeup()
[all …]