• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-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);
221 efx_mac_fcntl_get(sc->enp, &wanted_fc, &link_fc);
259 error = efx_mac_fcntl_set(sc->enp,
291 efx_mac_fcntl_get(sc->enp, &wanted_fc, &link_fc);
338 efx_nic_t *enp;
343 enp = sc->enp;
352 (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);
488 efx_nic_t *enp;
494 enp = sc->enp;
502 if ((rc = efx_filter_init(enp)) != 0)
506 if ((rc = efx_port_init(sc->enp)) != 0)
511 if ((rc = efx_mac_pdu_set(enp, pdu)) != 0)
514 if ((rc = efx_mac_fcntl_set(enp, sfxge_port_wanted_fc(sc), B_TRUE))
523 if ((rc = efx_mac_addr_set(enp, mac_addr)) != 0)
529 if ((rc = efx_mac_stats_periodic(enp, &port->mac_stats.dma_buf,
534 if ((rc = efx_mac_drain(enp, B_FALSE)) != 0)
541 if ((rc = efx_phy_adv_cap_set(sc->enp, phy_cap_mask)) != 0)
554 (void)efx_mac_drain(enp, B_TRUE);
556 (void)efx_mac_stats_periodic(enp, &port->mac_stats.dma_buf, 0, B_FALSE);
562 efx_port_fini(enp);
564 efx_filter_fini(enp);
605 if ((rc = efx_phy_stats_update(sc->enp, esmp,
642 uint64_t stat_mask = efx_nic_cfg_get(sc->enp)->enc_phy_stat_mask;
650 name = efx_phy_stat_name(sc->enp, id);
729 error = efx_mac_stats_periodic(sc->enp,
796 mac_nstats = efx_nic_cfg_get(sc->enp)->enc_mac_stats_nstats;
878 efx_phy_media_type_get(sc->enp, &medium_type);
929 efx_phy_media_type_get(sc->enp, &medium_type);
935 efx_phy_adv_cap_get(sc->enp, EFX_PHY_CAP_PERM, &cap_mask);
996 rc = efx_mac_fcntl_set(sc->enp, sfxge_port_wanted_fc(sc), B_TRUE);
1003 rc = efx_phy_adv_cap_set(sc->enp, phy_cap_mask);
1024 if ((rc = efx_filter_init(sc->enp)) != 0)
1026 if ((rc = efx_port_init(sc->enp)) != 0)
1047 efx_phy_media_type_get(sc->enp, &medium_type);
1048 efx_phy_adv_cap_get(sc->enp, EFX_PHY_CAP_PERM, &cap_mask);
1093 efx_port_fini(sc->enp);
1095 efx_filter_fini(sc->enp);