Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/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)
Dnic.h31 static inline int efx_nic_rev(struct efx_nic *efx) in efx_nic_rev() function
40 return efx_nic_rev(efx) >= EFX_REV_SIENA_A0; in efx_nic_has_mc()
45 return efx_nic_rev(efx) < EFX_REV_FALCON_B0; in efx_nic_is_dual_func()
Dfalcon.c443 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) { in falcon_reset_macs()
505 if ((efx_nic_rev(efx) < EFX_REV_FALCON_B0) || in falcon_drain_tx_fifo()
521 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) in falcon_deconfigure_mac_wrapper()
559 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in falcon_reconfigure_mac_wrapper()
574 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) in falcon_reconfigure_mac_wrapper()
654 WARN_ON(efx_nic_rev(efx) > EFX_REV_FALCON_B0); in falcon_reconfigure_port()
856 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) in falcon_probe_port()
897 if ((efx_nic_rev(efx) == EFX_REV_FALCON_B0) && in falcon_handle_global_event()
903 if (efx_nic_rev(efx) <= EFX_REV_FALCON_A1 ? in falcon_handle_global_event()
1361 if (efx_nic_rev(efx) <= EFX_REV_FALCON_A1) { in falcon_probe_nic()
[all …]
Dnic.c452 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in efx_nic_init_tx()
462 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) { in efx_nic_init_tx()
474 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in efx_nic_init_tx()
589 bool is_b0 = efx_nic_rev(efx) >= EFX_REV_FALCON_B0; in efx_nic_init_rx()
773 rx_ev_drib_nib = ((efx_nic_rev(efx) >= EFX_REV_FALCON_B0) ? in efx_handle_rx_not_ok()
1093 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) { in efx_nic_init_eventq()
1127 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) in efx_nic_fini_eventq()
1519 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) in efx_nic_push_rx_indir_table()
1542 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) in efx_nic_init_interrupt()
1592 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()
71 if (efx_nic_rev(efx) < EFX_REV_SIENA_A0) in efx_mcdi_init()
229 if (efx_nic_rev(efx) < EFX_REV_SIENA_A0) in efx_mcdi_poll_reboot()
343 BUG_ON(efx_nic_rev(efx) < EFX_REV_SIENA_A0); in efx_mcdi_rpc()
409 if (efx_nic_rev(efx) < EFX_REV_SIENA_A0) in efx_mcdi_mode_poll()
433 if (efx_nic_rev(efx) < EFX_REV_SIENA_A0) in efx_mcdi_mode_event()
Dethtool.c248 if (efx_nic_rev(efx) >= EFX_REV_SIENA_A0) in efx_ethtool_get_drvinfo()
790 if (efx_nic_rev(efx) == EFX_REV_FALCON_B0) { in efx_ethtool_set_pauseparam()
921 if (efx_nic_rev(efx) < min_revision) in efx_ethtool_get_rxnfc()
1026 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) in efx_ethtool_get_rxfh_indir()
1041 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0) in efx_ethtool_set_rxfh_indir()
Dfilter.c574 if (efx_nic_rev(efx) >= EFX_REV_FALCON_B0) { in efx_probe_filters()
589 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.c93 if ((efx_nic_rev(efx) != EFX_REV_FALCON_B0) || LOOPBACK_INTERNAL(efx)) in falcon_ack_status_intr()
Dtx.c375 if (efx_nic_rev(efx) < EFX_REV_FALCON_B0 || num_tc > EFX_MAX_TX_TC) in efx_setup_tc()