Searched refs:lcladv (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | mii.h | 582 static inline u8 mii_resolve_flowctrl_fdx(u16 lcladv, u16 rmtadv) in mii_resolve_flowctrl_fdx() argument 586 if (lcladv & rmtadv & ADVERTISE_PAUSE_CAP) { in mii_resolve_flowctrl_fdx() 588 } else if (lcladv & rmtadv & ADVERTISE_PAUSE_ASYM) { in mii_resolve_flowctrl_fdx() 589 if (lcladv & ADVERTISE_PAUSE_CAP) in mii_resolve_flowctrl_fdx()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_hw.c | 762 u16 lcladv, rmtadv = 0; in xgene_enet_flowctrl_cfg() local 775 lcladv = mii_advertise_flowctrl(flowctl); in xgene_enet_flowctrl_cfg() 783 flowctl = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in xgene_enet_flowctrl_cfg()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | smsc75xx.c | 587 u16 lcladv, u16 rmtadv) in smsc75xx_update_flowcontrol() argument 593 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in smsc75xx_update_flowcontrol() 630 u16 lcladv, rmtadv; in smsc75xx_link_reset() local 645 lcladv = smsc75xx_mdio_read(dev->net, mii->phy_id, MII_ADVERTISE); in smsc75xx_link_reset() 649 ethtool_cmd_speed(&ecmd), ecmd.duplex, lcladv, rmtadv); in smsc75xx_link_reset() 651 return smsc75xx_update_flowcontrol(dev, ecmd.duplex, lcladv, rmtadv); in smsc75xx_link_reset()
|
D | lan78xx.c | 1123 u16 lcladv, u16 rmtadv) in lan78xx_update_flowcontrol() argument 1129 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in lan78xx_update_flowcontrol()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
D | smsc9420.c | 1046 u16 lcladv = phy_read(phy_dev, MII_ADVERTISE); in smsc9420_phy_update_flowcontrol() local 1048 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in smsc9420_phy_update_flowcontrol()
|
D | smsc911x.c | 915 u16 lcladv = phy_read(phy_dev, MII_ADVERTISE); in smsc911x_phy_update_flowcontrol() local 917 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in smsc911x_phy_update_flowcontrol()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cortina/ |
D | gemini.c | 333 u16 lcladv = phy_read(phydev, MII_ADVERTISE); in gmac_speed_set() local 335 u8 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in gmac_speed_set()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
D | tg3.c | 1949 static u8 tg3_resolve_flowctrl_1000X(u16 lcladv, u16 rmtadv) in tg3_resolve_flowctrl_1000X() argument 1953 if (lcladv & rmtadv & ADVERTISE_1000XPAUSE) { in tg3_resolve_flowctrl_1000X() 1955 } else if (lcladv & rmtadv & ADVERTISE_1000XPSE_ASYM) { in tg3_resolve_flowctrl_1000X() 1956 if (lcladv & ADVERTISE_1000XPAUSE) in tg3_resolve_flowctrl_1000X() 1965 static void tg3_setup_flow_control(struct tg3 *tp, u32 lcladv, u32 rmtadv) in tg3_setup_flow_control() argument 1979 flowctrl = tg3_resolve_flowctrl_1000X(lcladv, rmtadv); in tg3_setup_flow_control() 1981 flowctrl = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in tg3_setup_flow_control() 4646 static bool tg3_phy_copper_an_config_ok(struct tg3 *tp, u32 *lcladv) in tg3_phy_copper_an_config_ok() argument 4659 if (tg3_readphy(tp, MII_ADVERTISE, lcladv)) in tg3_phy_copper_an_config_ok() 4662 if ((*lcladv & advmsk) != tgtadv) in tg3_phy_copper_an_config_ok()
|