Searched refs:link_ctrl (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-iproc.c | 768 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()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | pci.h | 225 u16 link_ctrl; member
|
H A D | pci.c | 1384 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()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_x550.c | 1508 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()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | pci.c | 3504 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()
|