Home
last modified time | relevance | path

Searched refs:efx_nic_rev (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/sfc/
Dworkarounds.h18 #define EFX_WORKAROUND_FALCON_A(efx) (efx_nic_rev(efx) <= EFX_REV_FALCON_A1)
19 #define EFX_WORKAROUND_FALCON_AB(efx) (efx_nic_rev(efx) <= EFX_REV_FALCON_B0)
20 #define EFX_WORKAROUND_SIENA(efx) (efx_nic_rev(efx) == EFX_REV_SIENA_A0)
51 (efx_nic_rev(efx) == EFX_REV_HUNT_A0 && EFX_EF10_WORKAROUND_35388(efx))
Dfarch.c392 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in efx_farch_tx_init()
402 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) { in efx_farch_tx_init()
414 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in efx_farch_tx_init()
519 bool is_b0 = efx_nic_rev(efx) >= EFX_REV_FALCON_B0; in efx_farch_rx_init()
899 rx_ev_drib_nib = ((efx_nic_rev(efx) >= EFX_REV_FALCON_B0) ? in efx_farch_handle_rx_not_ok()
1381 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) { in efx_farch_ev_init()
1415 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) in efx_farch_ev_fini()
1663 BUG_ON(efx_nic_rev(efx) < EFX_REV_FALCON_B0); in efx_farch_rx_push_indir_table()
1792 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) in efx_farch_init_common()
1813 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) in efx_farch_init_common()
[all …]
Dfalcon.c1044 if ((efx_nic_rev(efx) != EFX_REV_FALCON_B0) || LOOPBACK_INTERNAL(efx)) in falcon_ack_status_intr()
1274 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) { in falcon_reset_macs()
1336 if ((efx_nic_rev(efx) < EFX_REV_FALCON_B0) || in falcon_drain_tx_fifo()
1352 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) in falcon_deconfigure_mac_wrapper()
1391 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in falcon_reconfigure_mac_wrapper()
1406 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) in falcon_reconfigure_mac_wrapper()
1485 WARN_ON(efx_nic_rev(efx) > EFX_REV_FALCON_B0); in falcon_reconfigure_port()
1709 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) in falcon_probe_port()
1749 if ((efx_nic_rev(efx) == EFX_REV_FALCON_B0) && in falcon_handle_global_event()
1755 if (efx_nic_rev(efx) <= EFX_REV_FALCON_A1 ? in falcon_handle_global_event()
[all …]
Dnic.h28 static inline int efx_nic_rev(struct efx_nic *efx) in efx_nic_rev() function
38 return efx_nic_rev(efx) < EFX_REV_FALCON_B0; in efx_nic_is_dual_func()
Dtx.c124 if (EFX_WORKAROUND_5391(efx) || efx_nic_rev(efx) >= EFX_REV_HUNT_A0) in efx_tx_max_skb_descs()
573 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0 || num_tc > EFX_MAX_TX_TC) in efx_setup_tc()
1015 bool use_opt_desc = efx_nic_rev(efx) >= EFX_REV_HUNT_A0; in tso_start()
Dethtool.c170 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) in efx_ethtool_get_drvinfo()
912 if (efx_nic_rev(efx) < min_revision) in efx_ethtool_get_rxnfc()
1084 return ((efx_nic_rev(efx) < EFX_REV_FALCON_B0 || in efx_ethtool_get_rxfh_indir_size()
Defx.c1857 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) { in efx_start_all()
2399 if (efx_nic_rev(efx) >= EFX_REV_HUNT_A0) in efx_register_netdev()
Dptp.c1230 ptp->rx_ts_inline = efx_nic_rev(efx) >= EFX_REV_HUNT_A0; in efx_ptp_probe()
Dmcdi.c1213 if (efx_nic_rev(efx) >= EFX_REV_HUNT_A0) { in efx_mcdi_print_fwver()