Home
last modified time | relevance | path

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

/linux/include/linux/
A Dmdio.h249 static inline u32 mmd_eee_adv_to_ethtool_adv_t(u16 eee_adv) in mmd_eee_adv_to_ethtool_adv_t() argument
253 if (eee_adv & MDIO_EEE_100TX) in mmd_eee_adv_to_ethtool_adv_t()
255 if (eee_adv & MDIO_EEE_1000T) in mmd_eee_adv_to_ethtool_adv_t()
257 if (eee_adv & MDIO_EEE_10GT) in mmd_eee_adv_to_ethtool_adv_t()
259 if (eee_adv & MDIO_EEE_1000KX) in mmd_eee_adv_to_ethtool_adv_t()
261 if (eee_adv & MDIO_EEE_10GKX4) in mmd_eee_adv_to_ethtool_adv_t()
263 if (eee_adv & MDIO_EEE_10GKR) in mmd_eee_adv_to_ethtool_adv_t()
/linux/drivers/net/phy/
A Dphy.c1207 static void mmd_eee_adv_to_linkmode(unsigned long *advertising, u16 eee_adv) in mmd_eee_adv_to_linkmode() argument
1211 if (eee_adv & MDIO_EEE_100TX) in mmd_eee_adv_to_linkmode()
1214 if (eee_adv & MDIO_EEE_1000T) in mmd_eee_adv_to_linkmode()
1217 if (eee_adv & MDIO_EEE_10GT) in mmd_eee_adv_to_linkmode()
1220 if (eee_adv & MDIO_EEE_1000KX) in mmd_eee_adv_to_linkmode()
1223 if (eee_adv & MDIO_EEE_10GKX4) in mmd_eee_adv_to_linkmode()
1226 if (eee_adv & MDIO_EEE_10GKR) in mmd_eee_adv_to_linkmode()
1252 int eee_lp, eee_cap, eee_adv; in phy_init_eee() local
1277 eee_adv = phy_read_mmd(phydev, MDIO_MMD_AN, MDIO_AN_EEE_ADV); in phy_init_eee()
1278 if (eee_adv <= 0) in phy_init_eee()
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_ethtool.c2080 static u32 bnx2x_eee_to_adv(u32 eee_adv) in bnx2x_eee_to_adv() argument
2084 if (eee_adv & SHMEM_EEE_100M_ADV) in bnx2x_eee_to_adv()
2086 if (eee_adv & SHMEM_EEE_1G_ADV) in bnx2x_eee_to_adv()
2088 if (eee_adv & SHMEM_EEE_10G_ADV) in bnx2x_eee_to_adv()
2096 u32 eee_adv = 0; in bnx2x_adv_to_eee() local
2098 eee_adv |= SHMEM_EEE_100M_ADV; in bnx2x_adv_to_eee()
2100 eee_adv |= SHMEM_EEE_1G_ADV; in bnx2x_adv_to_eee()
2102 eee_adv |= SHMEM_EEE_10G_ADV; in bnx2x_adv_to_eee()
2104 return eee_adv << shift; in bnx2x_adv_to_eee()
/linux/drivers/net/usb/
A Dax88179_178a.c753 int eee_lp, eee_cap, eee_adv; in ax88179_chk_eee() local
778 eee_adv = ax88179_phy_read_mmd_indirect(dev, in ax88179_chk_eee()
782 if (eee_adv < 0) { in ax88179_chk_eee()
787 adv = mmd_eee_adv_to_ethtool_adv_t(eee_adv); in ax88179_chk_eee()
A Dr8152.c942 u16 eee_adv; member
5285 tp->eee_adv); in rtl_eee_enable()
5300 ocp_reg_write(tp, OCP_EEE_ADV, tp->eee_adv); in rtl_eee_enable()
5313 ocp_reg_write(tp, OCP_EEE_ADV, tp->eee_adv); in rtl_eee_enable()
8781 eee->advertised = tp->eee_adv; in r8152_get_eee()
8792 tp->eee_adv = val; in r8152_set_eee()
8816 eee->advertised = tp->eee_adv; in r8153_get_eee()
9304 tp->eee_adv = MDIO_EEE_100TX; in rtl_ops_init()
9328 tp->eee_adv = MDIO_EEE_1000T | MDIO_EEE_100TX; in rtl_ops_init()
9347 tp->eee_adv = MDIO_EEE_1000T | MDIO_EEE_100TX; in rtl_ops_init()
[all …]
/linux/drivers/net/ethernet/realtek/
A Dr8169_main.c631 int eee_adv; member
1870 tp->eee_adv = phy_read_mmd(dev->phydev, MDIO_MMD_AN, in rtl8169_set_eee()
1941 if (tp->eee_adv >= 0) in rtl_enable_eee()
1942 adv = tp->eee_adv; in rtl_enable_eee()
5262 tp->eee_adv = -1; in rtl_init_one()

Completed in 45 milliseconds