Home
last modified time | relevance | path

Searched refs:lance_softc (Results 1 – 11 of 11) sorted by relevance

/NextBSD/sys/dev/le/
HDlancevar.h40 struct lance_softc { struct
54 void (*sc_copytodesc)(struct lance_softc *, void *, int, int); argument
55 void (*sc_copyfromdesc)(struct lance_softc *, void *, int, int); argument
56 void (*sc_copytobuf)(struct lance_softc *, void *, int, int); argument
57 void (*sc_copyfrombuf)(struct lance_softc *, void *, int, int); argument
58 void (*sc_zerobuf)(struct lance_softc *, int, int); argument
69 uint16_t (*sc_rdcsr)(struct lance_softc *, uint16_t); argument
70 void (*sc_wrcsr)(struct lance_softc *, uint16_t, uint16_t); argument
71 void (*sc_hwreset)(struct lance_softc *); argument
72 void (*sc_hwinit)(struct lance_softc *); argument
[all …]
HDif_le_ledma.c120 static void le_dma_wrcsr(struct lance_softc *, uint16_t, uint16_t);
121 static uint16_t le_dma_rdcsr(struct lance_softc *, uint16_t);
122 static void le_dma_setutp(struct lance_softc *);
123 static void le_dma_setaui(struct lance_softc *);
124 static int le_dma_supmediachange(struct lance_softc *);
125 static void le_dma_supmediastatus(struct lance_softc *, struct ifmediareq *);
126 static void le_dma_hwreset(struct lance_softc *);
127 static int le_dma_hwintr(struct lance_softc *);
128 static void le_dma_nocarrier(struct lance_softc *);
132 le_dma_wrcsr(struct lance_softc *sc, uint16_t port, uint16_t val) in le_dma_wrcsr()
[all …]
HDlance.c97 static void lance_stop(struct lance_softc *);
105 lance_config(struct lance_softc *sc, const char* name, int unit) in lance_config()
191 lance_attach(struct lance_softc *sc) in lance_attach()
205 lance_detach(struct lance_softc *sc) in lance_detach()
218 lance_suspend(struct lance_softc *sc) in lance_suspend()
227 lance_resume(struct lance_softc *sc) in lance_resume()
239 struct lance_softc *sc = ifp->if_softc; in lance_start()
247 lance_stop(struct lance_softc *sc) in lance_stop()
266 struct lance_softc *sc = (struct lance_softc *)xsc; in lance_init()
278 lance_init_locked(struct lance_softc *sc) in lance_init_locked()
[all …]
HDif_le_lebuffer.c110 static void le_lebuffer_wrcsr(struct lance_softc *, uint16_t, uint16_t);
111 static uint16_t le_lebuffer_rdcsr(struct lance_softc *, uint16_t);
112 static void le_lebuffer_copytodesc(struct lance_softc *, void *, int, int);
113 static void le_lebuffer_copyfromdesc(struct lance_softc *, void *, int, int);
114 static void le_lebuffer_copytobuf(struct lance_softc *, void *, int, int);
115 static void le_lebuffer_copyfrombuf(struct lance_softc *, void *, int, int);
116 static void le_lebuffer_zerobuf(struct lance_softc *, int, int);
119 le_lebuffer_wrcsr(struct lance_softc *sc, uint16_t port, uint16_t val) in le_lebuffer_wrcsr()
129 le_lebuffer_rdcsr(struct lance_softc *sc, uint16_t port) in le_lebuffer_rdcsr()
152 le_lebuffer_copytodesc(struct lance_softc *sc, void *fromv, int off, int len) in le_lebuffer_copytodesc()
[all …]
HDif_le_pci.c153 static void le_pci_wrbcr(struct lance_softc *, uint16_t, uint16_t);
154 static uint16_t le_pci_rdbcr(struct lance_softc *, uint16_t);
155 static void le_pci_wrcsr(struct lance_softc *, uint16_t, uint16_t);
156 static uint16_t le_pci_rdcsr(struct lance_softc *, uint16_t);
157 static int le_pci_mediachange(struct lance_softc *);
158 static void le_pci_hwreset(struct lance_softc *);
162 le_pci_wrbcr(struct lance_softc *sc, uint16_t port, uint16_t val) in le_pci_wrbcr()
172 le_pci_rdbcr(struct lance_softc *sc, uint16_t port) in le_pci_rdbcr()
182 le_pci_wrcsr(struct lance_softc *sc, uint16_t port, uint16_t val) in le_pci_wrcsr()
192 le_pci_rdcsr(struct lance_softc *sc, uint16_t port) in le_pci_rdcsr()
[all …]
HDif_le_cbus.c113 static void le_cbus_wrbcr(struct lance_softc *, uint16_t, uint16_t);
115 static uint16_t le_cbus_rdbcr(struct lance_softc *, uint16_t);
117 static void le_cbus_wrcsr(struct lance_softc *, uint16_t, uint16_t);
118 static uint16_t le_cbus_rdcsr(struct lance_softc *, uint16_t);
119 static void le_cbus_hwreset(struct lance_softc *);
123 le_cbus_wrbcr(struct lance_softc *sc, uint16_t port, uint16_t val) in le_cbus_wrbcr()
134 le_cbus_rdbcr(struct lance_softc *sc, uint16_t port) in le_cbus_rdbcr()
145 le_cbus_wrcsr(struct lance_softc *sc, uint16_t port, uint16_t val) in le_cbus_wrcsr()
155 le_cbus_rdcsr(struct lance_softc *sc, uint16_t port) in le_cbus_rdcsr()
165 le_cbus_hwreset(struct lance_softc *sc) in le_cbus_hwreset()
[all …]
HDam7990.c93 static void am7990_meminit(struct lance_softc *);
94 static void am7990_rint(struct lance_softc *);
95 static void am7990_tint(struct lance_softc *);
96 static void am7990_start_locked(struct lance_softc *sc);
99 static void am7990_recv_print(struct lance_softc *, int);
100 static void am7990_xmit_print(struct lance_softc *, int);
146 am7990_meminit(struct lance_softc *sc) in am7990_meminit()
210 am7990_rint(struct lance_softc *sc) in am7990_rint()
306 am7990_tint(struct lance_softc *sc) in am7990_tint()
390 struct lance_softc *sc = arg; in am7990_intr()
[all …]
HDam79900.c131 static void am79900_meminit(struct lance_softc *);
132 static void am79900_rint(struct lance_softc *);
133 static void am79900_tint(struct lance_softc *);
134 static void am79900_start_locked(struct lance_softc *sc);
137 static void am79900_recv_print(struct lance_softc *, int);
138 static void am79900_xmit_print(struct lance_softc *, int);
184 am79900_meminit(struct lance_softc *sc) in am79900_meminit()
250 am79900_rint(struct lance_softc *sc) in am79900_rint()
343 am79900_tint(struct lance_softc *sc) in am79900_tint()
428 struct lance_softc *sc = arg; in am79900_intr()
[all …]
HDif_le_isa.c165 static void le_isa_wrcsr(struct lance_softc *, uint16_t, uint16_t);
166 static uint16_t le_isa_rdcsr(struct lance_softc *, uint16_t);
171 le_isa_wrcsr(struct lance_softc *sc, uint16_t port, uint16_t val) in le_isa_wrcsr()
181 le_isa_rdcsr(struct lance_softc *sc, uint16_t port) in le_isa_rdcsr()
193 struct lance_softc *sc = (struct lance_softc *)xsc; in le_isa_dma_callback()
205 struct lance_softc *sc; in le_isa_probe_legacy()
262 struct lance_softc *sc; in le_isa_attach()
454 struct lance_softc *sc; in le_isa_detach()
HDam79900var.h48 struct lance_softc lsc;
HDam7990var.h48 struct lance_softc lsc;