Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/drivers/net/usb/
Dax88179_178a.c698 int eee_lp, eee_cap, eee_adv; in ax88179_chk_eee() local
723 eee_adv = ax88179_phy_read_mmd_indirect(dev, in ax88179_chk_eee()
727 if (eee_adv < 0) { in ax88179_chk_eee()
732 adv = mmd_eee_adv_to_ethtool_adv_t(eee_adv); in ax88179_chk_eee()
Dr8152.c954 u16 eee_adv; member
5388 tp->eee_adv); in rtl_eee_enable()
5403 ocp_reg_write(tp, OCP_EEE_ADV, tp->eee_adv); in rtl_eee_enable()
5416 ocp_reg_write(tp, OCP_EEE_ADV, tp->eee_adv); in rtl_eee_enable()
8886 eee->advertised = tp->eee_adv; in r8152_get_eee()
8897 tp->eee_adv = val; in r8152_set_eee()
8921 eee->advertised = tp->eee_adv; in r8153_get_eee()
9413 tp->eee_adv = MDIO_EEE_100TX; in rtl_ops_init()
9437 tp->eee_adv = MDIO_EEE_1000T | MDIO_EEE_100TX; in rtl_ops_init()
9456 tp->eee_adv = MDIO_EEE_1000T | MDIO_EEE_100TX; in rtl_ops_init()
[all …]
/Linux-v6.6/drivers/net/ethernet/realtek/
Dr8169_main.c631 int eee_adv; member
1929 tp->eee_adv = phy_read_mmd(dev->phydev, MDIO_MMD_AN, in rtl8169_set_eee()
2002 if (tp->eee_adv >= 0) in rtl_enable_eee()
2003 adv = tp->eee_adv; in rtl_enable_eee()
5190 tp->eee_adv = -1; in rtl_init_one()