Lines Matching refs:enet_softc
131 static void enet_attach_evcnt(struct enet_softc *);
132 static void enet_update_evcnt(struct enet_softc *);
138 static void enet_rx_csum(struct enet_softc *, struct ifnet *, struct mbuf *,
153 static void enet_gethwaddr(struct enet_softc *, uint8_t *);
154 static void enet_sethwaddr(struct enet_softc *, uint8_t *);
155 static void enet_setmulti(struct enet_softc *);
157 static int enet_encap_txring(struct enet_softc *, struct mbuf **);
158 static int enet_init_regs(struct enet_softc *, int);
159 static int enet_alloc_ring(struct enet_softc *);
160 static void enet_init_txring(struct enet_softc *);
161 static int enet_init_rxring(struct enet_softc *);
162 static void enet_reset_rxdesc(struct enet_softc *, int);
163 static int enet_alloc_rxbuf(struct enet_softc *, int);
164 static void enet_drain_txbuf(struct enet_softc *);
165 static void enet_drain_rxbuf(struct enet_softc *);
166 static int enet_alloc_dma(struct enet_softc *, size_t, void **,
172 struct enet_softc *sc = device_private(self);
276 enet_attach_evcnt(struct enet_softc *sc)
323 enet_update_evcnt(struct enet_softc *sc)
365 struct enet_softc *sc;
405 struct enet_softc *sc;
441 struct enet_softc *sc;
446 sc = (struct enet_softc *)arg;
516 struct enet_softc *sc;
637 enet_rx_csum(struct enet_softc *sc, struct ifnet *ifp, struct mbuf *m, int idx)
712 enet_setmulti(struct enet_softc *sc)
768 enet_gethwaddr(struct enet_softc *sc, uint8_t *hwaddr)
784 enet_sethwaddr(struct enet_softc *sc, uint8_t *hwaddr)
801 struct enet_softc *sc;
849 struct enet_softc *sc;
896 struct enet_softc *sc;
927 struct enet_softc *sc;
950 struct enet_softc *sc = ifp->if_softc;
961 struct enet_softc *sc = ifp->if_softc;
978 struct enet_softc *sc;
1053 struct enet_softc *sc;
1086 struct enet_softc *sc;
1116 struct enet_softc *sc;
1197 enet_init_txring(struct enet_softc *sc)
1222 enet_init_rxring(struct enet_softc *sc)
1239 enet_alloc_rxbuf(struct enet_softc *sc, int idx)
1283 enet_reset_rxdesc(struct enet_softc *sc, int idx)
1307 enet_drain_txbuf(struct enet_softc *sc)
1334 enet_drain_rxbuf(struct enet_softc *sc)
1350 enet_alloc_ring(struct enet_softc *sc)
1612 enet_encap_txring(struct enet_softc *sc, struct mbuf **mp)
1729 enet_init_regs(struct enet_softc *sc, int init)
1867 enet_alloc_dma(struct enet_softc *sc, size_t size, void **addrp,