HomeSort by: relevance | last modified time | path
    Searched defs:lesc (Results 1 - 22 of 22) sorted by relevancy

  /src/sys/dev/tc/
if_le_tc.c 87 struct le_softc *lesc = device_private(self); local in function:le_tc_attach
88 struct lance_softc *sc = &lesc->sc_am7990.lsc;
97 lesc->sc_r1 = (struct lereg1 *)
113 dec_le_common_attach(&lesc->sc_am7990,
  /src/sys/arch/pmax/ibus/
if_le_ibus.c 72 struct le_softc *lesc = device_private(self); local in function:le_pmax_attach
73 struct lance_softc *sc = &lesc->sc_am7990.lsc;
81 lesc->sc_r1 = (struct lereg1 *)(ia->ia_addr);
91 dec_le_common_attach(&lesc->sc_am7990, cp);
  /src/sys/arch/ews4800mips/sbd/
if_le_sbdio.c 95 struct le_sbdio_softc *lesc = device_private(self); local in function:le_sbdio_attach
97 struct lance_softc *sc = &lesc->sc_am7990.lsc;
102 lesc->sc_dmat = sa->sa_dmat;
103 lesc->sc_bst = sa->sa_bust;
105 if (bus_space_map(lesc->sc_bst, sa->sa_addr1, 8 /* XXX */,
106 BUS_SPACE_MAP_LINEAR, &lesc->sc_bsh) != 0) {
112 if (bus_dmamem_alloc(lesc->sc_dmat, LE_MEMSIZE, 0, 0, &seg, 1, &rseg,
117 if (bus_dmamem_map(lesc->sc_dmat, &seg, rseg, LE_MEMSIZE,
122 if (bus_dmamap_create(lesc->sc_dmat, LE_MEMSIZE, 1, LE_MEMSIZE,
123 0, BUS_DMA_NOWAIT, &lesc->sc_dmamap) != 0)
156 struct le_sbdio_softc *lesc = (struct le_sbdio_softc *)sc; local in function:le_sbdio_wrcsr
165 struct le_sbdio_softc *lesc = (struct le_sbdio_softc *)sc; local in function:le_sbdio_rdcsr
    [all...]
  /src/sys/arch/news68k/dev/
if_le.c 151 struct le_softc *lesc = device_private(self); local in function:le_attach
152 struct lance_softc *sc = &lesc->sc_am7990.lsc;
157 lesc->sc_r1 = (void *)(ha->ha_address);
163 sc->sc_mem = lesc->sc_r1 - 0x10000;
164 p = (const uint8_t *)(lesc->sc_r1 + 0x8010);
194 am7990_config(&lesc->sc_am7990);
  /src/sys/arch/newsmips/dev/
if_le.c 140 struct le_softc *lesc = device_private(self); local in function:le_attach
141 struct lance_softc *sc = &lesc->sc_am7990.lsc;
177 lesc->sc_r1 = (void *)ha->ha_addr;
206 am7990_config(&lesc->sc_am7990);
  /src/sys/arch/sgimips/ioc/
if_le_oioc.c 120 struct le_softc *lesc = (struct le_softc *)sc; local in function:lewrcsr
121 bus_space_write_2(lesc->sc_st, lesc->sc_raph, 0, port);
122 bus_space_write_2(lesc->sc_st, lesc->sc_rdph, 0, val);
128 struct le_softc *lesc = (struct le_softc *)sc; local in function:lerdcsr
129 bus_space_write_2(lesc->sc_st, lesc->sc_raph, 0, port);
130 return (bus_space_read_2(lesc->sc_st, lesc->sc_rdph, 0))
153 struct le_softc *lesc = device_private(self); local in function:le_attach
    [all...]
  /src/sys/dev/sbus/
if_le_lebuffer.c 106 struct le_softc *lesc = (struct le_softc *)sc; local in function:lewrcsr
107 bus_space_tag_t t = lesc->sc_bustag;
108 bus_space_handle_t h = lesc->sc_reg;
126 struct le_softc *lesc = (struct le_softc *)sc; local in function:lerdcsr
127 bus_space_tag_t t = lesc->sc_bustag;
128 bus_space_handle_t h = lesc->sc_reg;
146 struct le_softc *lesc = device_private(self); local in function:leattach_lebuffer
147 struct lance_softc *sc = &lesc->sc_am7990.lsc;
152 lesc->sc_bustag = sa->sa_bustag;
153 lesc->sc_dmatag = sa->sa_dmatag
    [all...]
if_le.c 103 struct le_softc *lesc = (struct le_softc *)sc; local in function:lewrcsr
104 bus_space_tag_t t = lesc->sc_bustag;
105 bus_space_handle_t h = lesc->sc_reg;
123 struct le_softc *lesc = (struct le_softc *)sc; local in function:lerdcsr
124 bus_space_tag_t t = lesc->sc_bustag;
125 bus_space_handle_t h = lesc->sc_reg;
143 struct le_softc *lesc = device_private(self); local in function:leattach_sbus
144 struct lance_softc *sc = &lesc->sc_am7990.lsc;
150 lesc->sc_bustag = sa->sa_bustag;
151 lesc->sc_dmatag = dmatag = sa->sa_dmatag
    [all...]
if_le_ledma.c 125 struct le_softc *lesc = (struct le_softc *)sc; local in function:lewrcsr
126 bus_space_tag_t t = lesc->sc_bustag;
127 bus_space_handle_t h = lesc->sc_reg;
145 struct le_softc *lesc = (struct le_softc *)sc; local in function:lerdcsr
146 bus_space_tag_t t = lesc->sc_bustag;
147 bus_space_handle_t h = lesc->sc_reg;
227 struct le_softc *lesc = (struct le_softc *)sc; local in function:lehwreset
228 struct lsi64854_softc *dma = lesc->sc_dma;
241 lesc->sc_laddr & 0xff000000);
277 struct le_softc *lesc = (struct le_softc *)sc local in function:lenocarrier
323 struct le_softc *lesc = device_private(self); local in function:leattach_ledma
    [all...]
  /src/sys/arch/sun3/dev/
if_le.c 144 struct le_softc *lesc = device_private(self); local in function:le_attach
145 struct lance_softc *sc = &lesc->sc_am7990.lsc;
149 lesc->sc_r1 = bus_mapin(ca->ca_bustype,
173 am7990_config(&lesc->sc_am7990);
  /src/sys/arch/luna68k/dev/
if_le.c 176 struct le_softc *lesc = device_private(self); local in function:le_attach
177 struct lance_softc *sc = &lesc->sc_am7990.lsc;
183 lesc->sc_r1 = (struct lereg1 *)ma->ma_addr; /* LANCE */
202 am7990_config(&lesc->sc_am7990);
  /src/sys/arch/luna68k/stand/boot/
lance.c 74 static struct le_softc lesc[NLE]; variable in typeref:struct:le_softc[]
85 sc = &lesc[unit];
106 sc = &lesc[unit];
  /src/sys/arch/sparc/dev/
if_le_obio.c 92 struct le_softc *lesc = (struct le_softc *)sc; local in function:lewrcsr
93 bus_space_tag_t t = lesc->sc_bustag;
94 bus_space_handle_t h = lesc->sc_reg;
103 struct le_softc *lesc = (struct le_softc *)sc; local in function:lerdcsr
104 bus_space_tag_t t = lesc->sc_bustag;
105 bus_space_handle_t h = lesc->sc_reg;
133 struct le_softc *lesc = device_private(self); local in function:leattach_obio
134 struct lance_softc *sc = &lesc->sc_am7990.lsc;
141 lesc->sc_bustag = oba->oba_bustag;
142 lesc->sc_dmatag = dmatag = oba->oba_dmatag
    [all...]
  /src/sys/dev/ic/
depca.c 242 struct le_depca_softc *lesc = device_private(self); local in function:le_depca_attach
243 struct lance_softc *sc = &lesc->sc_am7990.lsc;
298 am7990_config(&lesc->sc_am7990);
300 lesc->sc_ih = (*dsc->sc_intr_establish)(dsc, sc);
  /src/sys/arch/hp300/dev/
if_le.c 125 struct le_softc *lesc = (struct le_softc *)sc; local in function:lewrcsr
126 bus_space_tag_t bst = lesc->sc_bst;
127 bus_space_handle_t bsh0 = lesc->sc_bsh0;
128 bus_space_handle_t bsh1 = lesc->sc_bsh1;
141 struct le_softc *lesc = (struct le_softc *)sc; local in function:lerdcsr
142 bus_space_tag_t bst = lesc->sc_bst;
143 bus_space_handle_t bsh0 = lesc->sc_bsh0;
144 bus_space_handle_t bsh1 = lesc->sc_bsh1;
175 struct le_softc *lesc = device_private(self); local in function:leattach
176 struct lance_softc *sc = &lesc->sc_am7990.lsc
268 struct le_softc *lesc = (struct le_softc *)sc; local in function:le_copytobuf
276 struct le_softc *lesc = (struct le_softc *)sc; local in function:le_copyfrombuf
284 struct le_softc *lesc = (struct le_softc *)sc; local in function:le_zerobuf
    [all...]
  /src/sys/arch/mipsco/obio/
if_le.c 109 struct le_softc *lesc = (struct le_softc *)sc; local in function:lewrcsr
111 bus_space_write_2(lesc->sc_bustag, lesc->sc_reg, LEREG1_RAP, port);
112 bus_space_write_2(lesc->sc_bustag, lesc->sc_reg, LEREG1_RDP, val);
118 struct le_softc *lesc = (struct le_softc *)sc; local in function:lerdcsr
120 bus_space_write_2(lesc->sc_bustag, lesc->sc_reg, LEREG1_RAP, port);
121 return (bus_space_read_2(lesc->sc_bustag, lesc->sc_reg, LEREG1_RDP))
143 struct le_softc *lesc = device_private(self); local in function:le_attach
234 struct le_softc *lesc = arg; local in function:le_intr
    [all...]
  /src/sys/arch/evbppc/explora/dev/
le_elb.c 192 struct le_elb_softc *lesc = (struct le_elb_softc *)sc; local in function:le_rdcsr
193 bus_space_tag_t iot = lesc->sc_iot;
194 bus_space_handle_t ioh = lesc->sc_ioh;
209 struct le_elb_softc *lesc = (struct le_elb_softc *)sc; local in function:le_wrcsr
210 bus_space_tag_t iot = lesc->sc_iot;
211 bus_space_handle_t ioh = lesc->sc_ioh;
  /src/sys/dev/isa/
if_le_isa.c 155 struct le_softc *lesc = (struct le_softc *)sc; local in function:le_isa_wrcsr
156 bus_space_tag_t iot = lesc->sc_iot;
157 bus_space_handle_t ioh = lesc->sc_ioh;
159 bus_space_write_2(iot, ioh, lesc->sc_rap, port);
160 bus_space_write_2(iot, ioh, lesc->sc_rdp, val);
166 struct le_softc *lesc = (struct le_softc *)sc; local in function:le_isa_rdcsr
167 bus_space_tag_t iot = lesc->sc_iot;
168 bus_space_handle_t ioh = lesc->sc_ioh;
171 bus_space_write_2(iot, ioh, lesc->sc_rap, port);
172 val = bus_space_read_2(iot, ioh, lesc->sc_rdp)
278 struct le_softc *lesc = device_private(self); local in function:le_ne2100_attach
288 struct le_softc *lesc = device_private(self); local in function:le_bicc_attach
    [all...]
  /src/sys/dev/isapnp/
if_le_isapnp.c 134 struct le_isapnp_softc *lesc = (struct le_isapnp_softc *)sc; local in function:le_isapnp_wrcsr
135 bus_space_tag_t iot = lesc->sc_iot;
136 bus_space_handle_t ioh = lesc->sc_ioh;
138 bus_space_write_2(iot, ioh, lesc->sc_rap, port);
139 bus_space_write_2(iot, ioh, lesc->sc_rdp, val);
145 struct le_isapnp_softc *lesc = (struct le_isapnp_softc *)sc; local in function:le_isapnp_rdcsr
146 bus_space_tag_t iot = lesc->sc_iot;
147 bus_space_handle_t ioh = lesc->sc_ioh;
150 bus_space_write_2(iot, ioh, lesc->sc_rap, port);
151 val = bus_space_read_2(iot, ioh, lesc->sc_rdp)
169 struct le_isapnp_softc *lesc = device_private(self); local in function:le_isapnp_attach
    [all...]
  /src/sys/dev/mca/
if_le_mca.c 131 struct le_mca_softc *lesc = device_private(self); local in function:le_mca_attach
132 struct lance_softc *sc = &lesc->sc_am7990.lsc;
216 lesc->sc_memt = ma->ma_memt;
218 if (bus_space_map(lesc->sc_memt, membase, LE_MCA_MEMSIZE,
219 0, &lesc->sc_memh)) {
231 sc->sc_enaddr[i] = bus_space_read_1(lesc->sc_memt,
232 lesc->sc_memh, LE_PROMOFF + i * 2);
260 lesc->sc_ih = mca_intr_establish(ma->ma_mc, irq, IPL_NET,
262 if (lesc->sc_ih == NULL) {
269 am7990_config(&lesc->sc_am7990)
    [all...]
  /src/sys/arch/amiga/dev/
if_le.c 316 struct le_softc *lesc = device_private(self); local in function:le_zbus_attach
317 struct lance_softc *sc = &lesc->sc_am7990.lsc;
336 lesc->sc_r1 = (struct lereg1 *)(0x4000 + (int)zap->va);
356 lesc->sc_r1 = (struct lereg1 *)(0x4000 + (int)zap->va);
376 lesc->sc_r1 = (struct lereg1 *)(0x0370 + (int)zap->va);
407 am7990_config(&lesc->sc_am7990);
409 lesc->sc_isr.isr_intr = am7990_intr;
410 lesc->sc_isr.isr_arg = sc;
411 lesc->sc_isr.isr_ipl = 2;
412 add_isr(&lesc->sc_isr)
    [all...]
  /src/sys/arch/atari/vme/
if_le_vme.c 174 struct le_softc *lesc = (struct le_softc *)sc; local in function:lewrcsr
178 bus_space_write_2(lesc->sc_iot, lesc->sc_ioh, LER_RAP, port);
179 bus_space_write_2(lesc->sc_iot, lesc->sc_ioh, LER_RDP, val);
186 struct le_softc *lesc = (struct le_softc *)sc; local in function:lerdcsr
191 bus_space_write_2(lesc->sc_iot, lesc->sc_ioh, LER_RAP, port);
192 val = bus_space_read_2(lesc->sc_iot, lesc->sc_ioh, LER_RDP)
345 struct le_softc *lesc = device_private(self); local in function:le_vme_attach
    [all...]

Completed in 42 milliseconds