Searched refs:eee_adv (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/include/linux/ |
D | mdio.h | 251 static inline u32 mmd_eee_adv_to_ethtool_adv_t(u16 eee_adv) in mmd_eee_adv_to_ethtool_adv_t() argument 255 if (eee_adv & MDIO_EEE_100TX) in mmd_eee_adv_to_ethtool_adv_t() 257 if (eee_adv & MDIO_EEE_1000T) in mmd_eee_adv_to_ethtool_adv_t() 259 if (eee_adv & MDIO_EEE_10GT) in mmd_eee_adv_to_ethtool_adv_t() 261 if (eee_adv & MDIO_EEE_1000KX) in mmd_eee_adv_to_ethtool_adv_t() 263 if (eee_adv & MDIO_EEE_10GKX4) in mmd_eee_adv_to_ethtool_adv_t() 265 if (eee_adv & MDIO_EEE_10GKR) in mmd_eee_adv_to_ethtool_adv_t()
|
/linux-6.1.9/drivers/net/phy/ |
D | phy.c | 1267 static void mmd_eee_adv_to_linkmode(unsigned long *advertising, u16 eee_adv) in mmd_eee_adv_to_linkmode() argument 1271 if (eee_adv & MDIO_EEE_100TX) in mmd_eee_adv_to_linkmode() 1274 if (eee_adv & MDIO_EEE_1000T) in mmd_eee_adv_to_linkmode() 1277 if (eee_adv & MDIO_EEE_10GT) in mmd_eee_adv_to_linkmode() 1280 if (eee_adv & MDIO_EEE_1000KX) in mmd_eee_adv_to_linkmode() 1283 if (eee_adv & MDIO_EEE_10GKX4) in mmd_eee_adv_to_linkmode() 1286 if (eee_adv & MDIO_EEE_10GKR) in mmd_eee_adv_to_linkmode() 1312 int eee_lp, eee_cap, eee_adv; in phy_init_eee() local 1337 eee_adv = phy_read_mmd(phydev, MDIO_MMD_AN, MDIO_AN_EEE_ADV); in phy_init_eee() 1338 if (eee_adv <= 0) in phy_init_eee() [all …]
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 2084 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.1.9/drivers/net/usb/ |
D | ax88179_178a.c | 698 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()
|
D | r8152.c | 946 u16 eee_adv; member 5295 tp->eee_adv); in rtl_eee_enable() 5310 ocp_reg_write(tp, OCP_EEE_ADV, tp->eee_adv); in rtl_eee_enable() 5323 ocp_reg_write(tp, OCP_EEE_ADV, tp->eee_adv); in rtl_eee_enable() 8800 eee->advertised = tp->eee_adv; in r8152_get_eee() 8811 tp->eee_adv = val; in r8152_set_eee() 8835 eee->advertised = tp->eee_adv; in r8153_get_eee() 9327 tp->eee_adv = MDIO_EEE_100TX; in rtl_ops_init() 9351 tp->eee_adv = MDIO_EEE_1000T | MDIO_EEE_100TX; in rtl_ops_init() 9370 tp->eee_adv = MDIO_EEE_1000T | MDIO_EEE_100TX; in rtl_ops_init() [all …]
|
/linux-6.1.9/drivers/net/ethernet/realtek/ |
D | r8169_main.c | 621 int eee_adv; member 1859 tp->eee_adv = phy_read_mmd(dev->phydev, MDIO_MMD_AN, in rtl8169_set_eee() 1932 if (tp->eee_adv >= 0) in rtl_enable_eee() 1933 adv = tp->eee_adv; in rtl_enable_eee() 5153 tp->eee_adv = -1; in rtl_init_one()
|