/linux/drivers/pci/controller/dwc/ |
A D | pci-meson.c | 267 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_payload() 269 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_payload() 271 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_payload() 273 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_payload() 283 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_rd_req_size() 285 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_rd_req_size() 287 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_rd_req_size() 289 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_rd_req_size()
|
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()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | reset.c | 142 devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4]; in mlx4_reset() 144 PCI_EXP_DEVCTL, in mlx4_reset()
|
/linux/drivers/infiniband/hw/mthca/ |
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()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | pcie.c | 315 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL, in restore_pci_variables() 374 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, in save_pci_variables() 430 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, &ectl); in tune_pcie_caps() 435 PCI_EXP_DEVCTL, ectl); in tune_pcie_caps()
|
/linux/drivers/pci/controller/ |
A D | pci-mvebu.c | 444 case PCI_EXP_DEVCTL: in mvebu_pci_bridge_emul_pcie_conf_read() 445 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL) & in mvebu_pci_bridge_emul_pcie_conf_read() 534 case PCI_EXP_DEVCTL: in mvebu_pci_bridge_emul_pcie_conf_write() 542 mvebu_writel(port, new, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL); in mvebu_pci_bridge_emul_pcie_conf_write()
|
A D | pci-aardvark.c | 547 reg = advk_readl(pcie, PCIE_CORE_PCIEXP_CAP + PCI_EXP_DEVCTL); in advk_pcie_setup_hw() 554 advk_writel(pcie, reg, PCIE_CORE_PCIEXP_CAP + PCI_EXP_DEVCTL); in advk_pcie_setup_hw() 877 case PCI_EXP_DEVCTL: in advk_pci_bridge_emul_pcie_conf_read() 893 case PCI_EXP_DEVCTL: in advk_pci_bridge_emul_pcie_conf_write()
|
/linux/arch/powerpc/platforms/powernv/ |
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()
|
/linux/drivers/pci/pcie/ |
A D | aer.c | 232 rc = pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_AER_FLAGS); in pci_enable_pcie_error_reporting() 244 rc = pcie_capability_clear_word(dev, PCI_EXP_DEVCTL, PCI_EXP_AER_FLAGS); in pci_disable_pcie_error_reporting() 857 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, ®16); in is_error_source()
|
/linux/drivers/pci/ |
A D | pci-bridge-emul.c | 183 [PCI_EXP_DEVCTL / 4] = {
|
A D | probe.c | 2084 ret = pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pci_configure_extended_tags() 2099 pcie_capability_clear_word(dev, PCI_EXP_DEVCTL, in pci_configure_extended_tags() 2107 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, in pci_configure_extended_tags() 2123 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &v); in pcie_relaxed_ordering_enabled() 2149 pcie_capability_clear_word(dev, PCI_EXP_DEVCTL, in pci_configure_relaxed_ordering()
|
A D | pci.c | 1463 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &cap[i++]); in pci_save_pcie_state() 1510 pcie_capability_write_word(dev, PCI_EXP_DEVCTL, cap[i++]); in pci_restore_pcie_state() 4700 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_DEVCTL_BCR_FLR); in pcie_flr() 5983 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pcie_get_readrq() 6019 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in pcie_set_readrq() 6036 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pcie_get_mps() 6063 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in pcie_set_mps()
|
A D | access.c | 371 case PCI_EXP_DEVCTL: in pcie_capability_reg_implemented()
|
A D | pci-acpi.c | 312 pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in program_hpx_type2()
|
/linux/arch/mips/pci/ |
A D | pci-octeon.c | 122 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, config); in pcibios_plat_dev_init()
|
/linux/drivers/scsi/esas2r/ |
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()
|
/linux/include/uapi/linux/ |
A D | pci_regs.h | 500 #define PCI_EXP_DEVCTL 8 /* Device Control */ macro
|
/linux/drivers/media/pci/cobalt/ |
A D | cobalt-driver.c | 197 pcie_capability_read_word(pci_dev, PCI_EXP_DEVCTL, &ctrl); in cobalt_pcie_status_show()
|
/linux/drivers/vfio/pci/ |
A D | vfio_pci_config.c | 837 offset + PCI_EXP_DEVCTL); in vfio_exp_config_write() 909 p_setw(perm, PCI_EXP_DEVCTL, in init_pci_cap_exp_perm()
|
/linux/drivers/media/pci/netup_unidvb/ |
A D | netup_unidvb_core.c | 856 pcie_capability_clear_and_set_word(pci_dev, PCI_EXP_DEVCTL, in netup_unidvb_initdev()
|
/linux/drivers/rapidio/devices/ |
A 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/drivers/scsi/csiostor/ |
A D | csio_wr.c | 1358 pcie_capability_read_word(hw->pdev, PCI_EXP_DEVCTL, &devctl); in csio_wr_fixup_host_params()
|
/linux/drivers/block/mtip32xx/ |
A D | mtip32xx.c | 3853 pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &pcie_dev_ctrl); in mtip_disable_link_opts() 3861 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, in mtip_disable_link_opts()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
A 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()
|
/linux/drivers/net/ethernet/myricom/myri10ge/ |
A D | myri10ge.c | 1075 pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &ctl); in myri10ge_toggle_relaxed() 1081 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, ctl); in myri10ge_toggle_relaxed()
|