Home
last modified time | relevance | path

Searched refs:link_ctrl (Results 1 – 5 of 5) sorted by relevance

/drivers/pci/controller/
Dpcie-iproc.c768 u32 hdr_type, link_ctrl, link_status, class, val; in iproc_pcie_check_link() local
814 4, &link_ctrl); in iproc_pcie_check_link()
815 if ((link_ctrl & PCI_TARGET_LINK_SPEED_MASK) == in iproc_pcie_check_link()
817 link_ctrl &= ~PCI_TARGET_LINK_SPEED_MASK; in iproc_pcie_check_link()
818 link_ctrl |= PCI_TARGET_LINK_SPEED_GEN1; in iproc_pcie_check_link()
821 4, link_ctrl); in iproc_pcie_check_link()
/drivers/net/wireless/realtek/rtw88/
Dpci.c1384 if (!(rtwpci->link_ctrl & PCI_EXP_LNKCTL_ASPM_L1)) in rtw_pci_link_ps()
1397 u16 link_ctrl; in rtw_pci_link_cfg() local
1422 ret = pcie_capability_read_word(pdev, PCI_EXP_LNKCTL, &link_ctrl); in rtw_pci_link_cfg()
1428 if (link_ctrl & PCI_EXP_LNKCTL_CLKREQ_EN) in rtw_pci_link_cfg()
1431 rtwpci->link_ctrl = link_ctrl; in rtw_pci_link_cfg()
Dpci.h225 u16 link_ctrl; member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c1508 u32 link_ctrl; in ixgbe_restart_an_internal_phy_x550em() local
1513 IXGBE_SB_IOSF_TARGET_KR_PHY, &link_ctrl); in ixgbe_restart_an_internal_phy_x550em()
1520 link_ctrl |= IXGBE_KRM_LINK_CTRL_1_TETH_AN_RESTART; in ixgbe_restart_an_internal_phy_x550em()
1523 IXGBE_SB_IOSF_TARGET_KR_PHY, link_ctrl); in ixgbe_restart_an_internal_phy_x550em()
/drivers/net/wireless/realtek/rtw89/
Dpci.c3504 u16 link_ctrl; in rtw89_pci_link_cfg() local
3523 ret = pcie_capability_read_word(pdev, PCI_EXP_LNKCTL, &link_ctrl); in rtw89_pci_link_cfg()
3529 if (link_ctrl & PCI_EXP_LNKCTL_CLKREQ_EN) in rtw89_pci_link_cfg()
3532 if (link_ctrl & PCI_EXP_LNKCTL_ASPM_L1) in rtw89_pci_link_cfg()