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); in enet_attach_common()
276 enet_attach_evcnt(struct enet_softc *sc) in enet_attach_evcnt()
323 enet_update_evcnt(struct enet_softc *sc) in enet_update_evcnt()
365 struct enet_softc *sc; in enet_tick()
405 struct enet_softc *sc; in enet_intr()
441 struct enet_softc *sc; in enet_tx_intr()
446 sc = (struct enet_softc *)arg; in enet_tx_intr()
516 struct enet_softc *sc; in enet_rx_intr()
637 enet_rx_csum(struct enet_softc *sc, struct ifnet *ifp, struct mbuf *m, int idx) in enet_rx_csum()
712 enet_setmulti(struct enet_softc *sc) in enet_setmulti()
768 enet_gethwaddr(struct enet_softc *sc, uint8_t *hwaddr) in enet_gethwaddr()
784 enet_sethwaddr(struct enet_softc *sc, uint8_t *hwaddr) in enet_sethwaddr()
801 struct enet_softc *sc; in enet_init()
849 struct enet_softc *sc; in enet_start()
896 struct enet_softc *sc; in enet_stop()
927 struct enet_softc *sc; in enet_watchdog()
950 struct enet_softc *sc = ifp->if_softc; in enet_mediastatus()
961 struct enet_softc *sc = ifp->if_softc; in enet_ifflags_cb()
978 struct enet_softc *sc; in enet_ioctl()
1053 struct enet_softc *sc; in enet_miibus_readreg()
1086 struct enet_softc *sc; in enet_miibus_writereg()
1116 struct enet_softc *sc; in enet_miibus_statchg()
1197 enet_init_txring(struct enet_softc *sc) in enet_init_txring()
1222 enet_init_rxring(struct enet_softc *sc) in enet_init_rxring()
1239 enet_alloc_rxbuf(struct enet_softc *sc, int idx) in enet_alloc_rxbuf()
1283 enet_reset_rxdesc(struct enet_softc *sc, int idx) in enet_reset_rxdesc()
1307 enet_drain_txbuf(struct enet_softc *sc) in enet_drain_txbuf()
1334 enet_drain_rxbuf(struct enet_softc *sc) in enet_drain_rxbuf()
1350 enet_alloc_ring(struct enet_softc *sc) in enet_alloc_ring()
1612 enet_encap_txring(struct enet_softc *sc, struct mbuf **mp) in enet_encap_txring()
1729 enet_init_regs(struct enet_softc *sc, int init) in enet_init_regs()
1867 enet_alloc_dma(struct enet_softc *sc, size_t size, void **addrp, in enet_alloc_dma()