| /netbsd-src/sys/dev/eisa/ |
| H A D | depca_eisa.c | 77 eisa_chipset_tag_t sc_ec; member 115 esc->sc_ec = ea->ea_ec; in depca_eisa_attach() 162 if (eisa_intr_map(esc->sc_ec, esc->sc_irq, &ih)) { in depca_eisa_intr_establish() 167 intrstr = eisa_intr_string(esc->sc_ec, ih, intrbuf, sizeof(intrbuf)); in depca_eisa_intr_establish() 168 rv = eisa_intr_establish(esc->sc_ec, ih, esc->sc_ist, IPL_NET, in depca_eisa_intr_establish()
|
| /netbsd-src/sys/net/ |
| H A D | if_tap.c | 93 struct ethercom sc_ec; member 324 ifp = &sc->sc_ec.ec_if; in tap_attach() 337 sc->sc_ec.ec_capabilities = ETHERCAP_VLAN_MTU | ETHERCAP_JUMBO_MTU; in tap_attach() 379 struct ifnet *ifp = &sc->sc_ec.ec_if; in tap_detach() 481 ifp = &sc->sc_ec.ec_if; in tap_softintr() 687 if_link_state_change(&sc->sc_ec.ec_if, LINK_STATE_UP); in tap_cdev_open() 730 if_link_state_change(&sc->sc_ec.ec_if, LINK_STATE_UP); in tap_dev_cloner() 797 ifp = &sc->sc_ec.ec_if; in tap_dev_close() 856 ifp = &sc->sc_ec.ec_if; in tap_dev_read() 971 ifp = &sc->sc_ec in tap_dev_write() [all...] |
| H A D | if_vether.c | 45 struct ethercom sc_ec; 69 sc->sc_ec.ec_ifmedia = &sc->sc_im; in vether_clone_create() 75 ifp = &sc->sc_ec.ec_if; in vether_clone_create() 89 sc->sc_ec.ec_capabilities = ETHERCAP_VLAN_MTU | ETHERCAP_JUMBO_MTU; in vether_clone_create() 42 struct ethercom sc_ec; global() member
|
| /netbsd-src/sys/arch/arm/sunxi/ |
| H A D | sun4i_emac.c | 191 struct ethercom sc_ec; member 242 struct ifnet * const ifp = &sc->sc_ec.ec_if; in sun4i_emac_attach() 280 sc->sc_ec.ec_mii = mii; in sun4i_emac_attach() 350 sc->sc_ec.ec_capabilities |= ETHERCAP_VLAN_MTU; in sun4i_emac_attach() 534 m_set_rcvif(m, &sc->sc_ec.ec_if); in sun4i_emac_mgethdr() 543 struct ifnet * const ifp = &sc->sc_ec.ec_if; in sun4i_emac_if_input() 572 if_statinc(&sc->sc_ec.ec_if, if_ierrors); in sun4i_emac_rx_intr() 578 if_statinc(&sc->sc_ec.ec_if, if_ierrors); in sun4i_emac_rx_intr() 613 struct ifnet * const ifp = &sc->sc_ec.ec_if; in sun4i_emac_tx_enqueue() 640 struct ifnet * const ifp = &sc->sc_ec.ec_if; in sun4i_emac_intr() [all …]
|
| /netbsd-src/sys/dev/ic/ |
| H A D | mb86950.c | 261 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86950_config() 279 sc->sc_ec.ec_ifmedia = &sc->sc_media; in mb86950_config() 524 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86950_init() 671 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86950_intr() 733 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86950_tint() 777 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86950_rint() 848 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86950_get_fifo() 947 if_deactivate(&sc->sc_ec.ec_if); in mb86950_activate() 962 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86950_detach()
|
| H A D | dp8390.c | 82 struct ifnet *ifp = &sc->sc_ec.ec_if; in dp8390_config() 143 sc->sc_ec.ec_ifmedia = &sc->sc_media; in dp8390_config() 147 sc->sc_ec.ec_capabilities |= ETHERCAP_VLAN_MTU; in dp8390_config() 267 struct ifnet *ifp = &sc->sc_ec.ec_if; in dp8390_init() 346 dp8390_getmcaf(&sc->sc_ec, mcaf); in dp8390_init() 401 struct ifnet *ifp = &sc->sc_ec.ec_if; in dp8390_xmit() 593 if_statinc(&sc->sc_ec.ec_if, if_ierrors); in dp8390_rint() 621 struct ifnet *ifp = &sc->sc_ec.ec_if; in dp8390_intr() 925 struct ifnet *ifp = &sc->sc_ec.ec_if; in dp8390_read() 1016 struct ifnet *ifp = &sc->sc_ec.ec_if; in dp8390_get() [all …]
|
| H A D | mb86960.c | 178 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86960_config() 232 sc->sc_ec.ec_ifmedia = &sc->sc_media; in mb86960_config() 455 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86960_init() 621 sc->sc_ec.ec_if.if_timer = 1 + sc->txb_count; in mb86960_xmit() 796 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86960_tint() 937 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86960_rint() 1078 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86960_intr() 1272 struct ifnet *ifp = &sc->sc_ec.ec_if; in mb86960_get_packet() 1396 if_statinc(&sc->sc_ec.ec_if, if_oerrors); in mb86960_write_mbufs() 1596 int flags = sc->sc_ec.ec_if.if_flags; in mb86960_setmode() [all …]
|
| H A D | sgecvar.h | 49 struct ethercom sc_ec; /* Ethernet common part */ member 50 #define sc_if sc_ec.ec_if /* network-visible interface */
|
| H A D | bcmgenet.c | 340 struct ethercom *ec = &sc->sc_ec; in genet_tick() 546 struct ifnet *ifp = &sc->sc_ec.ec_if; in genet_init_rings() 640 struct ifnet *ifp = &sc->sc_ec.ec_if; in genet_stop_locked() 703 struct ifnet *ifp = &sc->sc_ec.ec_if; in genet_rxintr() 748 MCLAIM(m0, &sc->sc_ec.ec_rx_mowner); in genet_rxintr() 796 struct ifnet *ifp = &sc->sc_ec.ec_if; in genet_txintr() 818 struct ifnet *ifp = &sc->sc_ec.ec_if; in genet_start_locked() 1050 MCLAIM(m, &sc->sc_ec.ec_rx_mowner); in genet_attach() 1059 struct ifnet *ifp = &sc->sc_ec.ec_if; in genet_attach() 1127 sc->sc_ec in genet_debug() [all...] |
| H A D | malovar.h | 79 struct ethercom sc_ec; member 81 #define sc_if sc_ec.ec_if
|
| H A D | rt2560var.h | 116 struct ethercom sc_ec; member 170 #define sc_if sc_ec.ec_if
|
| H A D | anvar.h | 107 struct ethercom sc_ec; member 161 #define sc_if sc_ec.ec_if
|
| H A D | rt2661var.h | 106 struct ethercom sc_ec; member 179 #define sc_if sc_ec.ec_if
|
| H A D | dwc_gmac.c | 192 struct ifnet * const ifp = &sc->sc_ec.ec_if; in dwc_gmac_attach() 327 sc->sc_ec.ec_mii = &sc->sc_mii; in dwc_gmac_attach() 347 sc->sc_ec.ec_capabilities |= ETHERCAP_VLAN_MTU; in dwc_gmac_attach() 354 sc->sc_ipq = if_percpuq_create(&sc->sc_ec.ec_if); in dwc_gmac_attach() 357 ether_set_ifflags_cb(&sc->sc_ec, dwc_gmac_ifflags_cb); in dwc_gmac_attach() 875 KASSERT(ifp == &sc->sc_ec.ec_if); in dwc_gmac_init_locked() 1191 struct ifnet * const ifp = &sc->sc_ec.ec_if; in dwc_gmac_tx_intr() 1250 struct ifnet * const ifp = &sc->sc_ec.ec_if; in dwc_gmac_rx_intr() 1381 struct ethercom *ec = &sc->sc_ec; in dwc_gmac_setmulti() 1486 if_statinc(&sc->sc_ec in dwc_gmac_intr() [all...] |
| H A D | ax88190.c | 99 struct ifnet *ifp = &sc->sc_ec.ec_if; in ax88190_media_init() 104 sc->sc_ec.ec_mii = mii; in ax88190_media_init()
|
| H A D | awivar.h | 71 struct ethercom sc_ec; member 119 #define sc_if sc_ec.ec_if
|
| H A D | smc91cxx.c | 232 struct ifnet *ifp = &sc->sc_ec.ec_if; in smc91cxx_attach() 321 sc->sc_ec.ec_mii = mii; in smc91cxx_attach() 480 struct ifnet *ifp = &sc->sc_ec.ec_if; in smc91cxx_init() 859 struct ifnet *ifp = &sc->sc_ec.ec_if; in smc91cxx_intr() 1050 struct ifnet *ifp = &sc->sc_ec.ec_if; in smc91cxx_read() 1326 sc->sc_ec.ec_if.if_timer = 0; in smc91cxx_stop() 1367 if_deactivate(&sc->sc_ec.ec_if); in smc91cxx_activate() 1378 struct ifnet *ifp = &sc->sc_ec.ec_if; in smc91cxx_detach()
|
| /netbsd-src/sys/arch/usermode/dev/ |
| H A D | if_veth.c | 74 struct ethercom sc_ec; member 104 struct ifnet *ifp = &sc->sc_ec.ec_if; in veth_attach() 145 sc->sc_ec.ec_ifmedia = &sc->sc_ifmedia; in veth_attach() 201 struct ifnet *ifp = &sc->sc_ec.ec_if; in veth_softrx() 246 struct ifnet *ifp = &sc->sc_ec.ec_if; in veth_softtx()
|
| /netbsd-src/sys/arch/hppa/dev/ |
| H A D | mongoose.c | 188 struct hppa_eisa_chipset sc_ec; member 662 sc->sc_ec.ec_v = sc; in mgattach() 663 sc->sc_ec.ec_attach_hook = mg_eisa_attach_hook; in mgattach() 664 sc->sc_ec.ec_intr_establish = mg_intr_establish; in mgattach() 665 sc->sc_ec.ec_intr_disestablish = mg_intr_disestablish; in mgattach() 666 sc->sc_ec.ec_intr_string = mg_intr_string; in mgattach() 667 sc->sc_ec.ec_intr_map = mg_intr_map; in mgattach() 690 ea.mongoose_eisa.eba_ec = &sc->sc_ec; in mgattach()
|
| /netbsd-src/sys/dev/usb/ |
| H A D | if_rumvar.h | 75 struct ethercom sc_ec; member 76 #define sc_if sc_ec.ec_if
|
| H A D | if_uralvar.h | 75 struct ethercom sc_ec; member 76 #define sc_if sc_ec.ec_if
|
| /netbsd-src/sys/dev/pci/ |
| H A D | if_iwivar.h | 117 struct ethercom sc_ec; member 179 #define sc_if sc_ec.ec_if
|
| H A D | if_iavf.c | 347 struct ethercom sc_ec; member 435 struct ifnet *_ifp = &(_sc)->sc_ec.ec_if; \ 725 ifp = &sc->sc_ec.ec_if; in iavf_attach() 900 ether_set_vlan_cb(&sc->sc_ec, iavf_vlan_cb); in iavf_attach() 901 sc->sc_ec.ec_capabilities |= ETHERCAP_VLAN_HWTAGGING; in iavf_attach() 902 sc->sc_ec.ec_capabilities |= ETHERCAP_VLAN_HWFILTER; in iavf_attach() 903 sc->sc_ec.ec_capenable = sc->sc_ec.ec_capabilities; in iavf_attach() 905 ether_set_ifflags_cb(&sc->sc_ec, iavf_ifflags_cb); in iavf_attach() 907 sc->sc_ec.ec_ifmedia = &sc->sc_media; in iavf_attach() 966 struct ifnet *ifp = &sc->sc_ec.ec_if; in iavf_detach() [all …]
|
| H A D | if_ipwvar.h | 88 struct ethercom sc_ec; member 169 #define sc_if sc_ec.ec_if
|
| /netbsd-src/sys/arch/arm/ep93xx/ |
| H A D | epe.c | 155 struct ifnet * ifp = &sc->sc_ec.ec_if; in epe_gctx() 203 struct ifnet * ifp = &sc->sc_ec.ec_if; in epe_intr() 282 struct ifnet * ifp = &sc->sc_ec.ec_if; in epe_init() 400 sc->sc_ec.ec_mii = mii; in epe_init() 423 sc->sc_ec.ec_capabilities |= ETHERCAP_VLAN_MTU; in epe_init() 493 struct ifnet * ifp = &sc->sc_ec.ec_if; in epe_tick() 697 struct ethercom *ec = &sc->sc_ec; in epe_setaddr()
|