Lines Matching refs:flowctrl
155 if (hw->flowctrl & ALX_FC_ANEG && hw->adv_cfg & ADVERTISED_Autoneg) { in alx_get_link_ksettings()
156 if (hw->flowctrl & ALX_FC_RX) { in alx_get_link_ksettings()
159 if (!(hw->flowctrl & ALX_FC_TX)) in alx_get_link_ksettings()
161 } else if (hw->flowctrl & ALX_FC_TX) { in alx_get_link_ksettings()
203 return alx_setup_speed_duplex(hw, adv_cfg, hw->flowctrl); in alx_set_link_ksettings()
212 pause->autoneg = !!(hw->flowctrl & ALX_FC_ANEG && in alx_get_pauseparam()
214 pause->tx_pause = !!(hw->flowctrl & ALX_FC_TX); in alx_get_pauseparam()
215 pause->rx_pause = !!(hw->flowctrl & ALX_FC_RX); in alx_get_pauseparam()
239 if (!((fc ^ hw->flowctrl) & ALX_FC_ANEG)) in alx_set_pauseparam()
241 if (fc & hw->flowctrl & ALX_FC_ANEG && in alx_set_pauseparam()
242 (fc ^ hw->flowctrl) & (ALX_FC_RX | ALX_FC_TX)) in alx_set_pauseparam()
253 if ((fc ^ hw->flowctrl) & (ALX_FC_RX | ALX_FC_TX)) in alx_set_pauseparam()
256 hw->flowctrl = fc; in alx_set_pauseparam()