Searched refs:rmtadv (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/sfc/ |
D | mcdi_port_common.c | 379 u32 rmtadv; in efx_mcdi_phy_check_fcntl() local 391 rmtadv = 0; in efx_mcdi_phy_check_fcntl() 393 rmtadv |= ADVERTISED_Pause; in efx_mcdi_phy_check_fcntl() 395 rmtadv |= ADVERTISED_Asym_Pause; in efx_mcdi_phy_check_fcntl() 397 if ((efx->wanted_fc & EFX_FC_TX) && rmtadv == ADVERTISED_Asym_Pause) in efx_mcdi_phy_check_fcntl()
|
/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_hw.c | 762 u16 lcladv, rmtadv = 0; in xgene_enet_flowctrl_cfg() local 778 rmtadv = LPA_PAUSE_CAP; in xgene_enet_flowctrl_cfg() 781 rmtadv |= LPA_PAUSE_ASYM; in xgene_enet_flowctrl_cfg() 783 flowctl = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in xgene_enet_flowctrl_cfg()
|
/drivers/net/usb/ |
D | smsc75xx.c | 589 u16 lcladv, u16 rmtadv) in smsc75xx_update_flowcontrol() argument 595 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in smsc75xx_update_flowcontrol() 632 u16 lcladv, rmtadv; in smsc75xx_link_reset() local 648 rmtadv = smsc75xx_mdio_read(dev->net, mii->phy_id, MII_LPA); in smsc75xx_link_reset() 651 ethtool_cmd_speed(&ecmd), ecmd.duplex, lcladv, rmtadv); in smsc75xx_link_reset() 653 return smsc75xx_update_flowcontrol(dev, ecmd.duplex, lcladv, rmtadv); in smsc75xx_link_reset()
|
D | lan78xx.c | 1152 u16 lcladv, u16 rmtadv) in lan78xx_update_flowcontrol() argument 1158 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in lan78xx_update_flowcontrol()
|
/drivers/net/ethernet/smsc/ |
D | smsc9420.c | 1047 u16 rmtadv = phy_read(phy_dev, MII_LPA); in smsc9420_phy_update_flowcontrol() local 1048 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in smsc9420_phy_update_flowcontrol()
|
D | smsc911x.c | 916 u16 rmtadv = phy_read(phy_dev, MII_LPA); in smsc911x_phy_update_flowcontrol() local 917 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in smsc911x_phy_update_flowcontrol()
|
/drivers/net/ethernet/cortina/ |
D | gemini.c | 334 u16 rmtadv = phy_read(phydev, MII_LPA); in gmac_speed_set() local 335 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in gmac_speed_set()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 1950 static u8 tg3_resolve_flowctrl_1000X(u16 lcladv, u16 rmtadv) in tg3_resolve_flowctrl_1000X() argument 1954 if (lcladv & rmtadv & ADVERTISE_1000XPAUSE) { in tg3_resolve_flowctrl_1000X() 1956 } else if (lcladv & rmtadv & ADVERTISE_1000XPSE_ASYM) { in tg3_resolve_flowctrl_1000X() 1959 if (rmtadv & ADVERTISE_1000XPAUSE) in tg3_resolve_flowctrl_1000X() 1966 static void tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv) in tg3_setup_flow_control() argument 1980 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv); in tg3_setup_flow_control() 1982 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in tg3_setup_flow_control() 4691 static bool tg3_phy_copper_fetch_rmtadv(struct tg3 *tp, u32 *rmtadv) in tg3_phy_copper_fetch_rmtadv() argument 4704 if (tg3_readphy(tp, MII_LPA, rmtadv)) in tg3_phy_copper_fetch_rmtadv() 4707 lpeth |= mii_lpa_to_ethtool_lpa_t(*rmtadv); in tg3_phy_copper_fetch_rmtadv()
|