Searched refs:lcladv (Results 1 – 5 of 5) sorted by relevance
/drivers/net/usb/ |
D | smsc75xx.c | 470 u16 lcladv, u16 rmtadv) in smsc75xx_update_flowcontrol() argument 476 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in smsc75xx_update_flowcontrol() 507 u16 lcladv, rmtadv; in smsc75xx_link_reset() local 520 lcladv = smsc75xx_mdio_read(dev->net, mii->phy_id, MII_ADVERTISE); in smsc75xx_link_reset() 525 ecmd.duplex, lcladv, rmtadv); in smsc75xx_link_reset() 527 return smsc75xx_update_flowcontrol(dev, ecmd.duplex, lcladv, rmtadv); in smsc75xx_link_reset()
|
D | smsc95xx.c | 420 u16 lcladv, u16 rmtadv) in smsc95xx_phy_update_flowcontrol() argument 431 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in smsc95xx_phy_update_flowcontrol() 462 u16 lcladv, rmtadv; in smsc95xx_link_reset() local 472 lcladv = smsc95xx_mdio_read(dev->net, mii->phy_id, MII_ADVERTISE); in smsc95xx_link_reset() 477 ethtool_cmd_speed(&ecmd), ecmd.duplex, lcladv, rmtadv); in smsc95xx_link_reset() 491 smsc95xx_phy_update_flowcontrol(dev, ecmd.duplex, lcladv, rmtadv); in smsc95xx_link_reset()
|
/drivers/net/ethernet/smsc/ |
D | smsc9420.c | 1107 u16 lcladv = phy_read(phy_dev, MII_ADVERTISE); in smsc9420_phy_update_flowcontrol() local 1109 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in smsc9420_phy_update_flowcontrol()
|
D | smsc911x.c | 887 u16 lcladv = phy_read(phy_dev, MII_ADVERTISE); in smsc911x_phy_update_flowcontrol() local 889 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in smsc911x_phy_update_flowcontrol()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 1717 static u8 tg3_resolve_flowctrl_1000X(u16 lcladv, u16 rmtadv) in tg3_resolve_flowctrl_1000X() argument 1721 if (lcladv & rmtadv & ADVERTISE_1000XPAUSE) { in tg3_resolve_flowctrl_1000X() 1723 } else if (lcladv & rmtadv & ADVERTISE_1000XPSE_ASYM) { in tg3_resolve_flowctrl_1000X() 1724 if (lcladv & ADVERTISE_1000XPAUSE) in tg3_resolve_flowctrl_1000X() 1733 static void tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv) in tg3_setup_flow_control() argument 1747 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv); in tg3_setup_flow_control() 1749 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in tg3_setup_flow_control() 4015 static bool tg3_phy_copper_an_config_ok(struct tg3 *tp, u32 *lcladv) in tg3_phy_copper_an_config_ok() argument 4028 if (tg3_readphy(tp, MII_ADVERTISE, lcladv)) in tg3_phy_copper_an_config_ok() 4031 if ((*lcladv & advmsk) != tgtadv) in tg3_phy_copper_an_config_ok()
|