Searched refs:lcladv (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()207 if (lcladv & ADVERTISE_PAUSE_CAP) in mii_resolve_flowctrl_fdx()
266 uint32_t lcladv, rmtadv; in lan7x_update_flowcontrol() local275 lcladv = lan7x_mdio_read(udev, dev->phy_id, MII_ADVERTISE); in lan7x_update_flowcontrol()277 cap = mii_resolve_flowctrl_fdx(lcladv, rmtadv); in lan7x_update_flowcontrol()