/openbmc/linux/drivers/pci/controller/dwc/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | reset.c | 142 devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4]; in mlx4_reset() 144 PCI_EXP_DEVCTL, in mlx4_reset()
|
/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A 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()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A 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()
|
/openbmc/qemu/hw/pci/ |
H A D | pcie_aer.c | 199 PCI_EXP_DEVCTL); in pcie_aer_msg_alldev() 226 pci_get_word(dev->config + dev->exp.exp_cap + PCI_EXP_DEVCTL))) { in pcie_aer_msg_alldev() 665 devctl = pci_get_long(exp_cap + PCI_EXP_DEVCTL); in pcie_aer_inject_error()
|
H A D | pcie.c | 333 pci_long_test_and_set_mask(dev->wmask + pos + PCI_EXP_DEVCTL, in pcie_cap_deverr_init() 343 uint8_t *devctl = dev->config + dev->exp.exp_cap + PCI_EXP_DEVCTL; in pcie_cap_deverr_reset() 919 pci_word_test_and_set_mask(dev->wmask + dev->exp.exp_cap + PCI_EXP_DEVCTL, in pcie_cap_flr_init() 926 uint8_t *devctl = dev->config + dev->exp.exp_cap + PCI_EXP_DEVCTL; in pcie_cap_flr_write_config()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A 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()
|
/openbmc/linux/drivers/pci/controller/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/pci/ |
H A 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()
|
H A D | pci-bridge-emul.c | 194 [PCI_EXP_DEVCTL / 4] = {
|
H A D | access.c | 381 case PCI_EXP_DEVCTL: in pcie_capability_reg_implemented()
|
H A D | pci.c | 1586 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &cap[i++]); in pci_save_pcie_state() 1633 pcie_capability_write_word(dev, PCI_EXP_DEVCTL, cap[i++]); in pci_restore_pcie_state() 4827 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_DEVCTL_BCR_FLR); in pcie_flr() 6207 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pcie_get_readrq() 6253 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in pcie_set_readrq() 6270 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pcie_get_mps() 6297 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in pcie_set_mps()
|
H A D | pci-acpi.c | 313 pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in program_hpx_type2()
|
/openbmc/linux/arch/mips/pci/ |
H A D | pci-octeon.c | 122 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, config); in pcibios_plat_dev_init()
|
/openbmc/linux/drivers/pci/pcie/ |
H A 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()
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A 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()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 500 #define PCI_EXP_DEVCTL 0x08 /* Device Control */ macro
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 501 #define PCI_EXP_DEVCTL 0x08 /* Device Control */ macro
|
/openbmc/linux/drivers/dma/ioat/ |
H A D | init.c | 1182 err = pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &val16); in ioat3_dma_probe() 1190 err = pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, val16); in ioat3_dma_probe()
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-driver.c | 198 pcie_capability_read_word(pci_dev, PCI_EXP_DEVCTL, &ctrl); in cobalt_pcie_status_show()
|
/openbmc/linux/drivers/cxl/ |
H A D | pci.c | 537 rc = pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &cap); in cxl_pci_ras_unmask()
|
/openbmc/linux/drivers/vfio/pci/ |
H A 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()
|
/openbmc/linux/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_core.c | 856 pcie_capability_clear_and_set_word(pci_dev, PCI_EXP_DEVCTL, in netup_unidvb_initdev()
|