Searched refs:rmtadv (Results 1 – 2 of 2) sorted by relevance
200 static inline u8 mii_resolve_flowctrl_fdx(u16 lcladv, u16 rmtadv) in mii_resolve_flowctrl_fdx() argument204 if (lcladv & rmtadv & ADVERTISE_PAUSE_CAP) { in mii_resolve_flowctrl_fdx()206 } else if (lcladv & rmtadv & ADVERTISE_PAUSE_ASYM) { in mii_resolve_flowctrl_fdx()209 else if (rmtadv & ADVERTISE_PAUSE_CAP) in mii_resolve_flowctrl_fdx()
266 uint32_t lcladv, rmtadv; in lan7x_update_flowcontrol() local276 rmtadv = lan7x_mdio_read(udev, dev->phy_id, MII_LPA); in lan7x_update_flowcontrol()277 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in lan7x_update_flowcontrol()