Lines Matching refs:enp

36 	__in		efx_nic_t *enp)
38 efx_port_t *epp = &(enp->en_port);
42 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
43 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE);
44 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC);
46 if (enp->en_mod_flags & EFX_MOD_PORT) {
51 enp->en_mod_flags |= EFX_MOD_PORT;
58 if ((rc = efx_mac_select(enp)) != 0)
61 epp->ep_emop->emo_reconfigure(enp);
64 (void) efx_port_poll(enp, NULL);
71 if ((rc = epop->epo_power(enp, B_TRUE)) != 0)
74 if ((rc = epop->epo_reset(enp)) != 0)
78 EFSYS_ASSERT(enp->en_reset_flags & EFX_RESET_PHY);
79 enp->en_reset_flags &= ~EFX_RESET_PHY;
81 if ((rc = epop->epo_reconfigure(enp)) != 0)
93 enp->en_mod_flags &= ~EFX_MOD_PORT;
100 __in efx_nic_t *enp,
103 efx_port_t *epp = &(enp->en_port);
108 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
109 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
117 if ((rc = emop->emo_poll(enp, link_modep)) != 0)
132 __in efx_nic_t *enp,
136 efx_port_t *epp = &(enp->en_port);
137 efx_nic_cfg_t *encp = &(enp->en_nic_cfg);
141 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
142 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
157 if ((rc = emop->emo_loopback_set(enp, link_mode, loopback_type)) != 0)
212 __in efx_nic_t *enp,
218 _NOTE(ARGUNUSED(enp))
219 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
231 __in efx_nic_t *enp)
233 efx_port_t *epp = &(enp->en_port);
236 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
237 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE);
238 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_NIC);
239 EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PORT);
249 (void) epop->epo_power(enp, B_FALSE);
251 enp->en_mod_flags &= ~EFX_MOD_PORT;