Lines Matching refs:et_softc
88 static void et_enable_intrs(struct et_softc *, uint32_t);
89 static void et_disable_intrs(struct et_softc *);
90 static void et_rxeof(struct et_softc *);
91 static void et_txeof(struct et_softc *);
94 static int et_dma_alloc(struct et_softc *);
95 static void et_dma_free(struct et_softc *);
96 static int et_dma_mem_create(struct et_softc *, bus_size_t,
98 static void et_dma_mem_destroy(struct et_softc *, void *, bus_dmamap_t);
99 static int et_dma_mbuf_create(struct et_softc *);
100 static void et_dma_mbuf_destroy(struct et_softc *, int, const int[]);
102 static int et_init_tx_ring(struct et_softc *);
103 static int et_init_rx_ring(struct et_softc *);
104 static void et_free_tx_ring(struct et_softc *);
105 static void et_free_rx_ring(struct et_softc *);
106 static int et_encap(struct et_softc *, struct mbuf **);
111 static void et_stop(struct et_softc *);
112 static int et_chip_init(struct et_softc *);
113 static void et_chip_attach(struct et_softc *);
114 static void et_init_mac(struct et_softc *);
115 static void et_init_rxmac(struct et_softc *);
116 static void et_init_txmac(struct et_softc *);
117 static int et_init_rxdma(struct et_softc *);
118 static int et_init_txdma(struct et_softc *);
119 static int et_start_rxdma(struct et_softc *);
120 static int et_start_txdma(struct et_softc *);
121 static int et_stop_rxdma(struct et_softc *);
122 static int et_stop_txdma(struct et_softc *);
123 static void et_reset(struct et_softc *);
124 static int et_bus_config(struct et_softc *);
125 static void et_get_eaddr(struct et_softc *, uint8_t[]);
126 static void et_setmulti(struct et_softc *);
155 CFATTACH_DECL_NEW(et, sizeof(struct et_softc), et_match, et_attach, et_detach,
169 struct et_softc *sc = device_private(self);
314 struct et_softc *sc = device_private(self);
349 struct et_softc *sc = device_private(self);
363 struct et_softc *sc = device_private(dev);
407 struct et_softc *sc = device_private(dev);
449 struct et_softc *sc = ifp->if_softc;
540 struct et_softc *sc;
551 et_stop(struct et_softc *sc)
577 et_bus_config(struct et_softc *sc)
652 et_get_eaddr(struct et_softc *sc, uint8_t eaddr[])
667 et_reset(struct et_softc *sc)
687 et_disable_intrs(struct et_softc *sc)
693 et_enable_intrs(struct et_softc *sc, uint32_t intrs)
699 et_dma_alloc(struct et_softc *sc)
782 et_dma_free(struct et_softc *sc)
828 et_dma_mbuf_create(struct et_softc *sc)
887 et_dma_mbuf_destroy(struct et_softc *sc, int tx_done, const int rx_done[])
925 et_dma_mem_create(struct et_softc *sc, bus_size_t size,
967 et_dma_mem_destroy(struct et_softc *sc, void *addr, bus_dmamap_t dmap)
974 et_chip_attach(struct et_softc *sc)
1016 struct et_softc *sc = xsc;
1047 struct et_softc *sc = ifp->if_softc;
1107 struct et_softc *sc = ifp->if_softc;
1154 struct et_softc *sc = ifp->if_softc;
1195 struct et_softc *sc = ifp->if_softc;
1204 et_stop_rxdma(struct et_softc *sc)
1219 et_stop_txdma(struct et_softc *sc)
1228 et_free_tx_ring(struct et_softc *sc)
1250 et_free_rx_ring(struct et_softc *sc)
1276 et_setmulti(struct et_softc *sc)
1334 et_chip_init(struct et_softc *sc)
1389 et_init_tx_ring(struct et_softc *sc)
1410 et_init_rx_ring(struct et_softc *sc)
1442 et_init_rxdma(struct et_softc *sc)
1512 et_init_txdma(struct et_softc *sc)
1547 et_init_mac(struct et_softc *sc)
1600 et_init_rxmac(struct et_softc *sc)
1681 et_init_txmac(struct et_softc *sc)
1696 et_start_rxdma(struct et_softc *sc)
1719 et_start_txdma(struct et_softc *sc)
1727 et_rxeof(struct et_softc *sc)
1829 et_encap(struct et_softc *sc, struct mbuf **m0)
1964 et_txeof(struct et_softc *sc)
2022 struct et_softc *sc = xsc;
2033 struct et_softc *sc = xsc;
2057 struct et_softc *sc = rbd->rbd_softc;