Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/
H A Dearly-quirks.c648 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 Dipc.c784 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 Ddsp.c390 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 Dconf_space_capability.c125 new_state = (pci_power_t)(new_value & PCI_PM_CTRL_STATE_MASK); in pm_ctrl_write()
/openbmc/linux/arch/x86/pci/
H A Dintel_mid_pci.c353 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 Dcfg_space.c99 & PCI_PM_CTRL_STATE_MASK); in vgpu_pci_cfg_mem_write()
/openbmc/linux/drivers/pci/
H A Dpci.c1112 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 Dquirks.c2464 if ((pmcsr & PCI_PM_CTRL_STATE_MASK) != PCI_D0) in quirk_e100_interrupt()
/openbmc/qemu/hw/net/
H A Digb.c372 PCI_PM_CTRL_STATE_MASK | in igb_add_pm_capability()
H A De1000e.c388 PCI_PM_CTRL_STATE_MASK | in e1000e_add_pm_capability()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h254 #define PCI_PM_CTRL_STATE_MASK 0x0003 /* Current power state (D0 to D3) */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h255 #define PCI_PM_CTRL_STATE_MASK 0x0003 /* Current power state (D0 to D3) */ macro
/openbmc/qemu/hw/virtio/
H A Dvirtio-pci.c2245 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 Dvfio_pci_config.c730 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 Ddebugfs.c585 d3_state = ((pmcsr & PCI_PM_CTRL_STATE_MASK) == in telem_soc_states_show()
/openbmc/qemu/hw/vfio/
H A Dpci.c2416 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 Dpci.h351 #define PCI_PM_CTRL_STATE_MASK 0x0003 /* Current power state (D0 to D3) */ macro
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c3196 ((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 Dbnx2x_ethtool.c1476 (!rc && ((pm & PCI_PM_CTRL_STATE_MASK) != (__force u16)PCI_D0))) in bnx2x_is_nvm_accessible()
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c831 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 Dahci-test.c470 ASSERT_BIT_CLEAR(dataw, PCI_PM_CTRL_STATE_MASK); in ahci_test_pmcap()
/openbmc/linux/drivers/video/fbdev/aty/
H A Dradeon_pm.c2528 pwr_cmd = (pwr_cmd & ~PCI_PM_CTRL_STATE_MASK) | state; in radeonfb_whack_power_state()
/openbmc/linux/drivers/net/ethernet/micrel/
H A Dksz884x.c3144 data &= ~PCI_PM_CTRL_STATE_MASK; in hw_cfg_wol_pme()
/openbmc/qemu/hw/nvme/
H A Dctrl.c8518 PCI_PM_CTRL_STATE_MASK); in nvme_add_pm_capability()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c16515 pm_reg &= ~PCI_PM_CTRL_STATE_MASK; in tg3_get_invariants()