/openbmc/qemu/hw/pci/ |
H A D | pcie.c | 213 pci_set_word(dev->wmask + pos + PCI_EXP_DEVCTL2, PCI_EXP_DEVCTL2_EETLPPB); in pcie_cap_init() 943 pci_long_test_and_set_mask(dev->wmask + pos + PCI_EXP_DEVCTL2, in pcie_cap_arifwd_init() 949 uint8_t *devctl2 = dev->config + dev->exp.exp_cap + PCI_EXP_DEVCTL2; in pcie_cap_arifwd_reset() 962 return pci_get_long(dev->config + dev->exp.exp_cap + PCI_EXP_DEVCTL2) & in pcie_cap_is_arifwd_enabled()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pci-mvebu.c | 681 case PCI_EXP_DEVCTL2: in mvebu_pci_bridge_emul_pcie_conf_read() 682 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL2); in mvebu_pci_bridge_emul_pcie_conf_read() 842 case PCI_EXP_DEVCTL2: in mvebu_pci_bridge_emul_pcie_conf_write() 843 mvebu_writel(port, new, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL2); in mvebu_pci_bridge_emul_pcie_conf_write()
|
H A D | pci-aardvark.c | 897 case PCI_EXP_DEVCTL2: in advk_pci_bridge_emul_pcie_conf_read() 937 case PCI_EXP_DEVCTL2: in advk_pci_bridge_emul_pcie_conf_write()
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_pcie.c | 124 pcie_capability_set_word(ipc_pcie->pci, PCI_EXP_DEVCTL2, in ipc_pcie_resources_request()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | pcie.c | 318 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL2, in restore_pci_variables() 377 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL2, in save_pci_variables()
|
/openbmc/linux/drivers/misc/cardreader/ |
H A D | rts5227.c | 120 pcie_capability_read_word(pcr->pci, PCI_EXP_DEVCTL2, &cap); in rts5227_extra_init_hw()
|
H A D | rtsx_pcr.c | 1456 pcie_capability_read_word(pcr->pci, PCI_EXP_DEVCTL2, &cfg_val); in rtsx_pci_init_chip()
|
/openbmc/linux/drivers/pci/ |
H A D | pci-bridge-emul.c | 281 [PCI_EXP_DEVCTL2 / 4] = {
|
H A D | pci.c | 1590 pcie_capability_read_word(dev, PCI_EXP_DEVCTL2, &cap[i++]); in pci_save_pcie_state() 1605 pcie_capability_read_dword(bridge, PCI_EXP_DEVCTL2, &ctl); in pci_bridge_reconfigure_ltr() 1608 pcie_capability_set_word(bridge, PCI_EXP_DEVCTL2, in pci_bridge_reconfigure_ltr() 1637 pcie_capability_write_word(dev, PCI_EXP_DEVCTL2, cap[i++]); in pci_restore_pcie_state() 3605 pcie_capability_set_word(bridge, PCI_EXP_DEVCTL2, in pci_configure_ari() 3609 pcie_capability_clear_word(bridge, PCI_EXP_DEVCTL2, in pci_configure_ari() 3939 pcie_capability_read_dword(bridge, PCI_EXP_DEVCTL2, in pci_enable_atomic_ops_to_root() 3948 pcie_capability_set_word(dev, PCI_EXP_DEVCTL2, in pci_enable_atomic_ops_to_root()
|
H A D | access.c | 397 case PCI_EXP_DEVCTL2: in pcie_capability_reg_implemented()
|
H A D | probe.c | 2179 pcie_capability_read_dword(dev, PCI_EXP_DEVCTL2, &ctl); in pci_configure_ltr() 2202 pcie_capability_set_word(dev, PCI_EXP_DEVCTL2, in pci_configure_ltr() 2216 pcie_capability_set_word(dev, PCI_EXP_DEVCTL2, in pci_configure_ltr()
|
H A D | quirks.c | 5495 pcie_capability_read_word(pdev, PCI_EXP_DEVCTL2, &cap[i++]); in quirk_intel_qat_vf_cap()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 662 #define PCI_EXP_DEVCTL2 0x28 /* Device Control 2 */ macro
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 664 #define PCI_EXP_DEVCTL2 0x28 /* Device Control 2 */ macro
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-qcom.c | 828 PCI_EXP_DEVCTL2); in qcom_pcie_post_init_2_3_3() 1153 PCI_EXP_DEVCTL2); in qcom_pcie_post_init_2_9_0()
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_res.c | 959 pcie_capability_read_word(dev, PCI_EXP_DEVCTL2, &ctl2); in bnxt_qplib_determine_atomics()
|
H A D | qplib_sp.c | 65 pcie_capability_read_word(rcfw->pdev, PCI_EXP_DEVCTL2, &pcie_ctl2); in bnxt_qplib_is_atomic_cap()
|
/openbmc/linux/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_core.c | 861 PCI_EXP_DEVCTL2, PCI_EXP_DEVCTL2_COMP_TIMEOUT, 0x2); in netup_unidvb_initdev()
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_config.c | 949 p_setw(perm, PCI_EXP_DEVCTL2, NO_VIRT, ~PCI_EXP_DEVCTL2_ARI); in init_pci_cap_exp_perm()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | pci.c | 1495 ret = pcie_capability_set_word(pdev, PCI_EXP_DEVCTL2, in rtw_pci_phy_cfg()
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_rdma.c | 509 pcie_capability_read_dword(cdev->pdev, PCI_EXP_DEVCTL2, in qed_rdma_init_devinfo()
|
/openbmc/linux/drivers/rapidio/devices/ |
H A D | tsi721.c | 2871 pcie_capability_clear_and_set_word(pdev, PCI_EXP_DEVCTL2, in tsi721_probe()
|
/openbmc/linux/drivers/scsi/csiostor/ |
H A D | csio_hw.c | 2503 pcie_capability_clear_and_set_word(hw->pdev, PCI_EXP_DEVCTL2, in csio_hw_configure()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | trans.c | 272 pcie_capability_read_word(trans_pcie->pci_dev, PCI_EXP_DEVCTL2, &cap); in iwl_pcie_apm_config()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 9190 pcie_capability_clear_and_set_word(adapter->pdev, PCI_EXP_DEVCTL2, in t4_prep_adapter()
|