/openbmc/linux/arch/x86/kernel/ |
H A D | early-quirks.c | 648 if ((pmcsr & PCI_PM_CTRL_STATE_MASK) != PCI_D0) { in apple_airport_reset() 649 pmcsr &= ~PCI_PM_CTRL_STATE_MASK; in apple_airport_reset() 654 if ((pmcsr & PCI_PM_CTRL_STATE_MASK) != PCI_D0) { in apple_airport_reset()
|
/openbmc/linux/drivers/hid/intel-ish-hid/ipc/ |
H A D | ipc.c | 784 csr &= ~PCI_PM_CTRL_STATE_MASK; in _ish_hw_reset() 790 csr &= ~PCI_PM_CTRL_STATE_MASK; in _ish_hw_reset()
|
/openbmc/linux/sound/soc/intel/catpt/ |
H A D | dsp.c | 390 catpt_updatel_pci(cdev, PMCS, PCI_PM_CTRL_STATE_MASK, PCI_D3hot); in catpt_dsp_power_down() 414 catpt_updatel_pci(cdev, PMCS, PCI_PM_CTRL_STATE_MASK, PCI_D0); in catpt_dsp_power_up()
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | conf_space_capability.c | 125 new_state = (pci_power_t)(new_value & PCI_PM_CTRL_STATE_MASK); in pm_ctrl_write()
|
/openbmc/linux/arch/x86/pci/ |
H A D | intel_mid_pci.c | 353 dev->current_state = (pci_power_t __force)(pmcsr & PCI_PM_CTRL_STATE_MASK); in mid_power_off_one_device()
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | cfg_space.c | 99 & PCI_PM_CTRL_STATE_MASK); in vgpu_pci_cfg_mem_write()
|
/openbmc/linux/drivers/pci/ |
H A D | pci.c | 1112 dev->current_state = pmcsr & PCI_PM_CTRL_STATE_MASK; in pci_update_current_state() 1268 state = pmcsr & PCI_PM_CTRL_STATE_MASK; in pci_power_up() 1323 dev->current_state = pmcsr & PCI_PM_CTRL_STATE_MASK; in pci_set_full_power_state() 1434 pmcsr &= ~PCI_PM_CTRL_STATE_MASK; in pci_set_low_power_state() 1447 dev->current_state = pmcsr & PCI_PM_CTRL_STATE_MASK; in pci_set_low_power_state() 4941 csr &= ~PCI_PM_CTRL_STATE_MASK; in pci_pm_reset() 4946 csr &= ~PCI_PM_CTRL_STATE_MASK; in pci_pm_reset()
|
H A D | quirks.c | 2464 if ((pmcsr & PCI_PM_CTRL_STATE_MASK) != PCI_D0) in quirk_e100_interrupt()
|
/openbmc/qemu/hw/net/ |
H A D | igb.c | 372 PCI_PM_CTRL_STATE_MASK | in igb_add_pm_capability()
|
H A D | e1000e.c | 388 PCI_PM_CTRL_STATE_MASK | in e1000e_add_pm_capability()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 254 #define PCI_PM_CTRL_STATE_MASK 0x0003 /* Current power state (D0 to D3) */ macro
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 255 #define PCI_PM_CTRL_STATE_MASK 0x0003 /* Current power state (D0 to D3) */ macro
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-pci.c | 2245 PCI_PM_CTRL_STATE_MASK); in virtio_pci_realize() 2324 (pmcsr & PCI_PM_CTRL_STATE_MASK) == 3; in virtio_pci_no_soft_reset() 2347 PCI_PM_CTRL_STATE_MASK); in virtio_pci_bus_reset_hold()
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_config.c | 730 switch (le32_to_cpu(val) & PCI_PM_CTRL_STATE_MASK) { in vfio_pm_config_write() 786 PCI_PM_CTRL_STATE_MASK)); in init_pci_cap_pm_perm()
|
/openbmc/linux/drivers/platform/x86/intel/telemetry/ |
H A D | debugfs.c | 585 d3_state = ((pmcsr & PCI_PM_CTRL_STATE_MASK) == in telem_soc_states_show()
|
/openbmc/qemu/hw/vfio/ |
H A D | pci.c | 2416 state = pmcsr & PCI_PM_CTRL_STATE_MASK; in vfio_pci_pre_reset() 2418 pmcsr &= ~PCI_PM_CTRL_STATE_MASK; in vfio_pci_pre_reset() 2422 state = pmcsr & PCI_PM_CTRL_STATE_MASK; in vfio_pci_pre_reset()
|
/openbmc/u-boot/include/ |
H A D | pci.h | 351 #define PCI_PM_CTRL_STATE_MASK 0x0003 /* Current power state (D0 to D3) */ macro
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 3196 ((pmcsr & ~PCI_PM_CTRL_STATE_MASK) | in bnx2x_set_power_state() 3199 if (pmcsr & PCI_PM_CTRL_STATE_MASK) in bnx2x_set_power_state() 3213 pmcsr &= ~PCI_PM_CTRL_STATE_MASK; in bnx2x_set_power_state()
|
H A D | bnx2x_ethtool.c | 1476 (!rc && ((pm & PCI_PM_CTRL_STATE_MASK) != (__force u16)PCI_D0))) in bnx2x_is_nvm_accessible()
|
/openbmc/linux/drivers/net/ethernet/natsemi/ |
H A D | natsemi.c | 831 if (tmp & PCI_PM_CTRL_STATE_MASK) { in natsemi_probe1() 833 u32 newtmp = tmp & ~PCI_PM_CTRL_STATE_MASK; in natsemi_probe1()
|
/openbmc/qemu/tests/qtest/ |
H A D | ahci-test.c | 470 ASSERT_BIT_CLEAR(dataw, PCI_PM_CTRL_STATE_MASK); in ahci_test_pmcap()
|
/openbmc/linux/drivers/video/fbdev/aty/ |
H A D | radeon_pm.c | 2528 pwr_cmd = (pwr_cmd & ~PCI_PM_CTRL_STATE_MASK) | state; in radeonfb_whack_power_state()
|
/openbmc/linux/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 3144 data &= ~PCI_PM_CTRL_STATE_MASK; in hw_cfg_wol_pme()
|
/openbmc/qemu/hw/nvme/ |
H A D | ctrl.c | 8518 PCI_PM_CTRL_STATE_MASK); in nvme_add_pm_capability()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 16515 pm_reg &= ~PCI_PM_CTRL_STATE_MASK; in tg3_get_invariants()
|