Home
last modified time | relevance | path

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

/drivers/net/ethernet/sfc/
Dworkarounds.h19 #define EFX_WORKAROUND_FALCON_A(efx) (efx_nic_rev(efx) <= EFX_REV_FALCON_A1)
20 #define EFX_WORKAROUND_FALCON_AB(efx) (efx_nic_rev(efx) <= EFX_REV_FALCON_B0)
21 #define EFX_WORKAROUND_SIENA(efx) (efx_nic_rev(efx) == EFX_REV_SIENA_A0)
Dfalcon.c442 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) { in falcon_reset_macs()
504 if ((efx_nic_rev(efx) < EFX_REV_FALCON_B0) || in falcon_drain_tx_fifo()
520 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) in falcon_deconfigure_mac_wrapper()
558 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in falcon_reconfigure_mac_wrapper()
573 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) in falcon_reconfigure_mac_wrapper()
653 WARN_ON(efx_nic_rev(efx) > EFX_REV_FALCON_B0); in falcon_reconfigure_port()
855 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) in falcon_probe_port()
896 if ((efx_nic_rev(efx) == EFX_REV_FALCON_B0) && in falcon_handle_global_event()
902 if (efx_nic_rev(efx) <= EFX_REV_FALCON_A1 ? in falcon_handle_global_event()
1433 if (efx_nic_rev(efx) <= EFX_REV_FALCON_A1) { in falcon_probe_nic()
[all …]
Dnic.h32 static inline int efx_nic_rev(struct efx_nic *efx) in efx_nic_rev() function
42 return efx_nic_rev(efx) < EFX_REV_FALCON_B0; in efx_nic_is_dual_func()
159 EFX_BUG_ON_PARANOID(efx_nic_rev(efx) < EFX_REV_SIENA_A0); in efx_mcdi_mon()
Dnic.c459 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in efx_nic_init_tx()
469 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) { in efx_nic_init_tx()
481 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in efx_nic_init_tx()
593 bool is_b0 = efx_nic_rev(efx) >= EFX_REV_FALCON_B0; in efx_nic_init_rx()
930 rx_ev_drib_nib = ((efx_nic_rev(efx) >= EFX_REV_FALCON_B0) ? in efx_handle_rx_not_ok()
1396 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) { in efx_nic_init_eventq()
1430 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) in efx_nic_fini_eventq()
1669 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) in efx_nic_push_rx_indir_table()
1694 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) in efx_nic_init_interrupt()
1744 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) in efx_nic_fini_interrupt()
[all …]
Dmcdi.c48 EFX_BUG_ON_PARANOID(efx_nic_rev(efx) < EFX_REV_SIENA_A0); in efx_mcdi()
57 if (efx_nic_rev(efx) < EFX_REV_SIENA_A0) in efx_mcdi_init()
219 if (efx_nic_rev(efx) < EFX_REV_SIENA_A0) in efx_mcdi_poll_reboot()
344 BUG_ON(efx_nic_rev(efx) < EFX_REV_SIENA_A0); in efx_mcdi_rpc_start()
362 BUG_ON(efx_nic_rev(efx) < EFX_REV_SIENA_A0); in efx_mcdi_rpc_finish()
424 if (efx_nic_rev(efx) < EFX_REV_SIENA_A0) in efx_mcdi_mode_poll()
448 if (efx_nic_rev(efx) < EFX_REV_SIENA_A0) in efx_mcdi_mode_event()
Dethtool.c249 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) in efx_ethtool_get_drvinfo()
742 if (efx_nic_rev(efx) == EFX_REV_FALCON_B0) { in efx_ethtool_set_pauseparam()
920 if (efx_nic_rev(efx) < min_revision) in efx_ethtool_get_rxnfc()
1094 return ((efx_nic_rev(efx) < EFX_REV_FALCON_B0 || in efx_ethtool_get_rxfh_indir_size()
Dfilter.c185 } else if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in efx_filter_push_rx_config()
1050 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in efx_probe_filters()
1065 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) { in efx_probe_filters()
Dmtd.c242 if (efx_nic_rev(efx_mtd->efx) >= EFX_REV_SIENA_A0) in efx_mtd_rename_device()
309 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) in efx_mtd_probe()
Dfalcon_xmac.c92 if ((efx_nic_rev(efx) != EFX_REV_FALCON_B0) || LOOPBACK_INTERNAL(efx)) in falcon_ack_status_intr()
Dtx.c379 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0 || num_tc > EFX_MAX_TX_TC) in efx_setup_tc()
Defx.c1635 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) { in efx_start_all()