Lines Matching refs:sc_ethercom
137 #define DPRINTF(sc, x) if ((sc)->sc_ethercom.ec_if.if_flags & IFF_DEBUG) \
149 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in gem_detach()
162 gem_stop(&sc->sc_ethercom.ec_if, 1); in gem_detach()
246 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in gem_attach()
375 sc->sc_ethercom.ec_mii = mii; in gem_attach()
569 sc->sc_ethercom.ec_capabilities in gem_attach()
577 sc->sc_ethercom.ec_capabilities |= ETHERCAP_VLAN_MTU; in gem_attach()
583 ether_set_ifflags_cb(&sc->sc_ethercom, gem_ifflags_cb); in gem_attach()
644 gem_init(&sc->sc_ethercom.ec_if); in gem_tick()
804 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in gem_reset_rxdma()
848 ((sc->sc_ethercom.ec_capenable & ETHERCAP_VLAN_MTU) ? in gem_rx_common()
1166 max_frame_size = uimax(sc->sc_ethercom.ec_if.if_mtu, ETHERMTU); in gem_init()
1168 if (sc->sc_ethercom.ec_capenable & ETHERCAP_VLAN_MTU) in gem_init()
1245 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in gem_init_regs()
1434 MCLAIM(m, &sc->sc_ethercom.ec_tx_mowner); in gem_start()
1629 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in gem_tint()
1751 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in gem_rint()
1854 if (sc->sc_ethercom.ec_capenable & ETHERCAP_VLAN_MTU) { in gem_rint()
2005 MCLAIM(m, &sc->sc_ethercom.ec_rx_mowner); in gem_add_rxbuf()
2083 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in gem_pint()
2162 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in gem_intr()
2257 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in gem_rx_watchdog()
2452 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in gem_statuschange()
2464 if (sc->sc_ethercom.ec_if.if_baudrate == IF_Mbps(1000)) in gem_statuschange()
2697 struct ifnet *ifp = &sc->sc_ethercom.ec_if; in gem_shutdown()
2710 struct ethercom *ec = &sc->sc_ethercom; in gem_setladrf()