Lines Matching refs:nic_stat
2274 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()
2842 efx_oword_t nic_stat, gpio_ctl, ee_vpd_cfg; in falcon_probe_spi_devices() local
2846 falcon_read(efx, &nic_stat, NIC_STAT_REG); in falcon_probe_spi_devices()
2850 boot_dev = (EFX_OWORD_FIELD(nic_stat, SF_PRST) ? in falcon_probe_spi_devices()