/linux-6.6.21/drivers/net/ethernet/sfc/siena/ |
D | ethtool_common.c | 133 pause->rx_pause = !!(efx->wanted_fc & EFX_FC_RX); in efx_siena_ethtool_get_pauseparam() 134 pause->tx_pause = !!(efx->wanted_fc & EFX_FC_TX); in efx_siena_ethtool_get_pauseparam() 135 pause->autoneg = !!(efx->wanted_fc & EFX_FC_AUTO); in efx_siena_ethtool_get_pauseparam() 142 u8 wanted_fc, old_fc; in efx_siena_ethtool_set_pauseparam() local 148 wanted_fc = ((pause->rx_pause ? EFX_FC_RX : 0) | in efx_siena_ethtool_set_pauseparam() 152 if ((wanted_fc & EFX_FC_TX) && !(wanted_fc & EFX_FC_RX)) { in efx_siena_ethtool_set_pauseparam() 159 if ((wanted_fc & EFX_FC_AUTO) && !efx->link_advertising[0]) { in efx_siena_ethtool_set_pauseparam() 168 (wanted_fc & EFX_FC_TX) && !(efx->wanted_fc & EFX_FC_TX)) in efx_siena_ethtool_set_pauseparam() 172 old_fc = efx->wanted_fc; in efx_siena_ethtool_set_pauseparam() 173 efx_siena_link_set_wanted_fc(efx, wanted_fc); in efx_siena_ethtool_set_pauseparam() [all …]
|
D | mcdi_port_common.c | 64 efx->wanted_fc |= (EFX_FC_TX | EFX_FC_RX); in efx_siena_link_set_advertising() 66 efx->wanted_fc &= ~(EFX_FC_TX | EFX_FC_RX); in efx_siena_link_set_advertising() 68 efx->wanted_fc ^= EFX_FC_TX; in efx_siena_link_set_advertising() 387 if (efx->wanted_fc & EFX_FC_AUTO) in efx_mcdi_phy_check_fcntl() 396 if ((efx->wanted_fc & EFX_FC_TX) && rmtadv == ADVERTISED_Asym_Pause) in efx_mcdi_phy_check_fcntl() 519 efx->wanted_fc = EFX_FC_RX | EFX_FC_TX; in efx_siena_mcdi_phy_probe() 521 efx->wanted_fc |= EFX_FC_AUTO; in efx_siena_mcdi_phy_probe() 522 efx_siena_link_set_wanted_fc(efx, efx->wanted_fc); in efx_siena_mcdi_phy_probe() 1124 switch (efx->wanted_fc) { in efx_siena_mcdi_set_mac() 1135 if (efx->wanted_fc & EFX_FC_AUTO) in efx_siena_mcdi_set_mac()
|
D | efx_common.c | 465 efx->wanted_fc &= ~(EFX_FC_TX | EFX_FC_RX); in efx_siena_link_clear_advertising() 468 void efx_siena_link_set_wanted_fc(struct efx_nic *efx, u8 wanted_fc) in efx_siena_link_set_wanted_fc() argument 470 efx->wanted_fc = wanted_fc; in efx_siena_link_set_wanted_fc() 472 if (wanted_fc & EFX_FC_RX) in efx_siena_link_set_wanted_fc() 478 if (wanted_fc & EFX_FC_TX) in efx_siena_link_set_wanted_fc()
|
D | efx_common.h | 29 void efx_siena_link_set_wanted_fc(struct efx_nic *efx, u8 wanted_fc);
|
D | net_driver.h | 1070 u8 wanted_fc; member
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | ethtool_common.c | 182 pause->rx_pause = !!(efx->wanted_fc & EFX_FC_RX); in efx_ethtool_get_pauseparam() 183 pause->tx_pause = !!(efx->wanted_fc & EFX_FC_TX); in efx_ethtool_get_pauseparam() 184 pause->autoneg = !!(efx->wanted_fc & EFX_FC_AUTO); in efx_ethtool_get_pauseparam() 191 u8 wanted_fc, old_fc; in efx_ethtool_set_pauseparam() local 197 wanted_fc = ((pause->rx_pause ? EFX_FC_RX : 0) | in efx_ethtool_set_pauseparam() 201 if ((wanted_fc & EFX_FC_TX) && !(wanted_fc & EFX_FC_RX)) { in efx_ethtool_set_pauseparam() 208 if ((wanted_fc & EFX_FC_AUTO) && !efx->link_advertising[0]) { in efx_ethtool_set_pauseparam() 217 (wanted_fc & EFX_FC_TX) && !(efx->wanted_fc & EFX_FC_TX)) in efx_ethtool_set_pauseparam() 221 old_fc = efx->wanted_fc; in efx_ethtool_set_pauseparam() 222 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() 386 if (efx->wanted_fc & EFX_FC_AUTO) in efx_mcdi_phy_check_fcntl() 395 if ((efx->wanted_fc & EFX_FC_TX) && rmtadv == ADVERTISED_Asym_Pause) in efx_mcdi_phy_check_fcntl() 518 efx->wanted_fc = EFX_FC_RX | EFX_FC_TX; in efx_mcdi_phy_probe() 520 efx->wanted_fc |= EFX_FC_AUTO; in efx_mcdi_phy_probe() 521 efx_link_set_wanted_fc(efx, efx->wanted_fc); in efx_mcdi_phy_probe() 1113 switch (efx->wanted_fc) { in efx_mcdi_set_mac() 1124 if (efx->wanted_fc & EFX_FC_AUTO) in efx_mcdi_set_mac()
|
D | efx_common.c | 461 efx->wanted_fc &= ~(EFX_FC_TX | EFX_FC_RX); in efx_link_clear_advertising() 464 void efx_link_set_wanted_fc(struct efx_nic *efx, u8 wanted_fc) in efx_link_set_wanted_fc() argument 466 efx->wanted_fc = wanted_fc; in efx_link_set_wanted_fc() 468 if (wanted_fc & EFX_FC_RX) in efx_link_set_wanted_fc() 474 if (wanted_fc & EFX_FC_TX) in efx_link_set_wanted_fc()
|
D | ef100_nic.c | 370 efx->wanted_fc = EFX_FC_RX | EFX_FC_TX; in ef100_phy_probe() 372 efx->wanted_fc |= EFX_FC_AUTO; in ef100_phy_probe() 373 efx_link_set_wanted_fc(efx, efx->wanted_fc); in ef100_phy_probe()
|
D | net_driver.h | 1102 u8 wanted_fc; member
|
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/ |
D | ethtool.c | 688 u8 wanted_fc, old_fc; in ef4_ethtool_set_pauseparam() local 694 wanted_fc = ((pause->rx_pause ? EF4_FC_RX : 0) | in ef4_ethtool_set_pauseparam() 698 if ((wanted_fc & EF4_FC_TX) && !(wanted_fc & EF4_FC_RX)) { in ef4_ethtool_set_pauseparam() 705 if ((wanted_fc & EF4_FC_AUTO) && !efx->link_advertising) { in ef4_ethtool_set_pauseparam() 714 (wanted_fc & EF4_FC_TX) && !(efx->wanted_fc & EF4_FC_TX)) in ef4_ethtool_set_pauseparam() 718 old_fc = efx->wanted_fc; in ef4_ethtool_set_pauseparam() 719 ef4_link_set_wanted_fc(efx, wanted_fc); in ef4_ethtool_set_pauseparam() 721 (efx->wanted_fc ^ old_fc) & EF4_FC_AUTO) { in ef4_ethtool_set_pauseparam() 747 pause->rx_pause = !!(efx->wanted_fc & EF4_FC_RX); in ef4_ethtool_get_pauseparam() 748 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 | 930 efx->wanted_fc |= (EF4_FC_TX | EF4_FC_RX); in ef4_link_set_advertising() 932 efx->wanted_fc &= ~(EF4_FC_TX | EF4_FC_RX); in ef4_link_set_advertising() 934 efx->wanted_fc ^= EF4_FC_TX; in ef4_link_set_advertising() 938 void ef4_link_set_wanted_fc(struct ef4_nic *efx, u8 wanted_fc) in ef4_link_set_wanted_fc() argument 940 efx->wanted_fc = wanted_fc; in ef4_link_set_wanted_fc() 942 if (wanted_fc & EF4_FC_RX) in ef4_link_set_wanted_fc() 948 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
|