Home
last modified time | relevance | path

Searched refs:PCI_EXP_LNKCTL (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dpci.c14 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.3-rc2/drivers/pci/pcie/
A Daspm.c150 pcie_capability_clear_and_set_word(child, PCI_EXP_LNKCTL, in pcie_set_clkpm_nocheck()
186 pcie_capability_read_word(child, PCI_EXP_LNKCTL, &reg16); in pcie_clkpm_cap_init()
202 pcie_capability_read_word(parent, PCI_EXP_LNKCTL, &reg16); in pcie_retrain_link()
204 pcie_capability_write_word(parent, PCI_EXP_LNKCTL, reg16); in pcie_retrain_link()
255 pcie_capability_read_word(parent, PCI_EXP_LNKCTL, &reg16); in pcie_aspm_configure_common_clock()
260 pcie_capability_read_word(child, PCI_EXP_LNKCTL, in pcie_aspm_configure_common_clock()
274 pcie_capability_read_word(child, PCI_EXP_LNKCTL, &reg16); in pcie_aspm_configure_common_clock()
280 pcie_capability_write_word(child, PCI_EXP_LNKCTL, reg16); in pcie_aspm_configure_common_clock()
284 pcie_capability_read_word(parent, PCI_EXP_LNKCTL, &reg16); in pcie_aspm_configure_common_clock()
298 pcie_capability_write_word(child, PCI_EXP_LNKCTL, in pcie_aspm_configure_common_clock()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Daspm.c69 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()
A Dpcie.c320 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL, in restore_pci_variables()
379 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_LNKCTL, in save_pci_variables()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Dreset.c150 linkctl = hca_header[(pcie_cap + PCI_EXP_LNKCTL) / 4]; in mlx4_reset()
152 PCI_EXP_LNKCTL, in mlx4_reset()
/linux-6.3-rc2/drivers/infiniband/hw/mthca/
A Dmthca_reset.c247 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.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Dcik.c1577 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
1579 pcie_capability_read_word(adev->pdev, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
1583 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in cik_pcie_gen3_enable()
1586 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
1617 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
1620 PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
1640 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
1644 pcie_capability_write_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
1648 PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
1653 PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
A Dsi.c2279 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
2281 pcie_capability_read_word(adev->pdev, PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
2285 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in si_pcie_gen3_enable()
2288 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
2312 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
2315 PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
2334 pcie_capability_read_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
2338 pcie_capability_write_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
2342 PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
2347 PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
/linux-6.3-rc2/drivers/staging/rtl8192e/rtl8192e/
A Drtl_pci.c21 pcie_capability_read_word(priv->pdev, PCI_EXP_LNKCTL, &link_ctrl_reg); in _rtl92e_parse_pci_configuration()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dfw_reset.c335 err = pci_read_config_word(bridge, cap + PCI_EXP_LNKCTL, &reg16); in mlx5_pci_link_toggle()
339 err = pci_write_config_word(bridge, cap + PCI_EXP_LNKCTL, reg16); in mlx5_pci_link_toggle()
344 err = pci_write_config_word(bridge, cap + PCI_EXP_LNKCTL, reg16); in mlx5_pci_link_toggle()
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A Dpci.c840 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.3-rc2/drivers/pci/controller/dwc/
A Dpcie-intel-gw.c125 val = pcie_rc_cfg_rd(pcie, offset + PCI_EXP_LNKCTL); in intel_pcie_link_setup()
128 pcie_rc_cfg_wr(pcie, offset + PCI_EXP_LNKCTL, val); in intel_pcie_link_setup()
/linux-6.3-rc2/drivers/pci/controller/cadence/
A Dpcie-cadence-host.c116 pcie_cap_off + PCI_EXP_LNKCTL); in cdns_pcie_retrain()
118 cdns_pcie_rp_writew(pcie, pcie_cap_off + PCI_EXP_LNKCTL, in cdns_pcie_retrain()
/linux-6.3-rc2/arch/powerpc/kernel/
A Deeh_pe.c669 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.3-rc2/drivers/net/wireless/ath/ath11k/
A Dpci.c578 pcie_capability_read_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath11k_pci_aspm_disable()
587 pcie_capability_write_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath11k_pci_aspm_disable()
596 pcie_capability_write_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath11k_pci_aspm_restore()
/linux-6.3-rc2/drivers/pci/controller/
A Dpci-mvebu.c648 case PCI_EXP_LNKCTL: in mvebu_pci_bridge_emul_pcie_conf_read()
650 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_LNKCTL) | in mvebu_pci_bridge_emul_pcie_conf_read()
805 case PCI_EXP_LNKCTL: in mvebu_pci_bridge_emul_pcie_conf_write()
813 mvebu_writel(port, new, PCIE_CAP_PCIEXP + PCI_EXP_LNKCTL); in mvebu_pci_bridge_emul_pcie_conf_write()
A Dpcie-altera.c618 PCI_EXP_LNKCTL, &linkctl); in altera_pcie_retrain()
621 PCI_EXP_LNKCTL, linkctl); in altera_pcie_retrain()
/linux-6.3-rc2/drivers/misc/cardreader/
A Drts5228.c518 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5228_enable_aspm()
530 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5228_disable_aspm()
A Drts5261.c599 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5261_enable_aspm()
612 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rts5261_disable_aspm()
A Drtsx_pcr.c89 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rtsx_comm_set_aspm()
1318 pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL, in rtsx_pci_init_hw()
1416 pcie_capability_read_word(pcr->pci, PCI_EXP_LNKCTL, &cfg_val); in rtsx_pci_init_chip()
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dpci.c767 pcie_capability_read_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath12k_pci_aspm_disable()
776 pcie_capability_write_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath12k_pci_aspm_disable()
785 pcie_capability_write_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath12k_pci_aspm_restore()
/linux-6.3-rc2/drivers/pci/hotplug/
A Dpciehp_hpc.c337 pcie_capability_read_word(pdev, PCI_EXP_LNKCTL, &lnk_ctrl); in __pciehp_link_set()
344 pcie_capability_write_word(pdev, PCI_EXP_LNKCTL, lnk_ctrl); in __pciehp_link_set()
/linux-6.3-rc2/drivers/net/wwan/iosm/
A Diosm_ipc_pcie.c153 pcie_capability_read_word(pdev, PCI_EXP_LNKCTL, &value); in ipc_pcie_check_aspm_enabled()
/linux-6.3-rc2/drivers/pci/
A Dpci-bridge-emul.c218 [PCI_EXP_LNKCTL / 4] = {
A Daccess.c385 case PCI_EXP_LNKCTL: in pcie_capability_reg_implemented()

Completed in 47 milliseconds

12