Home
last modified time | relevance | path

Searched refs:NCR_READ_REG (Results 1 – 6 of 6) sorted by relevance

/openbsd/sys/dev/ic/
H A Dlsi64854.c411 NCR_READ_REG(nsc, NCR_TCL) | in lsi64854_scsi_intr()
412 (NCR_READ_REG(nsc, NCR_TCM) << 8), in lsi64854_scsi_intr()
413 NCR_READ_REG(nsc, NCR_TCL), in lsi64854_scsi_intr()
414 NCR_READ_REG(nsc, NCR_TCM))); in lsi64854_scsi_intr()
429 (NCR_READ_REG(nsc, NCR_CFG3) & NCRFASCFG3_EWIDE)) in lsi64854_scsi_intr()
438 resid += (NCR_READ_REG(nsc, NCR_TCL) | in lsi64854_scsi_intr()
439 (NCR_READ_REG(nsc, NCR_TCM) << 8) | in lsi64854_scsi_intr()
441 ? (NCR_READ_REG(nsc, NCR_TCH) << 16) in lsi64854_scsi_intr()
465 NCR_READ_REG(nsc, NCR_TCL), in lsi64854_scsi_intr()
466 NCR_READ_REG(nsc, NCR_TCM), in lsi64854_scsi_intr()
[all …]
H A Dncr53c9x.c485 sc->sc_espstat = NCR_READ_REG(sc, NCR_STAT); in ncr53c9x_readregs()
492 sc->sc_espintr = NCR_READ_REG(sc, NCR_INTR); in ncr53c9x_readregs()
1254 n = NCR_READ_REG(sc, NCR_FFLAG) & NCRFIFO_FF; in ncr53c9x_rdfifo()
1260 buf[i] = NCR_READ_REG(sc, NCR_FIFO); in ncr53c9x_rdfifo()
1265 buf[i++] = NCR_READ_REG(sc, NCR_FIFO); in ncr53c9x_rdfifo()
1267 NCR_READ_REG(sc, NCR_FIFO); in ncr53c9x_rdfifo()
1273 buf[i] = NCR_READ_REG(sc, NCR_FIFO); in ncr53c9x_rdfifo()
2227 int i = (NCR_READ_REG(sc, NCR_FFLAG) in ncr53c9x_intr()
2399 } else if ((NCR_READ_REG(sc, NCR_FFLAG) in ncr53c9x_intr()
2410 NCR_READ_REG(sc, NCR_FFLAG) in ncr53c9x_intr()
[all …]
H A Dncr53c9xvar.h386 #define NCR_READ_REG(sc, reg) \ macro
/openbsd/sys/dev/tc/
H A Dasc_tc.c201 (resid = (NCR_READ_REG(sc, NCR_FFLAG) & NCRFIFO_FF)) != 0) {
206 resid += NCR_READ_REG(sc, NCR_TCL);
207 resid += NCR_READ_REG(sc, NCR_TCM) << 8;
305 return !!(NCR_READ_REG(sc, NCR_STAT) & NCRSTAT_INT);
H A Dasc_tcds.c350 tcl = NCR_READ_REG(sc, NCR_TCL);
351 tcm = NCR_READ_REG(sc, NCR_TCM);
359 (resid = (NCR_READ_REG(sc, NCR_FFLAG) & NCRFIFO_FF)) != 0) {
364 resid += (tcl = NCR_READ_REG(sc, NCR_TCL));
365 resid += (tcm = NCR_READ_REG(sc, NCR_TCM)) << 8;
/openbsd/sys/dev/sbus/
H A Desp_sbus.c417 if ((NCR_READ_REG(sc, NCR_CFG2) & ~NCRCFG2_RSVD) != in espattach()
427 if (NCR_READ_REG(sc, NCR_CFG3) != in espattach()
438 uid = NCR_READ_REG(sc, NCR_UID); in espattach()