Lines Matching refs:fc
215 u8 fc = 0; in alx_set_pauseparam() local
218 fc |= ALX_FC_TX; in alx_set_pauseparam()
220 fc |= ALX_FC_RX; in alx_set_pauseparam()
222 fc |= ALX_FC_ANEG; in alx_set_pauseparam()
228 if (!((fc ^ hw->flowctrl) & ALX_FC_ANEG)) in alx_set_pauseparam()
230 if (fc & hw->flowctrl & ALX_FC_ANEG && in alx_set_pauseparam()
231 (fc ^ hw->flowctrl) & (ALX_FC_RX | ALX_FC_TX)) in alx_set_pauseparam()
236 err = alx_setup_speed_duplex(hw, hw->adv_cfg, fc); in alx_set_pauseparam()
242 if ((fc ^ hw->flowctrl) & (ALX_FC_RX | ALX_FC_TX)) in alx_set_pauseparam()
243 alx_cfg_mac_flowcontrol(hw, fc); in alx_set_pauseparam()
245 hw->flowctrl = fc; in alx_set_pauseparam()