Lines Matching refs:sc_ethercom

162 #define	DPRINTF(sc, x)	if ((sc)->sc_ethercom.ec_if.if_flags & IFF_DEBUG) \
186 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_attach()
523 sc->sc_ethercom.ec_capabilities |= ETHERCAP_VLAN_MTU; in tlp_attach()
531 ether_set_ifflags_cb(&sc->sc_ethercom, tlp_ifflags_cb); in tlp_attach()
583 if_deactivate(&sc->sc_ethercom.ec_if); in tlp_activate()
598 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_detach()
746 MCLAIM(m, &sc->sc_ethercom.ec_tx_mowner); in tlp_start()
1015 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_intr()
1207 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_rxintr()
1260 if ((sc->sc_ethercom.ec_capenable & ETHERCAP_VLAN_MTU) != 0) in tlp_rxintr()
1326 MCLAIM(m, &sc->sc_ethercom.ec_rx_mowner); in tlp_rxintr()
1403 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_txintr()
2282 MCLAIM(m, &sc->sc_ethercom.ec_rx_mowner); in tlp_add_rxbuf()
2545 struct ethercom *ec = &sc->sc_ethercom; in tlp_filter_setup()
2546 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_filter_setup()
2820 struct ethercom *ec = &sc->sc_ethercom; in tlp_winb_filter_setup()
2821 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_winb_filter_setup()
2891 struct ethercom *ec = &sc->sc_ethercom; in tlp_al981_filter_setup()
2892 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_al981_filter_setup()
2964 struct ethercom *ec = &sc->sc_ethercom; in tlp_asix_filter_setup()
2965 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_asix_filter_setup()
3343 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_mii_setmedia()
4398 sc->sc_ethercom.ec_mii = mii; in tlp_21040_tmsw_init()
4434 sc->sc_ethercom.ec_mii = mii; in tlp_21040_tp_tmsw_init()
4452 sc->sc_ethercom.ec_mii = mii; in tlp_21040_auibnc_tmsw_init()
4478 sc->sc_ethercom.ec_mii = mii; in tlp_21041_tmsw_init()
4627 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_2114x_isv_tmsw_init()
4644 sc->sc_ethercom.ec_mii = mii; in tlp_2114x_isv_tmsw_init()
5218 tlp_start(&sc->sc_ethercom.ec_if); in tlp_2114x_nway_tick()
5439 return tlp_init(&sc->sc_ethercom.ec_if); in tlp_2114x_isv_tmsw_set()
5456 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_sio_mii_tmsw_init()
5471 sc->sc_ethercom.ec_mii = mii; in tlp_sio_mii_tmsw_init()
5509 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_pnic_tmsw_init()
5519 sc->sc_ethercom.ec_mii = mii; in tlp_pnic_tmsw_init()
5586 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_pnic_tmsw_set()
5910 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_pmac_tmsw_init()
5917 sc->sc_ethercom.ec_mii = mii; in tlp_pmac_tmsw_init()
5985 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_al981_tmsw_init()
5992 sc->sc_ethercom.ec_mii = mii; in tlp_al981_tmsw_init()
6021 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_an985_tmsw_init()
6028 sc->sc_ethercom.ec_mii = mii; in tlp_an985_tmsw_init()
6057 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_dm9102_tmsw_init()
6065 sc->sc_ethercom.ec_mii = mii; in tlp_dm9102_tmsw_init()
6141 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_asix_tmsw_init()
6149 sc->sc_ethercom.ec_mii = mii; in tlp_asix_tmsw_init()
6214 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in tlp_rs7112_tmsw_init()
6229 sc->sc_ethercom.ec_mii = mii; in tlp_rs7112_tmsw_init()