/linux-6.6.21/drivers/pci/controller/dwc/ |
D | pci-meson.c | 272 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_payload() 274 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_payload() 276 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_payload() 278 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_payload() 288 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_rd_req_size() 290 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_rd_req_size() 292 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_rd_req_size() 294 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_rd_req_size()
|
D | pcie-spear13xx.c | 138 val = dw_pcie_readw_dbi(pci, exp_cap_off + PCI_EXP_DEVCTL); in spear13xx_pcie_host_init() 140 dw_pcie_writew_dbi(pci, exp_cap_off + PCI_EXP_DEVCTL, val); in spear13xx_pcie_host_init()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | reset.c | 142 devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4]; in mlx4_reset() 144 PCI_EXP_DEVCTL, in mlx4_reset()
|
/linux-6.6.21/drivers/infiniband/hw/mthca/ |
D | mthca_reset.c | 239 devctl = hca_header[(hca_pcie_cap + PCI_EXP_DEVCTL) / 4]; in mthca_reset() 240 if (pcie_capability_write_word(mdev->pdev, PCI_EXP_DEVCTL, in mthca_reset()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | pcie.c | 308 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL, in restore_pci_variables() 367 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, in save_pci_variables() 423 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, &ectl); in tune_pcie_caps() 428 PCI_EXP_DEVCTL, ectl); in tune_pcie_caps()
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 947 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr() 950 eeh_ops->write_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr() 955 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr() 958 eeh_ops->write_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
|
/linux-6.6.21/drivers/pci/controller/ |
D | pci-mvebu.c | 632 case PCI_EXP_DEVCTL: in mvebu_pci_bridge_emul_pcie_conf_read() 633 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL); in mvebu_pci_bridge_emul_pcie_conf_read() 800 case PCI_EXP_DEVCTL: in mvebu_pci_bridge_emul_pcie_conf_write() 801 mvebu_writel(port, new, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL); in mvebu_pci_bridge_emul_pcie_conf_write()
|
D | pci-aardvark.c | 550 reg = advk_readl(pcie, PCIE_CORE_PCIEXP_CAP + PCI_EXP_DEVCTL); in advk_pcie_setup_hw() 557 advk_writel(pcie, reg, PCIE_CORE_PCIEXP_CAP + PCI_EXP_DEVCTL); in advk_pcie_setup_hw() 895 case PCI_EXP_DEVCTL: in advk_pci_bridge_emul_pcie_conf_read() 936 case PCI_EXP_DEVCTL: in advk_pci_bridge_emul_pcie_conf_write()
|
/linux-6.6.21/drivers/pci/ |
D | probe.c | 2091 ret = pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pci_configure_extended_tags() 2106 pcie_capability_clear_word(dev, PCI_EXP_DEVCTL, in pci_configure_extended_tags() 2114 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, in pci_configure_extended_tags() 2130 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &v); in pcie_relaxed_ordering_enabled() 2156 pcie_capability_clear_word(dev, PCI_EXP_DEVCTL, in pci_configure_relaxed_ordering()
|
D | pci-bridge-emul.c | 194 [PCI_EXP_DEVCTL / 4] = {
|
D | pci.c | 1555 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &cap[i++]); in pci_save_pcie_state() 1602 pcie_capability_write_word(dev, PCI_EXP_DEVCTL, cap[i++]); in pci_restore_pcie_state() 4784 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_DEVCTL_BCR_FLR); in pcie_flr() 6145 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pcie_get_readrq() 6191 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in pcie_set_readrq() 6208 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pcie_get_mps() 6235 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in pcie_set_mps()
|
D | access.c | 381 case PCI_EXP_DEVCTL: in pcie_capability_reg_implemented()
|
D | pci-acpi.c | 313 pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in program_hpx_type2()
|
/linux-6.6.21/arch/mips/pci/ |
D | pci-octeon.c | 122 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, config); in pcibios_plat_dev_init()
|
/linux-6.6.21/drivers/pci/pcie/ |
D | aer.c | 242 rc = pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_AER_FLAGS); in pci_enable_pcie_error_reporting() 859 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, ®16); in is_error_source()
|
/linux-6.6.21/drivers/scsi/esas2r/ |
D | esas2r_init.c | 745 pcie_capability_read_word(a->pcid, PCI_EXP_DEVCTL, &devcontrol); in esas2r_init_pci_cfg_space() 754 pcie_capability_write_word(a->pcid, PCI_EXP_DEVCTL, in esas2r_init_pci_cfg_space()
|
/linux-6.6.21/include/uapi/linux/ |
D | pci_regs.h | 500 #define PCI_EXP_DEVCTL 0x08 /* Device Control */ macro
|
/linux-6.6.21/drivers/dma/ioat/ |
D | init.c | 1194 err = pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &val16); in ioat3_dma_probe() 1200 err = pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, val16); in ioat3_dma_probe()
|
/linux-6.6.21/drivers/media/pci/cobalt/ |
D | cobalt-driver.c | 198 pcie_capability_read_word(pci_dev, PCI_EXP_DEVCTL, &ctrl); in cobalt_pcie_status_show()
|
/linux-6.6.21/drivers/cxl/ |
D | pci.c | 537 rc = pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &cap); in cxl_pci_ras_unmask()
|
/linux-6.6.21/drivers/vfio/pci/ |
D | vfio_pci_config.c | 874 offset + PCI_EXP_DEVCTL); in vfio_exp_config_write() 946 p_setw(perm, PCI_EXP_DEVCTL, in init_pci_cap_exp_perm()
|
/linux-6.6.21/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_core.c | 856 pcie_capability_clear_and_set_word(pci_dev, PCI_EXP_DEVCTL, in netup_unidvb_initdev()
|
/linux-6.6.21/drivers/rapidio/devices/ |
D | tsi721.c | 2857 pcie_capability_clear_and_set_word(pdev, PCI_EXP_DEVCTL, in tsi721_probe() 2863 pcie_capability_clear_and_set_word(pdev, PCI_EXP_DEVCTL, in tsi721_probe()
|
/linux-6.6.21/drivers/scsi/csiostor/ |
D | csio_wr.c | 1357 pcie_capability_read_word(hw->pdev, PCI_EXP_DEVCTL, &devctl); in csio_wr_fixup_host_params()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 3262 pcie_capability_read_word(adap->pdev, PCI_EXP_DEVCTL, &val); in config_pcie() 3267 pcie_capability_write_word(adap->pdev, PCI_EXP_DEVCTL, in config_pcie()
|