Lines Matching refs:pci_power_t
170 typedef int __bitwise pci_power_t; typedef
172 #define PCI_D0 ((pci_power_t __force) 0)
173 #define PCI_D1 ((pci_power_t __force) 1)
174 #define PCI_D2 ((pci_power_t __force) 2)
175 #define PCI_D3hot ((pci_power_t __force) 3)
176 #define PCI_D3cold ((pci_power_t __force) 4)
177 #define PCI_UNKNOWN ((pci_power_t __force) 5)
178 #define PCI_POWER_ERROR ((pci_power_t __force) -1)
183 static inline const char *pci_power_name(pci_power_t state) in pci_power_name()
365 pci_power_t current_state; /* Current operating state. In ACPI,
1352 int pci_platform_power_transition(struct pci_dev *dev, pci_power_t state);
1353 int pci_set_power_state(struct pci_dev *dev, pci_power_t state);
1354 pci_power_t pci_choose_state(struct pci_dev *dev, pm_message_t state);
1355 bool pci_pme_capable(struct pci_dev *dev, pci_power_t state);
1357 int pci_enable_wake(struct pci_dev *dev, pci_power_t state, bool enable);
1366 void pci_bus_set_current_state(struct pci_bus *bus, pci_power_t state);
1836 static inline int pci_set_power_state(struct pci_dev *dev, pci_power_t state) in pci_set_power_state()
1840 static inline pci_power_t pci_choose_state(struct pci_dev *dev, in pci_choose_state()
1843 static inline int pci_enable_wake(struct pci_dev *dev, pci_power_t state, in pci_enable_wake()