• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/dev/sfxge/

Lines Matching refs:enp

92 		if ((rc = efx_mac_stats_update(sc->enp, esmp,
196 name = efx_mac_stat_name(sc->enp, id);
223 efx_mac_fcntl_get(sc->enp, &wanted_fc, &link_fc);
261 error = efx_mac_fcntl_set(sc->enp,
293 efx_mac_fcntl_get(sc->enp, &wanted_fc, &link_fc);
337 efx_nic_t *enp;
342 enp = sc->enp;
351 (void)efx_port_poll(enp, &mode);
390 rc = efx_mac_multicast_list_set(sc->enp, port->mcast_addrs,
417 rc = efx_mac_filter_set(sc->enp, !!(ifp->if_flags & IFF_PROMISC),
452 efx_nic_t *enp;
455 enp = sc->enp;
467 (void)efx_mac_drain(enp, B_TRUE);
469 (void)efx_mac_stats_periodic(enp, &port->mac_stats.dma_buf, 0, B_FALSE);
474 efx_port_fini(enp);
476 efx_filter_fini(enp);
487 efx_nic_t *enp;
493 enp = sc->enp;
501 if ((rc = efx_filter_init(enp)) != 0)
505 if ((rc = efx_port_init(sc->enp)) != 0)
510 if ((rc = efx_mac_pdu_set(enp, pdu)) != 0)
513 if ((rc = efx_mac_fcntl_set(enp, sfxge_port_wanted_fc(sc), B_TRUE))
522 if ((rc = efx_mac_addr_set(enp, mac_addr)) != 0)
528 if ((rc = efx_mac_stats_periodic(enp, &port->mac_stats.dma_buf,
533 if ((rc = efx_mac_drain(enp, B_FALSE)) != 0)
540 if ((rc = efx_phy_adv_cap_set(sc->enp, phy_cap_mask)) != 0)
553 (void)efx_mac_drain(enp, B_TRUE);
555 (void)efx_mac_stats_periodic(enp, &port->mac_stats.dma_buf, 0, B_FALSE);
561 efx_port_fini(enp);
563 efx_filter_fini(enp);
604 if ((rc = efx_phy_stats_update(sc->enp, esmp,
641 uint64_t stat_mask = efx_nic_cfg_get(sc->enp)->enc_phy_stat_mask;
649 name = efx_phy_stat_name(sc->enp, id);
730 error = efx_mac_stats_periodic(sc->enp,
869 efx_phy_media_type_get(sc->enp, &medium_type);
915 efx_phy_media_type_get(sc->enp, &medium_type);
921 efx_phy_adv_cap_get(sc->enp, EFX_PHY_CAP_PERM, &cap_mask);
982 rc = efx_mac_fcntl_set(sc->enp, sfxge_port_wanted_fc(sc), B_TRUE);
989 rc = efx_phy_adv_cap_set(sc->enp, phy_cap_mask);
1010 if ((rc = efx_filter_init(sc->enp)) != 0)
1012 if ((rc = efx_port_init(sc->enp)) != 0)
1033 efx_phy_media_type_get(sc->enp, &medium_type);
1034 efx_phy_adv_cap_get(sc->enp, EFX_PHY_CAP_PERM, &cap_mask);
1079 efx_port_fini(sc->enp);
1081 efx_filter_fini(sc->enp);