Home
last modified time | relevance | path

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

12

/openbmc/qemu/hw/pci/
H A Dpcie.c213 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 Dpci-mvebu.c681 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 Dpci-aardvark.c897 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 Diosm_ipc_pcie.c124 pcie_capability_set_word(ipc_pcie->pci, PCI_EXP_DEVCTL2, in ipc_pcie_resources_request()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dpcie.c318 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 Drts5227.c120 pcie_capability_read_word(pcr->pci, PCI_EXP_DEVCTL2, &cap); in rts5227_extra_init_hw()
H A Drtsx_pcr.c1456 pcie_capability_read_word(pcr->pci, PCI_EXP_DEVCTL2, &cfg_val); in rtsx_pci_init_chip()
/openbmc/linux/drivers/pci/
H A Dpci-bridge-emul.c281 [PCI_EXP_DEVCTL2 / 4] = {
H A Dpci.c1590 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 Daccess.c397 case PCI_EXP_DEVCTL2: in pcie_capability_reg_implemented()
H A Dprobe.c2179 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 Dquirks.c5495 pcie_capability_read_word(pdev, PCI_EXP_DEVCTL2, &cap[i++]); in quirk_intel_qat_vf_cap()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h662 #define PCI_EXP_DEVCTL2 0x28 /* Device Control 2 */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h664 #define PCI_EXP_DEVCTL2 0x28 /* Device Control 2 */ macro
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-qcom.c828 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 Dqplib_res.c959 pcie_capability_read_word(dev, PCI_EXP_DEVCTL2, &ctl2); in bnxt_qplib_determine_atomics()
H A Dqplib_sp.c65 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 Dnetup_unidvb_core.c861 PCI_EXP_DEVCTL2, PCI_EXP_DEVCTL2_COMP_TIMEOUT, 0x2); in netup_unidvb_initdev()
/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci_config.c949 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 Dpci.c1495 ret = pcie_capability_set_word(pdev, PCI_EXP_DEVCTL2, in rtw_pci_phy_cfg()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_rdma.c509 pcie_capability_read_dword(cdev->pdev, PCI_EXP_DEVCTL2, in qed_rdma_init_devinfo()
/openbmc/linux/drivers/rapidio/devices/
H A Dtsi721.c2871 pcie_capability_clear_and_set_word(pdev, PCI_EXP_DEVCTL2, in tsi721_probe()
/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_hw.c2503 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 Dtrans.c272 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 Dt4_hw.c9190 pcie_capability_clear_and_set_word(adapter->pdev, PCI_EXP_DEVCTL2, in t4_prep_adapter()

12