/linux-6.6.21/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-6.6.21/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 | 313 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL, in restore_pci_variables() 372 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKCTL, in save_pci_variables()
|
/linux-6.6.21/drivers/pci/pcie/ |
D | aspm.c | 148 pcie_capability_clear_and_set_word(child, PCI_EXP_LNKCTL, in pcie_set_clkpm_nocheck() 184 pcie_capability_read_word(child, PCI_EXP_LNKCTL, ®16); in pcie_clkpm_cap_init() 223 pcie_capability_read_word(parent, PCI_EXP_LNKCTL, ®16); in pcie_aspm_configure_common_clock() 229 pcie_capability_read_word(child, PCI_EXP_LNKCTL, in pcie_aspm_configure_common_clock() 244 pcie_capability_read_word(child, PCI_EXP_LNKCTL, ®16); in pcie_aspm_configure_common_clock() 246 pcie_capability_clear_and_set_word(child, PCI_EXP_LNKCTL, in pcie_aspm_configure_common_clock() 251 pcie_capability_clear_and_set_word(parent, PCI_EXP_LNKCTL, in pcie_aspm_configure_common_clock() 259 pcie_capability_clear_and_set_word(child, PCI_EXP_LNKCTL, in pcie_aspm_configure_common_clock() 262 pcie_capability_clear_and_set_word(parent, PCI_EXP_LNKCTL, in pcie_aspm_configure_common_clock() 618 pcie_capability_read_word(parent, PCI_EXP_LNKCTL, &parent_lnkctl); in pcie_aspm_cap_init() [all …]
|
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_pci.c | 21 pcie_capability_read_word(priv->pdev, PCI_EXP_LNKCTL, &link_ctrl_reg); in _rtl92e_parse_pci_configuration()
|
/linux-6.6.21/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-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | cik.c | 1577 pcie_capability_set_word(root, PCI_EXP_LNKCTL, PCI_EXP_LNKCTL_HAWD); in cik_pcie_gen3_enable() 1578 pcie_capability_set_word(adev->pdev, PCI_EXP_LNKCTL, PCI_EXP_LNKCTL_HAWD); in cik_pcie_gen3_enable() 1608 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1611 PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1631 pcie_capability_clear_and_set_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1635 pcie_capability_clear_and_set_word(adev->pdev, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
|
D | si.c | 2279 pcie_capability_set_word(root, PCI_EXP_LNKCTL, PCI_EXP_LNKCTL_HAWD); in si_pcie_gen3_enable() 2280 pcie_capability_set_word(adev->pdev, PCI_EXP_LNKCTL, PCI_EXP_LNKCTL_HAWD); in si_pcie_gen3_enable() 2303 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2306 PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2325 pcie_capability_clear_and_set_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2329 pcie_capability_clear_and_set_word(adev->pdev, PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
|
/linux-6.6.21/drivers/pci/controller/dwc/ |
D | pcie-intel-gw.c | 127 val = pcie_rc_cfg_rd(pcie, offset + PCI_EXP_LNKCTL); in intel_pcie_link_setup() 130 pcie_rc_cfg_wr(pcie, offset + PCI_EXP_LNKCTL, val); in intel_pcie_link_setup()
|
D | pcie-tegra194.c | 361 PCI_EXP_LNKCTL); in apply_bad_link_workaround() 364 PCI_EXP_LNKCTL, val); in apply_bad_link_workaround() 766 PCI_EXP_LNKCTL); in tegra_pcie_enable_system_interrupts() 768 dw_pcie_writew_dbi(&pcie->pci, pcie->pcie_cap_base + PCI_EXP_LNKCTL, in tegra_pcie_enable_system_interrupts()
|
/linux-6.6.21/drivers/pci/controller/cadence/ |
D | pcie-cadence-host.c | 139 pcie_cap_off + PCI_EXP_LNKCTL); in cdns_pcie_retrain() 141 cdns_pcie_rp_writew(pcie, pcie_cap_off + PCI_EXP_LNKCTL, in cdns_pcie_retrain()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | eeh_pe.c | 669 eeh_ops->read_config(edev, cap + PCI_EXP_LNKCTL, 2, &val); in eeh_bridge_check_link() 671 eeh_ops->write_config(edev, cap + PCI_EXP_LNKCTL, 2, val); in eeh_bridge_check_link()
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | pci.c | 576 pcie_capability_read_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath11k_pci_aspm_disable() 585 pcie_capability_clear_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath11k_pci_aspm_disable() 594 pcie_capability_clear_and_set_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath11k_pci_aspm_restore()
|
/linux-6.6.21/drivers/misc/cardreader/ |
D | rts5228.c | 477 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5228_enable_aspm() 489 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5228_disable_aspm()
|
D | rts5261.c | 555 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5261_enable_aspm() 568 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5261_disable_aspm()
|
/linux-6.6.21/drivers/pci/controller/ |
D | pci-mvebu.c | 647 case PCI_EXP_LNKCTL: in mvebu_pci_bridge_emul_pcie_conf_read() 649 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_LNKCTL) | in mvebu_pci_bridge_emul_pcie_conf_read() 804 case PCI_EXP_LNKCTL: in mvebu_pci_bridge_emul_pcie_conf_write() 812 mvebu_writel(port, new, PCIE_CAP_PCIEXP + PCI_EXP_LNKCTL); in mvebu_pci_bridge_emul_pcie_conf_write()
|
D | pcie-altera.c | 617 PCI_EXP_LNKCTL, &linkctl); in altera_pcie_retrain() 620 PCI_EXP_LNKCTL, linkctl); in altera_pcie_retrain()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fw_reset.c | 443 err = pcie_capability_set_word(bridge, PCI_EXP_LNKCTL, PCI_EXP_LNKCTL_LD); in mlx5_pci_link_toggle() 447 err = pcie_capability_clear_word(bridge, PCI_EXP_LNKCTL, PCI_EXP_LNKCTL_LD); in mlx5_pci_link_toggle()
|
/linux-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | pci.c | 788 pcie_capability_read_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath12k_pci_aspm_disable() 797 pcie_capability_clear_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath12k_pci_aspm_disable() 806 pcie_capability_clear_and_set_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath12k_pci_aspm_restore()
|
/linux-6.6.21/drivers/net/wwan/iosm/ |
D | iosm_ipc_pcie.c | 153 pcie_capability_read_word(pdev, PCI_EXP_LNKCTL, &value); in ipc_pcie_check_aspm_enabled()
|
/linux-6.6.21/drivers/pci/ |
D | pci-bridge-emul.c | 218 [PCI_EXP_LNKCTL / 4] = {
|
D | access.c | 385 case PCI_EXP_LNKCTL: in pcie_capability_reg_implemented()
|
D | pci-acpi.c | 257 pcie_capability_read_word(rp, PCI_EXP_LNKCTL, &lnkctl); in pcie_root_rcb_set() 328 pcie_capability_clear_and_set_word(dev, PCI_EXP_LNKCTL, in program_hpx_type2()
|