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

  /src/sys/arch/evbsh3/t_sh7706lan/
if_ne_mainbus.c 112 struct ne2000_softc *nsc = &msc->sc_ne2000; local in function:ne_mainbus_attach
113 struct dp8390_softc *dsc = &nsc->sc_dp8390;
142 nsc->sc_asict = asict;
143 nsc->sc_asich = asich;
175 nsc->sc_quirk |= NE2000_QUIRK_8BIT;
181 ne2000_attach(nsc, NULL);
  /src/sys/arch/x68k/dev/
if_ne_neptune.c 117 struct ne_neptune_softc *nsc = device_private(self); local in function:ne_neptune_attach
118 struct dp8390_softc *dsc = &nsc->sc_dp8390;
145 nsc->sc_asict = asict;
146 nsc->sc_asich = asich;
180 ne2000_attach(nsc, NULL);
  /src/sys/dev/isa/
if_ne_isa.c 134 struct ne2000_softc *nsc = &isc->sc_ne2000; local in function:ne_isa_attach
135 struct dp8390_softc *dsc = &nsc->sc_dp8390;
163 nsc->sc_asict = asict;
164 nsc->sc_asich = asich;
198 ne2000_attach(nsc, NULL);
  /src/sys/arch/amiga/dev/
if_ne_xsh.c 99 struct ne2000_softc *nsc = &zsc->sc_ne2000; local in function:ne_xsh_attach
100 struct dp8390_softc *dsc = &nsc->sc_dp8390;
135 nsc->sc_asict = xsht;
136 nsc->sc_asich = asich;
141 nsc->sc_type = NE2000_TYPE_AX88796;
154 ne2000_attach(nsc, NULL);
if_ne_zbus.c 107 struct ne2000_softc *nsc = &zsc->sc_ne2000; local in function:ne_zbus_attach
108 struct dp8390_softc *dsc = &nsc->sc_dp8390;
142 nsc->sc_asict = asict;
143 nsc->sc_asich = asich;
152 ne2000_attach(nsc, NULL);
if_ne_xsurf.c 120 struct ne2000_softc *nsc = &zsc->sc_ne2000; local in function:ne_xsurf_attach
121 struct dp8390_softc *dsc = &nsc->sc_dp8390;
158 nsc->sc_asict = asict;
159 nsc->sc_asich = asich;
168 ne2000_attach(nsc, NULL);
  /src/sys/dev/isapnp/
if_ne_isapnp.c 94 struct ne2000_softc * const nsc = &isc->sc_ne2000; local in function:ne_isapnp_attach
95 struct dp8390_softc * const dsc = &nsc->sc_dp8390;
127 nsc->sc_asict = asict;
128 nsc->sc_asich = asich;
162 ne2000_attach(nsc, NULL);
  /src/sys/arch/sun3/dev/
dma.c 308 struct ncr53c9x_softc *nsc = sc->sc_client; local in function:espdmaintr
347 NCR_READ_REG(nsc, NCR_TCL) |
348 (NCR_READ_REG(nsc, NCR_TCM) << 8),
349 NCR_READ_REG(nsc, NCR_TCL),
350 NCR_READ_REG(nsc, NCR_TCM)));
362 (resid = (NCR_READ_REG(nsc, NCR_FFLAG) & NCRFIFO_FF)) != 0) {
366 if ((nsc->sc_espstat & NCRSTAT_TC) == 0) {
371 resid += (NCR_READ_REG(nsc, NCR_TCL) |
372 (NCR_READ_REG(nsc, NCR_TCM) << 8) |
373 ((nsc->sc_cfg2 & NCRCFG2_FE)
    [all...]
  /src/sys/arch/evbarm/g42xxeb/
if_ne_obio.c 65 struct ne2000_softc nsc; member in struct:ne_obio_softc
152 sc->nsc.sc_dp8390.sc_dev = self;
162 sc->nsc.sc_dp8390.sc_regt = iot;
163 sc->nsc.sc_dp8390.sc_regh = nioh;
165 sc->nsc.sc_asict = iot;
166 sc->nsc.sc_asich = aioh;
173 sc->nsc.sc_type = NE2000_TYPE_NE2000; /* XXX _AX88796 ? */
174 sc->nsc.sc_dp8390.sc_flags = DP8390_NO_REMOTE_DMA_COMPLETE;
203 sc->nsc.sc_dp8390.sc_enabled = 0;
204 sc->nsc.sc_dp8390.sc_enable = ne_obio_enable
    [all...]
  /src/sys/dev/ic/
dl10019.c 99 struct ne2000_softc *nsc = (void *) sc; local in function:dl10019_mii_reset
102 if (nsc->sc_type != NE2000_TYPE_DL10022)
228 struct ne2000_softc *nsc = device_private(self); local in function:dl10019_mii_readreg
231 ops = (nsc->sc_type == NE2000_TYPE_DL10022) ?
240 struct ne2000_softc *nsc = device_private(self); local in function:dl10019_mii_writereg
243 ops = (nsc->sc_type == NE2000_TYPE_DL10022) ?
252 struct ne2000_softc *nsc = ifp->if_softc; local in function:dl10019_mii_statchg
253 struct dp8390_softc *sc = &nsc->sc_dp8390;
259 if (nsc->sc_type == NE2000_TYPE_DL10022) {
ld_nvme.c 85 struct nvme_softc *nsc = device_private(parent); local in function:ld_nvme_attach
91 sc->sc_nvme = nsc;
lsi64854.c 374 struct ncr53c9x_softc *nsc = sc->sc_client; local in function:lsi64854_scsi_intr
414 NCR_READ_REG(nsc, NCR_TCL) |
415 (NCR_READ_REG(nsc, NCR_TCM) << 8),
416 NCR_READ_REG(nsc, NCR_TCL),
417 NCR_READ_REG(nsc, NCR_TCM)));
429 (resid = (NCR_READ_REG(nsc, NCR_FFLAG) & NCRFIFO_FF)) != 0) {
432 if (nsc->sc_rev == NCR_VARIANT_FAS366 &&
433 (NCR_READ_REG(nsc, NCR_CFG3) & NCRFASCFG3_EWIDE))
437 if ((nsc->sc_espstat & NCRSTAT_TC) == 0) {
442 resid += (NCR_READ_REG(nsc, NCR_TCL)
    [all...]
mx98905.c 169 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; local in function:mx98905_write_mbuf
172 bus_space_tag_t asict = nsc->sc_asict;
173 bus_space_handle_t asich = nsc->sc_asich;
292 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; local in function:mx98905_ring_copy
296 bus_space_tag_t asict = nsc->sc_asict;
297 bus_space_handle_t asich = nsc->sc_asich;
299 int useword = nsc->sc_useword;
322 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; local in function:mx98905_read_hdr
324 mx98905_readmem(sc->sc_regt, sc->sc_regh, nsc->sc_asict, nsc->sc_asich
    [all...]
ne2000.c 112 ne2000_attach(struct ne2000_softc *nsc, uint8_t *myea)
114 struct dp8390_softc *dsc = &nsc->sc_dp8390;
117 bus_space_tag_t asict = nsc->sc_asict;
118 bus_space_handle_t asich = nsc->sc_asich;
126 if (nsc->sc_type == NE2000_TYPE_UNKNOWN)
127 nsc->sc_type = ne2000_detect(nict, nich, asict, asich);
133 switch (nsc->sc_type) {
158 (nsc->sc_quirk & NE2000_QUIRK_8BIT) != 0) {
172 nsc->sc_useword = useword;
174 if (nsc->sc_type == NE2000_TYPE_RTL8019)
550 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; local in function:ne2000_write_mbuf
727 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; local in function:ne2000_ring_copy
757 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; local in function:ne2000_read_hdr
    [all...]
  /src/sys/dev/mca/
if_ne_mca.c 132 struct ne2000_softc *nsc = &psc->sc_ne2000; local in function:ne_mca_attach
133 struct dp8390_softc *dsc = &nsc->sc_dp8390;
185 nsc->sc_asict = asict;
186 nsc->sc_asich = asich;
200 nsc->sc_type = NE2000_TYPE_AX88190;
206 if (ne2000_attach(nsc, NULL))
  /src/sys/dev/pci/
if_ne_pci.c 171 struct ne2000_softc *nsc = &psc->sc_ne2000; local in function:ne_pci_attach
172 struct dp8390_softc *dsc = &nsc->sc_dp8390;
211 nsc->sc_asict = asict;
212 nsc->sc_asich = asich;
232 ne2000_attach(nsc, NULL);
  /src/sys/arch/macppc/dev/
esp.c 396 struct ncr53c9x_softc *nsc = (struct ncr53c9x_softc *)sc; local in function:espdmaintr
405 printf("%s: error: csr=%s\n", device_xname(nsc->sc_dev), bits);
423 NCR_READ_REG(nsc, NCR_TCL) |
424 (NCR_READ_REG(nsc, NCR_TCM) << 8),
425 NCR_READ_REG(nsc, NCR_TCL),
426 NCR_READ_REG(nsc, NCR_TCM)));
438 (resid = (NCR_READ_REG(nsc, NCR_FFLAG) & NCRFIFO_FF)) != 0) {
442 if ((nsc->sc_espstat & NCRSTAT_TC) == 0) {
447 resid += (NCR_READ_REG(nsc, NCR_TCL) |
448 (NCR_READ_REG(nsc, NCR_TCM) << 8)
    [all...]
  /src/sys/arch/atari/dev/
if_ne_mb.c 183 struct ne2000_softc *nsc = &sc->sc_ne2000; local in function:ne_mb_attach
184 struct dp8390_softc *dsc = &nsc->sc_dp8390;
219 nsc->sc_asict = asict;
220 nsc->sc_asich = asich;
223 nsc->sc_quirk = NE2000_QUIRK_8BIT;
255 ne2000_attach(nsc, NULL);
276 struct ne2000_softc *nsc; local in function:ne_mb_poll
281 nsc = &sc->sc_ne2000;
282 dsc = &nsc->sc_dp8390;
  /src/sys/dev/pcmcia/
if_ne_pcmcia.c 579 struct ne2000_softc *nsc = &psc->sc_ne2000; local in function:ne_pcmcia_attach
580 struct dp8390_softc *dsc = &nsc->sc_dp8390;
604 nsc->sc_asict = dsc->sc_regt;
606 NE2000_ASIC_OFFSET, NE2000_ASIC_NPORTS, &nsc->sc_asich)) {
612 nsc->sc_asict = cfe->iospace[1].handle.iot;
613 nsc->sc_asich = cfe->iospace[1].handle.ioh;
667 type = bus_space_read_1(nsc->sc_asict, nsc->sc_asich, 0x0f);
669 nsc->sc_type = NE2000_TYPE_DL10022;
671 nsc->sc_type = NE2000_TYPE_DL10019
808 struct ne2000_softc *nsc = &psc->sc_ne2000; local in function:ne_pcmcia_get_enaddr
844 struct ne2000_softc *nsc = &psc->sc_ne2000; local in function:ne_pcmcia_dl10019_get_enaddr
    [all...]
  /src/sys/dev/wscons/
wsmux.c 821 struct wsmux_softc *nsc = displaydv ? sc : NULL; local in function:wsmux_set_display
837 error = wsevsrc_set_display(me, &nsc->sc_base);
  /src/sys/arch/acorn32/podulebus/
if_ne_pbus.c 234 struct ne2000_softc *nsc = &npsc->sc_ne2000; local in function:ne_pbus_attach
235 struct dp8390_softc *dsc = &nsc->sc_dp8390;
322 nsc->sc_asict = dsc->sc_regt;
331 if (bus_space_map(nsc->sc_asict, ne->asicbase, ne->asicsize,
332 0, &nsc->sc_asich)) {
377 ne2000_attach(nsc, myea);
379 switch (nsc->sc_type) {
489 struct ne2000_softc *nsc = &sc->sc_ne2000; local in function:eh600_preattach
490 struct dp8390_softc *dsc = &nsc->sc_dp8390;
514 struct ne2000_softc *nsc = &sc->sc_ne2000 local in function:eh600_postattach
    [all...]
  /src/sys/arch/next68k/dev/
esp.c 185 bus_space_read_4(nsc->sc_bst, nsc->sc_bsh, (reg))
187 bus_space_write_4(nsc->sc_bst, nsc->sc_bsh, (reg), (val))
488 struct nextdma_softc *nsc = esc->sc_dma; local in function:esp_dma_intr
489 struct nextdma_status *stat = &nsc->sc_stat;
524 while (!nextdma_finished(nsc)) {
587 nextdma_reset(nsc);
604 if (!nextdma_finished(nsc)) {
1285 struct nextdma_softc *nsc = esc->sc_dma local in function:esp_dma_go
1462 struct nextdma_softc *nsc = esc->sc_dma; local in function:esp_dma_int
    [all...]
nextdma.c 66 /* (nsc->sc_chan->nd_intr == NEXT_I_SCSI_DMA) && nextdma_debug */
161 bus_space_read_4(nsc->sc_bst, nsc->sc_bsh, (reg))
163 bus_space_write_4(nsc->sc_bst, nsc->sc_bsh, (reg), (val))
209 struct nextdma_softc *nsc = device_private(dev); local in function:nextdma_findchannel
210 if (strcmp(nsc->sc_chan->nd_name, name) == 0)
236 struct nextdma_softc *nsc = device_private(self); local in function:nextdma_attach
242 nsc->sc_dev = self;
243 nsc->sc_chan = &nextdma_channel[attached]
531 struct nextdma_softc *nsc = arg; local in function:nextdma_esp_intr
553 struct nextdma_softc *nsc = arg; local in function:nextdma_enet_intr
    [all...]
  /src/sys/netinet/
tcp_syncache.c 480 struct syn_cache *sc, *nsc; local in function:syn_cache_cleanup
485 for (sc = LIST_FIRST(&tp->t_sc); sc != NULL; sc = nsc) {
486 nsc = LIST_NEXT(sc, sc_tpq);
  /src/sys/dev/dkwedge/
dk.c 1372 struct dkwedge_softc *nsc; local in function:dkfirstopen
1409 LIST_FOREACH(nsc, &sc->sc_parent->dk_wedges, sc_plink) {
1410 if (nsc == sc || nsc->sc_dk.dk_openmask == 0)
1412 mode = nsc->sc_mode;

Completed in 47 milliseconds