Searched refs:eee_adv (Results 1 – 5 of 5) sorted by relevance
253 static inline u32 mmd_eee_adv_to_ethtool_adv_t(u16 eee_adv) in mmd_eee_adv_to_ethtool_adv_t() argument257 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()
2084 static u32 bnx2x_eee_to_adv(u32 eee_adv) in bnx2x_eee_to_adv() argument2088 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() local2102 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()
715 int eee_lp, eee_cap, eee_adv; in ax88179_chk_eee() local740 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()
954 u16 eee_adv; member5402 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 …]
634 int eee_adv; member1944 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()