Lines Matching defs:cnw_softc
182 struct cnw_softc {
213 CFATTACH_DECL_NEW(cnw, sizeof(struct cnw_softc),
216 static void cnw_reset(struct cnw_softc *);
217 static void cnw_init(struct cnw_softc *);
218 static int cnw_enable(struct cnw_softc *sc);
219 static void cnw_disable(struct cnw_softc *sc);
221 static void cnw_transmit(struct cnw_softc *, struct mbuf *);
222 static struct mbuf *cnw_read(struct cnw_softc *);
223 static void cnw_recv(struct cnw_softc *);
227 static int cnw_setdomain(struct cnw_softc *, int);
228 static int cnw_setkey(struct cnw_softc *, int);
233 static int wait_WOC(struct cnw_softc *, int);
234 static int read16(struct cnw_softc *, int);
235 static int cnw_cmd(struct cnw_softc *, int, int, int, int);
242 wait_WOC(struct cnw_softc *sc, int line)
268 read16(struct cnw_softc *sc, int offset)
288 cnw_cmd(struct cnw_softc *sc, int cmd, int count, int arg1, int arg2)
327 cnw_reset(struct cnw_softc *sc)
355 cnw_init(struct cnw_softc *sc)
411 cnw_enable(struct cnw_softc *sc)
439 cnw_disable(struct cnw_softc *sc)
478 struct cnw_softc *sc = device_private(self);
589 struct cnw_softc *sc = ifp->if_softc;
685 cnw_transmit(struct cnw_softc *sc, struct mbuf *m0)
740 cnw_read(struct cnw_softc *sc)
826 cnw_recv(struct cnw_softc *sc)
863 struct cnw_softc *sc = arg;
985 struct cnw_softc *sc = ifp->if_softc;
1120 struct cnw_softc *sc = ifp->if_softc;
1128 cnw_setdomain(struct cnw_softc *sc, int domain)
1144 cnw_setkey(struct cnw_softc *sc, int key)
1162 struct cnw_softc *sc = device_private(self);
1176 struct cnw_softc *sc = device_private(self);