Searched refs:eee_adv (Results 1 – 4 of 4) sorted by relevance
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()
716 int eee_lp, eee_cap, eee_adv; in ax88179_chk_eee() local741 eee_adv = ax88179_phy_read_mmd_indirect(dev, in ax88179_chk_eee()745 if (eee_adv < 0) { in ax88179_chk_eee()750 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; member1967 tp->eee_adv = phy_read_mmd(dev->phydev, MDIO_MMD_AN, in rtl8169_set_eee()2040 if (tp->eee_adv >= 0) in rtl_enable_eee()2041 adv = tp->eee_adv; in rtl_enable_eee()5251 tp->eee_adv = -1; in rtl_init_one()