Home
last modified time | relevance | path

Searched refs:nsc (Results 1 – 25 of 125) sorted by relevance

12345

/netbsd-src/sys/arch/next68k/dev/
H A Dnextdma.c161 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); in nextdma_findchannel() local
210 if (strcmp(nsc->sc_chan->nd_name, name) == 0) in nextdma_findchannel()
236 struct nextdma_softc *nsc = device_private(self); in nextdma_attach() local
242 nsc->sc_dev = self; in nextdma_attach()
243 nsc->sc_chan = &nextdma_channel[attached]; in nextdma_attach()
245 nsc->sc_dmat = ia->ia_dmat; in nextdma_attach()
246 nsc->sc_bst = ia->ia_bst; in nextdma_attach()
248 if (bus_space_map(nsc->sc_bst, nsc->sc_chan->nd_base, in nextdma_attach()
[all …]
H A Desp.c185 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; in esp_dma_intr() local
489 struct nextdma_status *stat = &nsc->sc_stat; in esp_dma_intr()
524 while (!nextdma_finished(nsc)) { in esp_dma_intr()
587 nextdma_reset(nsc); in esp_dma_intr()
604 if (!nextdma_finished(nsc)) { in esp_dma_intr()
1285 struct nextdma_softc *nsc = esc->sc_dma; in esp_dma_go() local
1286 struct nextdma_status *stat = &nsc->sc_stat; in esp_dma_go()
1386 nextdma_start(nsc, (esc->sc_datain ? DMACSR_SETREAD : DMACSR_SETWRITE)); in esp_dma_go()
[all …]
H A Dnextdmavar.h66 #define nextdma_setconf(nsc, elem, val) nsc->sc_conf.nd_##elem = (val) argument
/netbsd-src/sys/arch/macppc/dev/
H A Desp.c396 struct ncr53c9x_softc *nsc = (struct ncr53c9x_softc *)sc; in espdmaintr() local
405 printf("%s: error: csr=%s\n", device_xname(nsc->sc_dev), bits); in espdmaintr()
423 NCR_READ_REG(nsc, NCR_TCL) | in espdmaintr()
424 (NCR_READ_REG(nsc, NCR_TCM) << 8), in espdmaintr()
425 NCR_READ_REG(nsc, NCR_TCL), in espdmaintr()
426 NCR_READ_REG(nsc, NCR_TCM))); in espdmaintr()
438 (resid = (NCR_READ_REG(nsc, NCR_FFLAG) & NCRFIFO_FF)) != 0) { in espdmaintr()
442 if ((nsc->sc_espstat & NCRSTAT_TC) == 0) { in espdmaintr()
447 resid += (NCR_READ_REG(nsc, NCR_TCL) | in espdmaintr()
448 (NCR_READ_REG(nsc, NCR_TCM) << 8) | in espdmaintr()
[all …]
/netbsd-src/sys/arch/sun3/dev/
H A Ddma.c308 struct ncr53c9x_softc *nsc = sc->sc_client; in espdmaintr() local
347 NCR_READ_REG(nsc, NCR_TCL) | in espdmaintr()
348 (NCR_READ_REG(nsc, NCR_TCM) << 8), in espdmaintr()
349 NCR_READ_REG(nsc, NCR_TCL), in espdmaintr()
350 NCR_READ_REG(nsc, NCR_TCM))); in espdmaintr()
362 (resid = (NCR_READ_REG(nsc, NCR_FFLAG) & NCRFIFO_FF)) != 0) { in espdmaintr()
366 if ((nsc->sc_espstat & NCRSTAT_TC) == 0) { in espdmaintr()
371 resid += (NCR_READ_REG(nsc, NCR_TCL) | in espdmaintr()
372 (NCR_READ_REG(nsc, NCR_TCM) << 8) | in espdmaintr()
373 ((nsc in espdmaintr()
[all...]
/netbsd-src/sys/dev/ic/
H A Dne2000.c112 ne2000_attach(struct ne2000_softc *nsc, uint8_t *myea) in ne2000_attach() argument
114 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne2000_attach()
117 bus_space_tag_t asict = nsc->sc_asict; in ne2000_attach()
118 bus_space_handle_t asich = nsc->sc_asich; in ne2000_attach()
126 if (nsc->sc_type == NE2000_TYPE_UNKNOWN) in ne2000_attach()
127 nsc->sc_type = ne2000_detect(nict, nich, asict, asich); in ne2000_attach()
133 switch (nsc->sc_type) { in ne2000_attach()
158 (nsc->sc_quirk & NE2000_QUIRK_8BIT) != 0) { in ne2000_attach()
172 nsc->sc_useword = useword; in ne2000_attach()
174 if (nsc->sc_type == NE2000_TYPE_RTL8019) { in ne2000_attach()
[all …]
H A Dlsi64854.c374 struct ncr53c9x_softc *nsc = sc->sc_client; in lsi64854_scsi_intr() local
414 NCR_READ_REG(nsc, NCR_TCL) | in lsi64854_scsi_intr()
415 (NCR_READ_REG(nsc, NCR_TCM) << 8), in lsi64854_scsi_intr()
416 NCR_READ_REG(nsc, NCR_TCL), in lsi64854_scsi_intr()
417 NCR_READ_REG(nsc, NCR_TCM))); in lsi64854_scsi_intr()
429 (resid = (NCR_READ_REG(nsc, NCR_FFLAG) & NCRFIFO_FF)) != 0) { in lsi64854_scsi_intr()
432 if (nsc->sc_rev == NCR_VARIANT_FAS366 && in lsi64854_scsi_intr()
433 (NCR_READ_REG(nsc, NCR_CFG3) & NCRFASCFG3_EWIDE)) in lsi64854_scsi_intr()
437 if ((nsc->sc_espstat & NCRSTAT_TC) == 0) { in lsi64854_scsi_intr()
442 resid += (NCR_READ_REG(nsc, NCR_TCL) | in lsi64854_scsi_intr()
[all …]
H A Ddl10019.c99 struct ne2000_softc *nsc = (void *) sc; in dl10019_mii_reset() local
102 if (nsc->sc_type != NE2000_TYPE_DL10022) in dl10019_mii_reset()
228 struct ne2000_softc *nsc = device_private(self); in dl10019_mii_readreg() local
231 ops = (nsc->sc_type == NE2000_TYPE_DL10022) ? in dl10019_mii_readreg()
240 struct ne2000_softc *nsc = device_private(self); in dl10019_mii_writereg() local
243 ops = (nsc->sc_type == NE2000_TYPE_DL10022) ? in dl10019_mii_writereg()
252 struct ne2000_softc *nsc = ifp->if_softc; in dl10019_mii_statchg() local
253 struct dp8390_softc *sc = &nsc->sc_dp8390; in dl10019_mii_statchg()
259 if (nsc->sc_type == NE2000_TYPE_DL10022) { in dl10019_mii_statchg()
H A Dmx98905.c169 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; in mx98905_write_mbuf() local
172 bus_space_tag_t asict = nsc->sc_asict; in mx98905_write_mbuf()
173 bus_space_handle_t asich = nsc->sc_asich; in mx98905_write_mbuf()
292 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; in mx98905_ring_copy() local
296 bus_space_tag_t asict = nsc->sc_asict; in mx98905_ring_copy()
297 bus_space_handle_t asich = nsc->sc_asich; in mx98905_ring_copy()
299 int useword = nsc->sc_useword; in mx98905_ring_copy()
322 struct ne2000_softc *nsc = (struct ne2000_softc *)sc; in mx98905_read_hdr() local
324 mx98905_readmem(sc->sc_regt, sc->sc_regh, nsc->sc_asict, nsc->sc_asich, in mx98905_read_hdr()
326 nsc->sc_useword); in mx98905_read_hdr()
/netbsd-src/sys/dev/pcmcia/
H A Dif_ne_pcmcia.c579 struct ne2000_softc *nsc = &psc->sc_ne2000; in ne_pcmcia_attach() local
580 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne_pcmcia_attach()
604 nsc->sc_asict = dsc->sc_regt; in ne_pcmcia_attach()
606 NE2000_ASIC_OFFSET, NE2000_ASIC_NPORTS, &nsc->sc_asich)) { in ne_pcmcia_attach()
612 nsc->sc_asict = cfe->iospace[1].handle.iot; in ne_pcmcia_attach()
613 nsc->sc_asich = cfe->iospace[1].handle.ioh; in ne_pcmcia_attach()
667 type = bus_space_read_1(nsc->sc_asict, nsc->sc_asich, 0x0f); in ne_pcmcia_attach()
669 nsc->sc_type = NE2000_TYPE_DL10022; in ne_pcmcia_attach()
671 nsc->sc_type = NE2000_TYPE_DL10019; in ne_pcmcia_attach()
691 test = bus_space_read_1(nsc->sc_asict, nsc->sc_asich, 0x05); in ne_pcmcia_attach()
[all …]
/netbsd-src/sys/arch/evbarm/g42xxeb/
H A Dif_ne_obio.c65 struct ne2000_softc nsc; member
152 sc->nsc.sc_dp8390.sc_dev = self; in ne_obio_attach()
162 sc->nsc.sc_dp8390.sc_regt = iot; in ne_obio_attach()
163 sc->nsc.sc_dp8390.sc_regh = nioh; in ne_obio_attach()
165 sc->nsc.sc_asict = iot; in ne_obio_attach()
166 sc->nsc.sc_asich = aioh; in ne_obio_attach()
173 sc->nsc.sc_type = NE2000_TYPE_NE2000; /* XXX _AX88796 ? */ in ne_obio_attach()
174 sc->nsc.sc_dp8390.sc_flags = DP8390_NO_REMOTE_DMA_COMPLETE; in ne_obio_attach()
203 sc->nsc.sc_dp8390.sc_enabled = 0; in ne_obio_attach()
204 sc->nsc.sc_dp8390.sc_enable = ne_obio_enable; in ne_obio_attach()
[all …]
/netbsd-src/sys/arch/evbsh3/t_sh7706lan/
H A Dif_ne_mainbus.c112 struct ne2000_softc *nsc = &msc->sc_ne2000; in ne_mainbus_attach() local
113 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne_mainbus_attach()
142 nsc->sc_asict = asict; in ne_mainbus_attach()
143 nsc->sc_asich = asich; in ne_mainbus_attach()
175 nsc->sc_quirk |= NE2000_QUIRK_8BIT; in ne_mainbus_attach()
181 ne2000_attach(nsc, NULL); in ne_mainbus_attach()
/netbsd-src/sys/arch/amiga/dev/
H A Dif_ne_xsh.c99 struct ne2000_softc *nsc = &zsc->sc_ne2000; in ne_xsh_attach() local
100 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne_xsh_attach()
135 nsc->sc_asict = xsht; in ne_xsh_attach()
136 nsc->sc_asich = asich; in ne_xsh_attach()
141 nsc->sc_type = NE2000_TYPE_AX88796; in ne_xsh_attach()
154 ne2000_attach(nsc, NULL); in ne_xsh_attach()
H A Dif_ne_zbus.c107 struct ne2000_softc *nsc = &zsc->sc_ne2000; in ne_zbus_attach() local
108 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne_zbus_attach()
142 nsc->sc_asict = asict; in ne_zbus_attach()
143 nsc->sc_asich = asich; in ne_zbus_attach()
152 ne2000_attach(nsc, NULL); in ne_zbus_attach()
H A Dif_ne_xsurf.c120 struct ne2000_softc *nsc = &zsc->sc_ne2000; in ne_xsurf_attach() local
121 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne_xsurf_attach()
158 nsc->sc_asict = asict; in ne_xsurf_attach()
159 nsc->sc_asich = asich; in ne_xsurf_attach()
168 ne2000_attach(nsc, NULL); in ne_xsurf_attach()
/netbsd-src/sys/dev/mca/
H A Dif_ne_mca.c132 struct ne2000_softc *nsc = &psc->sc_ne2000; in ne_mca_attach() local
133 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne_mca_attach()
185 nsc->sc_asict = asict; in ne_mca_attach()
186 nsc->sc_asich = asich; in ne_mca_attach()
200 nsc->sc_type = NE2000_TYPE_AX88190; in ne_mca_attach()
206 if (ne2000_attach(nsc, NULL)) in ne_mca_attach()
/netbsd-src/sys/dev/isapnp/
H A Dif_ne_isapnp.c94 struct ne2000_softc * const nsc = &isc->sc_ne2000; in ne_isapnp_attach() local
95 struct dp8390_softc * const dsc = &nsc->sc_dp8390; in ne_isapnp_attach()
127 nsc->sc_asict = asict; in ne_isapnp_attach()
128 nsc->sc_asich = asich; in ne_isapnp_attach()
162 ne2000_attach(nsc, NULL); in ne_isapnp_attach()
/netbsd-src/sys/arch/x68k/dev/
H A Dif_ne_neptune.c117 struct ne_neptune_softc *nsc = device_private(self); in ne_neptune_attach() local
118 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne_neptune_attach()
145 nsc->sc_asict = asict; in ne_neptune_attach()
146 nsc->sc_asich = asich; in ne_neptune_attach()
180 ne2000_attach(nsc, NULL); in ne_neptune_attach()
/netbsd-src/sys/arch/acorn32/podulebus/
H A Dif_ne_pbus.c234 struct ne2000_softc *nsc = &npsc->sc_ne2000; in ne_pbus_attach() local
235 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne_pbus_attach()
322 nsc->sc_asict = dsc->sc_regt; in ne_pbus_attach()
331 if (bus_space_map(nsc->sc_asict, ne->asicbase, ne->asicsize, in ne_pbus_attach()
332 0, &nsc->sc_asich)) { in ne_pbus_attach()
377 ne2000_attach(nsc, myea); in ne_pbus_attach()
379 switch (nsc->sc_type) { in ne_pbus_attach()
489 struct ne2000_softc *nsc = &sc->sc_ne2000; in eh600_preattach() local
490 struct dp8390_softc *dsc = &nsc->sc_dp8390; in eh600_preattach()
514 struct ne2000_softc *nsc = &sc->sc_ne2000; in eh600_postattach() local
[all …]
/netbsd-src/sys/arch/atari/dev/
H A Dif_ne_mb.c183 struct ne2000_softc *nsc = &sc->sc_ne2000; in ne_mb_attach() local
184 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne_mb_attach()
219 nsc->sc_asict = asict; in ne_mb_attach()
220 nsc->sc_asich = asich; in ne_mb_attach()
223 nsc->sc_quirk = NE2000_QUIRK_8BIT; in ne_mb_attach()
255 ne2000_attach(nsc, NULL); in ne_mb_attach()
276 struct ne2000_softc *nsc; in ne_mb_poll() local
281 nsc = &sc->sc_ne2000; in ne_mb_poll()
282 dsc = &nsc->sc_dp8390; in ne_mb_poll()
/netbsd-src/sys/dev/isa/
H A Dif_ne_isa.c134 struct ne2000_softc *nsc = &isc->sc_ne2000; in ne_isa_attach() local
135 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne_isa_attach()
163 nsc->sc_asict = asict; in ne_isa_attach()
164 nsc->sc_asich = asich; in ne_isa_attach()
198 ne2000_attach(nsc, NULL); in ne_isa_attach()
/netbsd-src/sys/dev/pci/
H A Dif_ne_pci.c171 struct ne2000_softc *nsc = &psc->sc_ne2000; in ne_pci_attach() local
172 struct dp8390_softc *dsc = &nsc->sc_dp8390; in ne_pci_attach()
211 nsc->sc_asict = asict; in ne_pci_attach()
212 nsc->sc_asich = asich; in ne_pci_attach()
232 ne2000_attach(nsc, NULL); in ne_pci_attach()
/netbsd-src/external/mit/xorg/server/drivers/xf86-video-nsc/
H A DMakefile3 DRIVER= xf86-video-nsc
12 MAN= nsc.4
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/cr16/
H A DChangeLog-202120 2008-05-02 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
34 2008-04-08 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
38 2008-02-12 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
/netbsd-src/external/gpl3/gdb/dist/opcodes/
H A DChangeLog-20041 2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
10 2004-12-05 Tomer Levi <Tomer.Levi@nsc.com>
14 2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
67 2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
143 2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
148 2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
170 2004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
204 2004-10-07 Tomer Levi <Tomer.Levi@nsc.com>
256 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
318 2004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
[all …]

12345