Home
last modified time | relevance | path

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

/drivers/net/sfc/
Dfalcon.c2274 efx_oword_t nic_stat; in falcon_switch_mac() local
2296 falcon_read(efx, &nic_stat, NIC_STAT_REG); in falcon_switch_mac()
2299 EFX_SET_OWORD_FIELD(nic_stat, EE_STRAP_EN, 1); in falcon_switch_mac()
2300 EFX_SET_OWORD_FIELD(nic_stat, EE_STRAP_OVR, strap_val); in falcon_switch_mac()
2301 falcon_write(efx, &nic_stat, NIC_STAT_REG); in falcon_switch_mac()
2305 BUG_ON(EFX_OWORD_FIELD(nic_stat, STRAP_PINS) != strap_val); in falcon_switch_mac()
2802 efx_oword_t nic_stat; in falcon_probe_nic_variant() local
2810 falcon_read(efx, &nic_stat, NIC_STAT_REG); in falcon_probe_nic_variant()
2819 if (EFX_OWORD_FIELD(nic_stat, STRAP_PCIE) == 0) { in falcon_probe_nic_variant()
2834 efx->link_speed = EFX_OWORD_FIELD(nic_stat, STRAP_10G) ? 10000 : 1000; in falcon_probe_nic_variant()
[all …]