/Linux-v5.10/drivers/net/wireless/mediatek/mt76/ |
D | pci.c | 14 pcie_capability_read_word(pdev, PCI_EXP_LNKCTL, &aspm_conf); in mt76_pci_disable_aspm() 17 pcie_capability_read_word(parent, PCI_EXP_LNKCTL, in mt76_pci_disable_aspm() 42 pcie_capability_clear_word(pdev, PCI_EXP_LNKCTL, aspm_conf); in mt76_pci_disable_aspm() 44 pcie_capability_clear_word(parent, PCI_EXP_LNKCTL, in mt76_pci_disable_aspm()
|
/Linux-v5.10/drivers/pci/pcie/ |
D | bw_notification.c | 37 pcie_capability_read_word(dev, PCI_EXP_LNKCTL, &lnk_ctl); in pcie_enable_link_bandwidth_notification() 39 pcie_capability_write_word(dev, PCI_EXP_LNKCTL, lnk_ctl); in pcie_enable_link_bandwidth_notification() 46 pcie_capability_read_word(dev, PCI_EXP_LNKCTL, &lnk_ctl); in pcie_disable_link_bandwidth_notification() 48 pcie_capability_write_word(dev, PCI_EXP_LNKCTL, lnk_ctl); in pcie_disable_link_bandwidth_notification()
|
D | aspm.c | 149 pcie_capability_clear_and_set_word(child, PCI_EXP_LNKCTL, in pcie_set_clkpm_nocheck() 185 pcie_capability_read_word(child, PCI_EXP_LNKCTL, ®16); in pcie_clkpm_cap_init() 201 pcie_capability_read_word(parent, PCI_EXP_LNKCTL, ®16); in pcie_retrain_link() 203 pcie_capability_write_word(parent, PCI_EXP_LNKCTL, reg16); in pcie_retrain_link() 211 pcie_capability_write_word(parent, PCI_EXP_LNKCTL, reg16); in pcie_retrain_link() 254 pcie_capability_read_word(parent, PCI_EXP_LNKCTL, ®16); in pcie_aspm_configure_common_clock() 259 pcie_capability_read_word(child, PCI_EXP_LNKCTL, in pcie_aspm_configure_common_clock() 273 pcie_capability_read_word(child, PCI_EXP_LNKCTL, ®16); in pcie_aspm_configure_common_clock() 279 pcie_capability_write_word(child, PCI_EXP_LNKCTL, reg16); in pcie_aspm_configure_common_clock() 283 pcie_capability_read_word(parent, PCI_EXP_LNKCTL, ®16); in pcie_aspm_configure_common_clock() [all …]
|
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | aspm.c | 69 pcie_capability_clear_and_set_word(parent, PCI_EXP_LNKCTL, in aspm_hw_enable_l1() 72 pcie_capability_clear_and_set_word(dd->pcidev, PCI_EXP_LNKCTL, in aspm_hw_enable_l1() 82 pcie_capability_clear_and_set_word(dd->pcidev, PCI_EXP_LNKCTL, in aspm_hw_disable_l1() 85 pcie_capability_clear_and_set_word(parent, PCI_EXP_LNKCTL, in aspm_hw_disable_l1()
|
D | pcie.c | 369 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL, in restore_pci_variables() 428 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKCTL, in save_pci_variables()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | reset.c | 150 linkctl = hca_header[(pcie_cap + PCI_EXP_LNKCTL) / 4]; in mlx4_reset() 152 PCI_EXP_LNKCTL, in mlx4_reset()
|
/Linux-v5.10/drivers/infiniband/hw/mthca/ |
D | mthca_reset.c | 247 linkctl = hca_header[(hca_pcie_cap + PCI_EXP_LNKCTL) / 4]; in mthca_reset() 248 if (pcie_capability_write_word(mdev->pdev, PCI_EXP_LNKCTL, in mthca_reset()
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | cik.c | 1512 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1514 pcie_capability_read_word(adev->pdev, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1518 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in cik_pcie_gen3_enable() 1521 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1552 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1555 PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1575 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1579 pcie_capability_write_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1583 PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1588 PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
|
D | si.c | 2162 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2164 pcie_capability_read_word(adev->pdev, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2168 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in si_pcie_gen3_enable() 2171 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2195 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2198 PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2217 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2221 pcie_capability_write_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2225 PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2230 PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
|
/Linux-v5.10/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_pci.c | 21 pcie_capability_read_word(priv->pdev, PCI_EXP_LNKCTL, &LinkCtrlReg); in _rtl92e_parse_pci_configuration()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fw_reset.c | 271 err = pci_read_config_word(bridge, cap + PCI_EXP_LNKCTL, ®16); in mlx5_pci_link_toggle() 275 err = pci_write_config_word(bridge, cap + PCI_EXP_LNKCTL, reg16); in mlx5_pci_link_toggle() 280 err = pci_write_config_word(bridge, cap + PCI_EXP_LNKCTL, reg16); in mlx5_pci_link_toggle()
|
/Linux-v5.10/drivers/net/wireless/ath/ath9k/ |
D | pci.c | 840 pcie_capability_clear_word(pdev, PCI_EXP_LNKCTL, in ath_pci_aspm_init() 847 pcie_capability_clear_word(parent, PCI_EXP_LNKCTL, in ath_pci_aspm_init() 870 ret = pcie_capability_read_word(parent, PCI_EXP_LNKCTL, &aspm); in ath_pci_aspm_init()
|
/Linux-v5.10/drivers/pci/controller/dwc/ |
D | pcie-intel-gw.c | 134 val = pcie_rc_cfg_rd(lpp, offset + PCI_EXP_LNKCTL); in intel_pcie_link_setup() 137 pcie_rc_cfg_wr(lpp, offset + PCI_EXP_LNKCTL, val); in intel_pcie_link_setup()
|
D | pcie-tegra194.c | 360 PCI_EXP_LNKCTL); in apply_bad_link_workaround() 363 PCI_EXP_LNKCTL, val); in apply_bad_link_workaround() 735 PCI_EXP_LNKCTL); in tegra_pcie_enable_system_interrupts() 737 dw_pcie_writew_dbi(&pcie->pci, pcie->pcie_cap_base + PCI_EXP_LNKCTL, in tegra_pcie_enable_system_interrupts()
|
/Linux-v5.10/drivers/pci/controller/ |
D | pci-mvebu.c | 459 case PCI_EXP_LNKCTL: in mvebu_pci_bridge_emul_pcie_conf_read() 460 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_LNKCTL); in mvebu_pci_bridge_emul_pcie_conf_read() 545 case PCI_EXP_LNKCTL: in mvebu_pci_bridge_emul_pcie_conf_write() 554 mvebu_writel(port, new, PCIE_CAP_PCIEXP + PCI_EXP_LNKCTL); in mvebu_pci_bridge_emul_pcie_conf_write()
|
D | pci-aardvark.c | 302 reg = advk_readl(pcie, PCIE_CORE_PCIEXP_CAP + PCI_EXP_LNKCTL); in advk_pcie_train_at_gen() 304 advk_writel(pcie, reg, PCIE_CORE_PCIEXP_CAP + PCI_EXP_LNKCTL); in advk_pcie_train_at_gen() 547 case PCI_EXP_LNKCTL: { in advk_pci_bridge_emul_pcie_conf_read() 580 case PCI_EXP_LNKCTL: in advk_pci_bridge_emul_pcie_conf_write()
|
D | pcie-altera.c | 620 PCI_EXP_LNKCTL, &linkctl); in altera_pcie_retrain() 623 PCI_EXP_LNKCTL, linkctl); in altera_pcie_retrain()
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | eeh_pe.c | 668 eeh_ops->read_config(edev, cap + PCI_EXP_LNKCTL, 2, &val); in eeh_bridge_check_link() 670 eeh_ops->write_config(edev, cap + PCI_EXP_LNKCTL, 2, val); in eeh_bridge_check_link()
|
/Linux-v5.10/drivers/misc/cardreader/ |
D | rts5228.c | 501 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5228_enable_aspm() 513 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5228_disable_aspm()
|
D | rts5261.c | 532 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5261_enable_aspm() 543 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5261_disable_aspm()
|
D | rtsx_pcr.c | 62 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rtsx_pci_disable_aspm() 92 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rtsx_comm_set_aspm() 1360 pcie_capability_write_word(pdev, PCI_EXP_LNKCTL, in rtsx_pci_init_hw()
|
/Linux-v5.10/drivers/pci/ |
D | pci-bridge-emul.c | 197 [PCI_EXP_LNKCTL / 4] = {
|
D | access.c | 375 case PCI_EXP_LNKCTL: in pcie_capability_reg_implemented()
|
/Linux-v5.10/drivers/pci/hotplug/ |
D | pciehp_hpc.c | 335 pcie_capability_read_word(pdev, PCI_EXP_LNKCTL, &lnk_ctrl); in __pciehp_link_set() 342 pcie_capability_write_word(pdev, PCI_EXP_LNKCTL, lnk_ctrl); in __pciehp_link_set()
|
/Linux-v5.10/drivers/gpu/drm/radeon/ |
D | si.c | 7141 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 7143 pcie_capability_read_word(rdev->pdev, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 7147 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in si_pcie_gen3_enable() 7150 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 7175 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 7178 PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 7198 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 7203 PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 7207 PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 7212 PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
|