/netbsd-current/sys/arch/ews4800mips/sbd/ |
H A D | if_le_sbdio.c | 95 struct le_sbdio_softc *lesc = device_private(self); local 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 156 struct le_sbdio_softc *lesc = (struct le_sbdio_softc *)sc; local 165 struct le_sbdio_softc *lesc = (struct le_sbdio_softc *)sc; local [all...] |
/netbsd-current/sys/arch/mipsco/obio/ |
H A D | if_le.c | 111 struct le_softc *lesc = (struct le_softc *)sc; local 113 bus_space_write_2(lesc->sc_bustag, lesc->sc_reg, LEREG1_RAP, port); 114 bus_space_write_2(lesc->sc_bustag, lesc->sc_reg, LEREG1_RDP, val); 120 struct le_softc *lesc = (struct le_softc *)sc; local 122 bus_space_write_2(lesc->sc_bustag, lesc->sc_reg, LEREG1_RAP, port); 123 return (bus_space_read_2(lesc->sc_bustag, lesc 150 struct le_softc *lesc = device_private(self); local 241 struct le_softc *lesc = arg; local [all...] |
/netbsd-current/sys/arch/hp300/dev/ |
H A D | if_le.c | 125 struct le_softc *lesc = (struct le_softc *)sc; local 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 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 176 struct lance_softc *sc = &lesc 268 struct le_softc *lesc = (struct le_softc *)sc; local 276 struct le_softc *lesc = (struct le_softc *)sc; local 284 struct le_softc *lesc = (struct le_softc *)sc; local [all...] |
/netbsd-current/sys/dev/isapnp/ |
H A D | if_le_isapnp.c | 134 struct le_isapnp_softc *lesc = (struct le_isapnp_softc *)sc; local 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 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 169 struct le_isapnp_softc *lesc = device_private(self); local [all...] |
/netbsd-current/sys/dev/isa/ |
H A D | if_le_isa.c | 155 struct le_softc *lesc = (struct le_softc *)sc; local 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 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 278 struct le_softc *lesc = device_private(self); local 288 struct le_softc *lesc = device_private(self); local 296 le_isa_attach(device_t parent, struct le_softc *lesc, struct isa_attach_args *ia, struct le_isa_params *p) argument [all...] |
/netbsd-current/sys/arch/sgimips/ioc/ |
H A D | if_le_oioc.c | 120 struct le_softc *lesc = (struct le_softc *)sc; local 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 129 bus_space_write_2(lesc->sc_st, lesc->sc_raph, 0, port); 130 return (bus_space_read_2(lesc->sc_st, lesc 153 struct le_softc *lesc = device_private(self); local [all...] |
/netbsd-current/sys/dev/sbus/ |
H A D | if_le_ledma.c | 125 struct le_softc *lesc = (struct le_softc *)sc; local 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 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 228 struct lsi64854_softc *dma = lesc->sc_dma; 241 lesc->sc_laddr & 0xff000000); 277 struct le_softc *lesc local 323 struct le_softc *lesc = device_private(self); local [all...] |
H A D | if_le.c | 103 struct le_softc *lesc = (struct le_softc *)sc; local 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 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 144 struct lance_softc *sc = &lesc->sc_am7990.lsc; 150 lesc->sc_bustag = sa->sa_bustag; 151 lesc [all...] |
H A D | if_le_lebuffer.c | 106 struct le_softc *lesc = (struct le_softc *)sc; local 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 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 147 struct lance_softc *sc = &lesc->sc_am7990.lsc; 152 lesc->sc_bustag = sa->sa_bustag; 153 lesc [all...] |
/netbsd-current/sys/arch/sparc/dev/ |
H A D | if_le_obio.c | 92 struct le_softc *lesc = (struct le_softc *)sc; local 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 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 134 struct lance_softc *sc = &lesc->sc_am7990.lsc; 141 lesc->sc_bustag = oba->oba_bustag; 142 lesc [all...] |
/netbsd-current/sys/arch/atari/vme/ |
H A D | if_le_vme.c | 174 struct le_softc *lesc = (struct le_softc *)sc; local 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 191 bus_space_write_2(lesc->sc_iot, lesc->sc_ioh, LER_RAP, port); 192 val = bus_space_read_2(lesc->sc_iot, lesc 316 le_intr(struct le_softc *lesc, int sr) argument 333 lepseudointr(struct le_softc *lesc, void *sc) argument 345 struct le_softc *lesc = device_private(self); local [all...] |
/netbsd-current/sys/dev/tc/ |
H A D | if_le_tc.c | 87 struct le_softc *lesc = device_private(self); local 88 struct lance_softc *sc = &lesc->sc_am7990.lsc; 97 lesc->sc_r1 = (struct lereg1 *) 113 dec_le_common_attach(&lesc->sc_am7990,
|
/netbsd-current/sys/dev/mca/ |
H A D | if_le_mca.c | 131 struct le_mca_softc *lesc = device_private(self); local 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 [all...] |
/netbsd-current/sys/arch/news68k/dev/ |
H A D | if_le.c | 151 struct le_softc *lesc = device_private(self); local 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);
|
/netbsd-current/sys/arch/sun3/dev/ |
H A D | if_le.c | 144 struct le_softc *lesc = device_private(self); local 145 struct lance_softc *sc = &lesc->sc_am7990.lsc; 149 lesc->sc_r1 = bus_mapin(ca->ca_bustype, 173 am7990_config(&lesc->sc_am7990);
|
/netbsd-current/sys/arch/newsmips/dev/ |
H A D | if_le.c | 140 struct le_softc *lesc = device_private(self); local 141 struct lance_softc *sc = &lesc->sc_am7990.lsc; 177 lesc->sc_r1 = (void *)ha->ha_addr; 206 am7990_config(&lesc->sc_am7990);
|
/netbsd-current/sys/arch/pmax/ibus/ |
H A D | if_le_ibus.c | 72 struct le_softc *lesc = device_private(self); local 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);
|
/netbsd-current/sys/arch/amiga/dev/ |
H A D | if_le.c | 316 struct le_softc *lesc = device_private(self); local 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 [all...] |
/netbsd-current/sys/arch/evbppc/explora/dev/ |
H A D | le_elb.c | 192 struct le_elb_softc *lesc = (struct le_elb_softc *)sc; local 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 210 bus_space_tag_t iot = lesc->sc_iot; 211 bus_space_handle_t ioh = lesc->sc_ioh;
|
/netbsd-current/sys/arch/luna68k/dev/ |
H A D | if_le.c | 176 struct le_softc *lesc = device_private(self); local 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);
|
/netbsd-current/sys/dev/ic/ |
H A D | depca.c | 242 struct le_depca_softc *lesc = device_private(self); local 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);
|
/netbsd-current/sys/arch/luna68k/stand/boot/ |
H A D | lance.c | 74 static struct le_softc lesc[NLE]; variable in typeref:struct:le_softc 85 sc = &lesc[unit]; 106 sc = &lesc[unit];
|