Lines Matching refs:gmac_softc

71 struct gmac_softc {
94 static inline u_int gmac_read_reg(struct gmac_softc *, int);
95 static inline void gmac_write_reg(struct gmac_softc *, int, u_int);
97 static inline void gmac_start_txdma(struct gmac_softc *);
98 static inline void gmac_start_rxdma(struct gmac_softc *);
99 static inline void gmac_stop_txdma(struct gmac_softc *);
100 static inline void gmac_stop_rxdma(struct gmac_softc *);
103 void gmac_tint(struct gmac_softc *);
104 void gmac_rint(struct gmac_softc *);
105 struct mbuf * gmac_get(struct gmac_softc *, void *, int);
107 int gmac_put(struct gmac_softc *, void *, struct mbuf *);
109 void gmac_stop(struct gmac_softc *);
110 void gmac_reset(struct gmac_softc *);
111 void gmac_init(struct gmac_softc *);
112 void gmac_init_mac(struct gmac_softc *);
113 void gmac_setladrf(struct gmac_softc *);
123 CFATTACH_DECL_NEW(gm, sizeof(struct gmac_softc),
143 struct gmac_softc * const sc = device_private(self);
253 gmac_read_reg(struct gmac_softc *sc, int reg)
259 gmac_write_reg(struct gmac_softc *sc, int reg, u_int val)
265 gmac_start_txdma(struct gmac_softc *sc)
278 gmac_start_rxdma(struct gmac_softc *sc)
291 gmac_stop_txdma(struct gmac_softc *sc)
304 gmac_stop_rxdma(struct gmac_softc *sc)
319 struct gmac_softc *sc = v;
337 gmac_tint(struct gmac_softc *sc)
347 gmac_rint(struct gmac_softc *sc)
397 gmac_get(struct gmac_softc *sc, void *pkt, int totlen)
444 struct gmac_softc *sc = ifp->if_softc;
497 gmac_put(struct gmac_softc *sc, void *buff, struct mbuf *m)
516 gmac_reset(struct gmac_softc *sc)
552 gmac_stop(struct gmac_softc *sc)
574 gmac_init_mac(struct gmac_softc *sc)
637 gmac_setladrf(struct gmac_softc *sc)
717 gmac_init(struct gmac_softc *sc)
744 struct gmac_softc *sc = ifp->if_softc;
822 struct gmac_softc *sc = ifp->if_softc;
834 struct gmac_softc *sc = device_private(self);
857 struct gmac_softc *sc = device_private(self);
879 struct gmac_softc *sc = ifp->if_softc;
904 struct gmac_softc *sc = v;