Searched refs:wanted_fc (Results 1 – 13 of 13) sorted by relevance
/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 682 u8 wanted_fc, old_fc; in ef4_ethtool_set_pauseparam() local 688 wanted_fc = ((pause->rx_pause ? EF4_FC_RX : 0) | in ef4_ethtool_set_pauseparam() 692 if ((wanted_fc & EF4_FC_TX) && !(wanted_fc & EF4_FC_RX)) { in ef4_ethtool_set_pauseparam() 699 if ((wanted_fc & EF4_FC_AUTO) && !efx->link_advertising) { in ef4_ethtool_set_pauseparam() 708 (wanted_fc & EF4_FC_TX) && !(efx->wanted_fc & EF4_FC_TX)) in ef4_ethtool_set_pauseparam() 712 old_fc = efx->wanted_fc; in ef4_ethtool_set_pauseparam() 713 ef4_link_set_wanted_fc(efx, wanted_fc); in ef4_ethtool_set_pauseparam() 715 (efx->wanted_fc ^ old_fc) & EF4_FC_AUTO) { in ef4_ethtool_set_pauseparam() 741 pause->rx_pause = !!(efx->wanted_fc & EF4_FC_RX); in ef4_ethtool_get_pauseparam() 742 pause->tx_pause = !!(efx->wanted_fc & EF4_FC_TX); in ef4_ethtool_get_pauseparam() [all …]
|
D | mdio_10g.c | 300 if (!(efx->wanted_fc & EF4_FC_AUTO)) in ef4_mdio_get_pause() 301 return efx->wanted_fc; in ef4_mdio_get_pause() 306 mii_advertise_flowctrl(efx->wanted_fc), in ef4_mdio_get_pause()
|
D | efx.c | 940 efx->wanted_fc |= (EF4_FC_TX | EF4_FC_RX); in ef4_link_set_advertising() 942 efx->wanted_fc &= ~(EF4_FC_TX | EF4_FC_RX); in ef4_link_set_advertising() 944 efx->wanted_fc ^= EF4_FC_TX; in ef4_link_set_advertising() 948 void ef4_link_set_wanted_fc(struct ef4_nic *efx, u8 wanted_fc) in ef4_link_set_wanted_fc() argument 950 efx->wanted_fc = wanted_fc; in ef4_link_set_wanted_fc() 952 if (wanted_fc & EF4_FC_RX) in ef4_link_set_wanted_fc() 958 if (wanted_fc & EF4_FC_TX) in ef4_link_set_wanted_fc()
|
D | tenxpress.c | 206 ef4_link_set_wanted_fc(efx, efx->wanted_fc); in tenxpress_phy_init()
|
D | qt202x_phy.c | 392 efx->link_state.fc = efx->wanted_fc; in qt202x_phy_poll()
|
D | txc43128_phy.c | 497 efx->link_state.fc = efx->wanted_fc; in txc43128_phy_poll()
|
D | falcon.c | 1477 efx->link_state.fc = efx->wanted_fc; in falcon_loopback_link_poll() 1713 efx->wanted_fc = EF4_FC_RX | EF4_FC_TX; in falcon_probe_port() 1715 efx->wanted_fc = EF4_FC_RX; in falcon_probe_port() 1717 efx->wanted_fc |= EF4_FC_AUTO; in falcon_probe_port()
|
D | net_driver.h | 871 u8 wanted_fc; member
|
/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 181 pause->rx_pause = !!(efx->wanted_fc & EFX_FC_RX); in efx_ethtool_get_pauseparam() 182 pause->tx_pause = !!(efx->wanted_fc & EFX_FC_TX); in efx_ethtool_get_pauseparam() 183 pause->autoneg = !!(efx->wanted_fc & EFX_FC_AUTO); in efx_ethtool_get_pauseparam() 190 u8 wanted_fc, old_fc; in efx_ethtool_set_pauseparam() local 196 wanted_fc = ((pause->rx_pause ? EFX_FC_RX : 0) | in efx_ethtool_set_pauseparam() 200 if ((wanted_fc & EFX_FC_TX) && !(wanted_fc & EFX_FC_RX)) { in efx_ethtool_set_pauseparam() 207 if ((wanted_fc & EFX_FC_AUTO) && !efx->link_advertising[0]) { in efx_ethtool_set_pauseparam() 216 (wanted_fc & EFX_FC_TX) && !(efx->wanted_fc & EFX_FC_TX)) in efx_ethtool_set_pauseparam() 220 old_fc = efx->wanted_fc; in efx_ethtool_set_pauseparam() 221 efx_link_set_wanted_fc(efx, wanted_fc); in efx_ethtool_set_pauseparam() [all …]
|
D | mcdi_port_common.c | 63 efx->wanted_fc |= (EFX_FC_TX | EFX_FC_RX); in efx_link_set_advertising() 65 efx->wanted_fc &= ~(EFX_FC_TX | EFX_FC_RX); in efx_link_set_advertising() 67 efx->wanted_fc ^= EFX_FC_TX; in efx_link_set_advertising() 388 if (efx->wanted_fc & EFX_FC_AUTO) in efx_mcdi_phy_check_fcntl() 397 if ((efx->wanted_fc & EFX_FC_TX) && rmtadv == ADVERTISED_Asym_Pause) in efx_mcdi_phy_check_fcntl() 520 efx->wanted_fc = EFX_FC_RX | EFX_FC_TX; in efx_mcdi_phy_probe() 522 efx->wanted_fc |= EFX_FC_AUTO; in efx_mcdi_phy_probe() 523 efx_link_set_wanted_fc(efx, efx->wanted_fc); in efx_mcdi_phy_probe() 1120 switch (efx->wanted_fc) { in efx_mcdi_set_mac() 1131 if (efx->wanted_fc & EFX_FC_AUTO) in efx_mcdi_set_mac()
|
D | efx_common.c | 464 efx->wanted_fc &= ~(EFX_FC_TX | EFX_FC_RX); in efx_link_clear_advertising() 467 void efx_link_set_wanted_fc(struct efx_nic *efx, u8 wanted_fc) in efx_link_set_wanted_fc() argument 469 efx->wanted_fc = wanted_fc; in efx_link_set_wanted_fc() 471 if (wanted_fc & EFX_FC_RX) in efx_link_set_wanted_fc() 477 if (wanted_fc & EFX_FC_TX) in efx_link_set_wanted_fc()
|
D | ef100_nic.c | 350 efx->wanted_fc = EFX_FC_RX | EFX_FC_TX; in ef100_phy_probe() 352 efx->wanted_fc |= EFX_FC_AUTO; in ef100_phy_probe() 353 efx_link_set_wanted_fc(efx, efx->wanted_fc); in ef100_phy_probe()
|
D | net_driver.h | 1118 u8 wanted_fc; member
|