Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dmdio.h253 static inline u32 mmd_eee_adv_to_ethtool_adv_t(u16 eee_adv) in mmd_eee_adv_to_ethtool_adv_t() argument
257 if (eee_adv & MDIO_EEE_100TX) in mmd_eee_adv_to_ethtool_adv_t()
259 if (eee_adv & MDIO_EEE_1000T) in mmd_eee_adv_to_ethtool_adv_t()
261 if (eee_adv & MDIO_EEE_10GT) in mmd_eee_adv_to_ethtool_adv_t()
263 if (eee_adv & MDIO_EEE_1000KX) in mmd_eee_adv_to_ethtool_adv_t()
265 if (eee_adv & MDIO_EEE_10GKX4) in mmd_eee_adv_to_ethtool_adv_t()
267 if (eee_adv & MDIO_EEE_10GKR) in mmd_eee_adv_to_ethtool_adv_t()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c2084 static u32 bnx2x_eee_to_adv(u32 eee_adv) in bnx2x_eee_to_adv() argument
2088 if (eee_adv & SHMEM_EEE_100M_ADV) in bnx2x_eee_to_adv()
2090 if (eee_adv & SHMEM_EEE_1G_ADV) in bnx2x_eee_to_adv()
2092 if (eee_adv & SHMEM_EEE_10G_ADV) in bnx2x_eee_to_adv()
2100 u32 eee_adv = 0; in bnx2x_adv_to_eee() local
2102 eee_adv |= SHMEM_EEE_100M_ADV; in bnx2x_adv_to_eee()
2104 eee_adv |= SHMEM_EEE_1G_ADV; in bnx2x_adv_to_eee()
2106 eee_adv |= SHMEM_EEE_10G_ADV; in bnx2x_adv_to_eee()
2108 return eee_adv << shift; in bnx2x_adv_to_eee()
/linux-6.6.21/drivers/net/usb/
Dax88179_178a.c715 int eee_lp, eee_cap, eee_adv; in ax88179_chk_eee() local
740 eee_adv = ax88179_phy_read_mmd_indirect(dev, in ax88179_chk_eee()
744 if (eee_adv < 0) { in ax88179_chk_eee()
749 adv = mmd_eee_adv_to_ethtool_adv_t(eee_adv); in ax88179_chk_eee()
Dr8152.c954 u16 eee_adv; member
5402 tp->eee_adv); in rtl_eee_enable()
5417 ocp_reg_write(tp, OCP_EEE_ADV, tp->eee_adv); in rtl_eee_enable()
5430 ocp_reg_write(tp, OCP_EEE_ADV, tp->eee_adv); in rtl_eee_enable()
8909 eee->advertised = tp->eee_adv; in r8152_get_eee()
8920 tp->eee_adv = val; in r8152_set_eee()
8944 eee->advertised = tp->eee_adv; in r8153_get_eee()
9436 tp->eee_adv = MDIO_EEE_100TX; in rtl_ops_init()
9460 tp->eee_adv = MDIO_EEE_1000T | MDIO_EEE_100TX; in rtl_ops_init()
9479 tp->eee_adv = MDIO_EEE_1000T | MDIO_EEE_100TX; in rtl_ops_init()
[all …]
/linux-6.6.21/drivers/net/ethernet/realtek/
Dr8169_main.c634 int eee_adv; member
1944 tp->eee_adv = phy_read_mmd(dev->phydev, MDIO_MMD_AN, in rtl8169_set_eee()
2017 if (tp->eee_adv >= 0) in rtl_enable_eee()
2018 adv = tp->eee_adv; in rtl_enable_eee()
5224 tp->eee_adv = -1; in rtl_init_one()