Home
last modified time | relevance | path

Searched refs:pci_power_t (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_opregion.h69 pci_power_t state);
75 pci_power_t state);
101 pci_power_t state) in intel_opregion_suspend()
116 intel_opregion_notify_adapter(struct drm_i915_private *dev, pci_power_t state) in intel_opregion_notify_adapter()
Dintel_opregion.c434 pci_power_t pci_power_state;
445 pci_power_t state) in intel_opregion_notify_adapter()
1201 void intel_opregion_suspend(struct drm_i915_private *i915, pci_power_t state) in intel_opregion_suspend()
/linux-6.1.9/arch/x86/platform/intel-mid/
Dpwr.c91 pci_power_t state;
182 static pci_power_t __find_weakest_power_state(struct mid_pwr_dev *lss, in __find_weakest_power_state()
184 pci_power_t state) in __find_weakest_power_state()
186 pci_power_t weakest = PCI_D3hot; in __find_weakest_power_state()
214 pci_power_t state, int id, int reg, int bit) in __set_power_state()
233 pci_power_t state) in mid_pwr_set_power_state()
257 int intel_mid_pci_set_power_state(struct pci_dev *pdev, pci_power_t state) in intel_mid_pci_set_power_state()
271 pci_power_t intel_mid_pci_get_power_state(struct pci_dev *pdev) in intel_mid_pci_get_power_state()
287 return (__force pci_power_t)((power >> bit) & 3); in intel_mid_pci_get_power_state()
/linux-6.1.9/arch/x86/include/asm/
Dintel-mid.h13 extern int intel_mid_pci_set_power_state(struct pci_dev *pdev, pci_power_t state);
14 extern pci_power_t intel_mid_pci_get_power_state(struct pci_dev *pdev);
/linux-6.1.9/drivers/pci/
Dpci.h66 void pci_update_current_state(struct pci_dev *dev, pci_power_t state);
707 int acpi_pci_set_power_state(struct pci_dev *dev, pci_power_t state);
708 pci_power_t acpi_pci_get_power_state(struct pci_dev *dev);
712 pci_power_t acpi_pci_choose_state(struct pci_dev *pdev);
731 static inline int acpi_pci_set_power_state(struct pci_dev *dev, pci_power_t state) in acpi_pci_set_power_state()
735 static inline pci_power_t acpi_pci_get_power_state(struct pci_dev *dev) in acpi_pci_get_power_state()
748 static inline pci_power_t acpi_pci_choose_state(struct pci_dev *pdev) in acpi_pci_choose_state()
762 int mid_pci_set_power_state(struct pci_dev *pdev, pci_power_t state);
763 pci_power_t mid_pci_get_power_state(struct pci_dev *pdev);
769 static inline int mid_pci_set_power_state(struct pci_dev *pdev, pci_power_t state) in mid_pci_set_power_state()
[all …]
Dpci-mid.c26 int mid_pci_set_power_state(struct pci_dev *pdev, pci_power_t state) in mid_pci_set_power_state()
31 pci_power_t mid_pci_get_power_state(struct pci_dev *pdev) in mid_pci_get_power_state()
Dpci-driver.c628 pci_power_t prev = pci_dev->current_state; in pci_legacy_suspend()
734 pci_power_t pre_sleep_state = pci_dev->current_state; in pci_pm_complete()
813 pci_power_t prev = pci_dev->current_state; in pci_pm_suspend()
859 pci_power_t prev = pci_dev->current_state; in pci_pm_suspend_noirq()
941 pci_power_t prev_state = pci_dev->current_state; in pci_pm_resume_noirq()
1277 pci_power_t prev = pci_dev->current_state; in pci_pm_runtime_suspend()
1334 pci_power_t prev_state = pci_dev->current_state; in pci_pm_runtime_resume()
Dpci.c1020 pci_power_t t) in platform_pci_set_power_state()
1028 static inline pci_power_t platform_pci_get_power_state(struct pci_dev *dev) in platform_pci_get_power_state()
1042 static inline pci_power_t platform_pci_choose_state(struct pci_dev *dev) in platform_pci_choose_state()
1086 void pci_update_current_state(struct pci_dev *dev, pci_power_t state) in pci_update_current_state()
1122 int pci_platform_power_transition(struct pci_dev *dev, pci_power_t state) in pci_platform_power_transition()
1203 pci_power_t state; in pci_power_up()
1310 pci_power_t state = *(pci_power_t *)data; in __pci_dev_set_current_state()
1321 void pci_bus_set_current_state(struct pci_bus *bus, pci_power_t state) in pci_bus_set_current_state()
1341 static int pci_set_low_power_state(struct pci_dev *dev, pci_power_t state) in pci_set_low_power_state()
1414 int pci_set_power_state(struct pci_dev *dev, pci_power_t state) in pci_set_power_state()
[all …]
Dpci-acpi.c910 pci_power_t acpi_pci_choose_state(struct pci_dev *pdev) in acpi_pci_choose_state()
1029 int acpi_pci_set_power_state(struct pci_dev *dev, pci_power_t state) in acpi_pci_set_power_state()
1067 pci_power_t acpi_pci_get_power_state(struct pci_dev *dev) in acpi_pci_get_power_state()
1070 static const pci_power_t state_conv[] = { in acpi_pci_get_power_state()
/linux-6.1.9/include/linux/
Dpci.h170 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,
[all …]
/linux-6.1.9/drivers/xen/xen-pciback/
Dconf_space_capability.c119 pci_power_t new_state; in pm_ctrl_write()
125 new_state = (pci_power_t)(new_value & PCI_PM_CTRL_STATE_MASK); in pm_ctrl_write()
/linux-6.1.9/drivers/vfio/pci/
Dvfio_pci_priv.h61 pci_power_t state);
Dvfio_pci_config.c703 pci_power_t state) in vfio_lock_and_set_power_state()
723 pci_power_t state; in vfio_pm_config_write()
Dvfio_pci_core.c232 int vfio_pci_set_power_state(struct vfio_pci_core_device *vdev, pci_power_t state) in vfio_pci_set_power_state()
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Dcfg_space.c74 pci_power_t pwr; in vgpu_pci_cfg_mem_write()
98 pwr = (pci_power_t __force)(*(u16*)(&vgpu_cfg_space(vgpu)[off]) in vgpu_pci_cfg_mem_write()
/linux-6.1.9/include/linux/ssb/
Dssb.h641 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) in ssb_pcihost_set_power_state()
652 void ssb_pcihost_set_power_state(struct ssb_device *sdev, pci_power_t state) in ssb_pcihost_set_power_state()
/linux-6.1.9/arch/x86/pci/
Dintel_mid_pci.c353 dev->current_state = (pci_power_t __force)(pmcsr & PCI_PM_CTRL_STATE_MASK); in mid_power_off_one_device()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h468 int bnx2x_set_power_state(struct bnx2x *bp, pci_power_t state);
/linux-6.1.9/include/linux/qed/
Dqed_if.h884 int (*set_power_state)(struct qed_dev *cdev, pci_power_t state);
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_driver.c1188 pci_power_t opregion_target_state; in i915_drm_suspend()
/linux-6.1.9/drivers/net/ethernet/3com/
Dtyphoon.c1833 typhoon_sleep(struct typhoon *tp, pci_power_t state, __le16 events) in typhoon_sleep()
D3c59x.c3033 pci_power_t state = 0; in vortex_ioctl()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_main.c484 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state()
/linux-6.1.9/drivers/video/fbdev/aty/
Dradeon_pm.c2518 static void radeonfb_whack_power_state(struct radeonfb_info *rinfo, pci_power_t state) in radeonfb_whack_power_state()
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_os.c5209 pci_power_t device_state = pdev->current_state; in mpi3mr_resume()

12