Lines Matching refs:enp

114 	__in				efx_nic_t *enp,
117 efx_port_t *epp = &(enp->en_port);
122 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
123 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
138 if ((rc = emop->emo_reconfigure(enp)) != 0)
158 __in efx_nic_t *enp,
161 efx_port_t *epp = &(enp->en_port);
167 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
168 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
183 if ((rc = emop->emo_reconfigure(enp)) != 0)
203 __in efx_nic_t *enp,
207 efx_port_t *epp = &(enp->en_port);
213 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
214 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
222 if ((rc = emop->emo_reconfigure(enp)) != 0)
238 __in efx_nic_t *enp,
241 efx_port_t *epp = &(enp->en_port);
245 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
246 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
255 if ((rc = emop->emo_reset(enp)) != 0)
258 EFSYS_ASSERT(enp->en_reset_flags & EFX_RESET_MAC);
259 enp->en_reset_flags &= ~EFX_RESET_PHY;
262 if ((rc = emop->emo_reconfigure(enp)) != 0)
277 __in efx_nic_t *enp,
280 efx_port_t *epp = &(enp->en_port);
284 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
285 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
287 if ((rc = emop->emo_up(enp, mac_upp)) != 0)
300 __in efx_nic_t *enp,
304 efx_port_t *epp = &(enp->en_port);
312 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
313 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
350 if ((rc = epop->epo_reconfigure(enp)) != 0)
354 if ((rc = emop->emo_reconfigure(enp)) != 0)
375 __in efx_nic_t *enp,
379 efx_port_t *epp = &(enp->en_port);
382 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
383 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
405 __in efx_nic_t *enp,
408 efx_port_t *epp = &(enp->en_port);
414 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
415 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
433 if ((rc = emop->emo_reconfigure(enp)) != 0)
508 __in efx_nic_t *enp,
511 _NOTE(ARGUNUSED(enp))
512 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
522 __in efx_nic_t *enp,
525 efx_port_t *epp = &(enp->en_port);
529 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
530 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
538 if ((rc = emop->emo_stats_upload(enp, esmp)) != 0)
553 __in efx_nic_t *enp,
558 efx_port_t *epp = &(enp->en_port);
562 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
563 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
572 if ((rc = emop->emo_stats_periodic(enp, esmp, period_ms, events)) != 0)
588 __in efx_nic_t *enp,
593 efx_port_t *epp = &(enp->en_port);
597 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
598 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
601 rc = emop->emo_stats_update(enp, esmp, essp, generationp);
612 __in efx_nic_t *enp)
614 efx_port_t *epp = &(enp->en_port);
620 if (enp->en_family == EFX_FAMILY_SIENA) {
674 if ((rc = emop->emo_reset(enp)) != 0)
677 EFSYS_ASSERT(enp->en_reset_flags & EFX_RESET_MAC);
678 enp->en_reset_flags &= ~EFX_RESET_MAC;