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

1 2

  /src/sys/arch/next68k/dev/
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
210 if (strcmp(nsc->sc_chan->nd_name, name) == 0)
236 struct nextdma_softc *nsc = device_private(self); local
242 nsc->sc_dev = self;
243 nsc->sc_chan = &nextdma_channel[attached]
531 struct nextdma_softc *nsc = arg; local
553 struct nextdma_softc *nsc = arg; local
    [all...]
nextdmavar.h 66 #define nextdma_setconf(nsc, elem, val) nsc->sc_conf.nd_##elem = (val)
esp.c 182 bus_space_read_4(nsc->sc_bst, nsc->sc_bsh, (reg))
184 bus_space_write_4(nsc->sc_bst, nsc->sc_bsh, (reg), (val))
485 struct nextdma_softc *nsc = esc->sc_dma; local
486 struct nextdma_status *stat = &nsc->sc_stat;
521 while (!nextdma_finished(nsc)) {
584 nextdma_reset(nsc);
601 if (!nextdma_finished(nsc)) {
1282 struct nextdma_softc *nsc = esc->sc_dma local
1459 struct nextdma_softc *nsc = esc->sc_dma; local
    [all...]
  /src/sys/arch/macppc/dev/
esp.c 393 struct ncr53c9x_softc *nsc = (struct ncr53c9x_softc *)sc; local
402 printf("%s: error: csr=%s\n", device_xname(nsc->sc_dev), bits);
420 NCR_READ_REG(nsc, NCR_TCL) |
421 (NCR_READ_REG(nsc, NCR_TCM) << 8),
422 NCR_READ_REG(nsc, NCR_TCL),
423 NCR_READ_REG(nsc, NCR_TCM)));
435 (resid = (NCR_READ_REG(nsc, NCR_FFLAG) & NCRFIFO_FF)) != 0) {
439 if ((nsc->sc_espstat & NCRSTAT_TC) == 0) {
444 resid += (NCR_READ_REG(nsc, NCR_TCL) |
445 (NCR_READ_REG(nsc, NCR_TCM) << 8)
    [all...]
  /src/sys/arch/sun3/dev/
dma.c 308 struct ncr53c9x_softc *nsc = sc->sc_client; local
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/amiga/dev/
if_ne_xsurf.c 120 struct ne2000_softc *nsc = &zsc->sc_ne2000; local
121 struct dp8390_softc *dsc = &nsc->sc_dp8390;
158 nsc->sc_asict = asict;
159 nsc->sc_asich = asich;
168 ne2000_attach(nsc, NULL);
if_ne_zbus.c 107 struct ne2000_softc *nsc = &zsc->sc_ne2000; local
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_xsh.c 99 struct ne2000_softc *nsc = &zsc->sc_ne2000; local
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);
  /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/arch/evbsh3/t_sh7706lan/
if_ne_mainbus.c 112 struct ne2000_softc *nsc = &msc->sc_ne2000; local
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/dev/mca/
if_ne_mca.c 132 struct ne2000_softc *nsc = &psc->sc_ne2000; local
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/ic/
dl10019.c 99 struct ne2000_softc *nsc = (void *) sc; local
102 if (nsc->sc_type != NE2000_TYPE_DL10022)
228 struct ne2000_softc *nsc = device_private(self); local
231 ops = (nsc->sc_type == NE2000_TYPE_DL10022) ?
240 struct ne2000_softc *nsc = device_private(self); local
243 ops = (nsc->sc_type == NE2000_TYPE_DL10022) ?
252 struct ne2000_softc *nsc = ifp->if_softc; local
253 struct dp8390_softc *sc = &nsc->sc_dp8390;
259 if (nsc->sc_type == NE2000_TYPE_DL10022) {
mx98905.c 169 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; local
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
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
324 mx98905_readmem(sc->sc_regt, sc->sc_regh, nsc->sc_asict, nsc->sc_asich
    [all...]
lsi64854.c 374 struct ncr53c9x_softc *nsc = sc->sc_client; local
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...]
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
727 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; local
757 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; local
    [all...]
ld_nvme.c 85 struct nvme_softc *nsc = device_private(parent); local
91 sc->sc_nvme = nsc;
  /src/sys/arch/x68k/dev/
if_ne_neptune.c 117 struct ne_neptune_softc *nsc = device_private(self); local
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
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/dev/isapnp/
if_ne_isapnp.c 94 struct ne2000_softc * const nsc = &isc->sc_ne2000; local
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/acorn32/podulebus/
if_ne_pbus.c 234 struct ne2000_softc *nsc = &npsc->sc_ne2000; local
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
490 struct dp8390_softc *dsc = &nsc->sc_dp8390;
514 struct ne2000_softc *nsc = &sc->sc_ne2000 local
    [all...]
  /src/sys/dev/pcmcia/
if_ne_pcmcia.c 579 struct ne2000_softc *nsc = &psc->sc_ne2000; local
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
844 struct ne2000_softc *nsc = &psc->sc_ne2000; local
    [all...]
  /src/sys/arch/atari/dev/
if_ne_mb.c 183 struct ne2000_softc *nsc = &sc->sc_ne2000; local
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
281 nsc = &sc->sc_ne2000;
282 dsc = &nsc->sc_dp8390;
  /src/sys/dev/pci/
if_ne_pci.c 171 struct ne2000_softc *nsc = &psc->sc_ne2000; local
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/netinet/
tcp_syncache.c 480 struct syn_cache *sc, *nsc; local
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
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 41 milliseconds

1 2