Home
last modified time | relevance | path

Searched refs:PCI_EXP_DEVCTL (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/drivers/pci/controller/dwc/
Dpci-meson.c272 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()
Dpcie-spear13xx.c138 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/
Dreset.c142 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/
Dmthca_reset.c239 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/
Dpcie.c308 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/
Deeh-powernv.c947 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/
Dpci-mvebu.c632 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()
Dpci-aardvark.c550 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/
Dprobe.c2091 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()
Dpci-bridge-emul.c194 [PCI_EXP_DEVCTL / 4] = {
Dpci.c1555 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()
Daccess.c381 case PCI_EXP_DEVCTL: in pcie_capability_reg_implemented()
Dpci-acpi.c313 pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in program_hpx_type2()
/linux-6.6.21/arch/mips/pci/
Dpci-octeon.c122 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, config); in pcibios_plat_dev_init()
/linux-6.6.21/drivers/pci/pcie/
Daer.c242 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, &reg16); in is_error_source()
/linux-6.6.21/drivers/scsi/esas2r/
Desas2r_init.c745 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/
Dpci_regs.h500 #define PCI_EXP_DEVCTL 0x08 /* Device Control */ macro
/linux-6.6.21/drivers/dma/ioat/
Dinit.c1194 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/
Dcobalt-driver.c198 pcie_capability_read_word(pci_dev, PCI_EXP_DEVCTL, &ctrl); in cobalt_pcie_status_show()
/linux-6.6.21/drivers/cxl/
Dpci.c537 rc = pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &cap); in cxl_pci_ras_unmask()
/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_config.c874 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/
Dnetup_unidvb_core.c856 pcie_capability_clear_and_set_word(pci_dev, PCI_EXP_DEVCTL, in netup_unidvb_initdev()
/linux-6.6.21/drivers/rapidio/devices/
Dtsi721.c2857 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/
Dcsio_wr.c1357 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/
Dt3_hw.c3262 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()

12