Searched refs:sc_stat (Results 1 - 25 of 44) sorted by relevance

12

/netbsd-current/sys/arch/luna68k/stand/boot/
H A Dscsivar.h85 uint8_t sc_stat; member in struct:scsi_softc
/netbsd-current/sys/arch/hp300/stand/common/
H A Dscsivar.h43 char sc_stat; member in struct:scsi_softc
H A Dscsi.c283 hs->sc_stat = -1;
318 if (ixfer_start(hd, sizeof(hs->sc_stat), phase, wait) ||
320 ixfer_in(hd, sizeof(hs->sc_stat),
321 (uint8_t *)&hs->sc_stat);
369 return hs->sc_stat;
/netbsd-current/sys/dev/gpib/
H A Dmtreg.h145 #define sc_stat1 sc_stat.m_stat[0]
146 #define sc_stat2 sc_stat.m_stat[1]
147 #define sc_stat3 sc_stat.m_stat[2]
148 #define sc_stat4 sc_stat.m_stat[3]
149 #define sc_stat5 sc_stat.m_stat[4]
150 #define sc_stat6 sc_stat.m_stat[5]
H A Dct.c130 struct cs80_stat sc_stat; member in struct:ct_softc
624 blks = sc->sc_stat.c_blk - sc->sc_blkno - 1;
627 bp->b_bcount, sc->sc_blkno, sc->sc_stat.c_blk,
629 if (blks == -1) { /* 9145 on EOF does not change sc_stat.c_blk */
633 sc->sc_blkno = sc->sc_stat.c_blk;
640 if ((sc->sc_stat.c_aef & AEF_EOV) ||
731 (void) gpibrecv(sc->sc_ic, slave, CS80CMD_EXEC, &sc->sc_stat,
732 sizeof(sc->sc_stat));
736 stat, sc->sc_stat.c_aef,
737 sc->sc_stat
[all...]
/netbsd-current/sys/arch/hp300/dev/
H A Dmtreg.h144 #define sc_stat1 sc_stat.m_stat[0]
145 #define sc_stat2 sc_stat.m_stat[1]
146 #define sc_stat3 sc_stat.m_stat[2]
147 #define sc_stat4 sc_stat.m_stat[3]
148 #define sc_stat5 sc_stat.m_stat[4]
149 #define sc_stat6 sc_stat.m_stat[5]
H A Dct.c106 struct ct_stat sc_stat; member in struct:ct_softc
676 blks = sc->sc_stat.c_blk - sc->sc_blkno - 1;
680 bp->b_bcount, sc->sc_blkno, sc->sc_stat.c_blk,
683 if (blks == -1) { /* 9145 on EOF does not change sc_stat.c_blk */
688 sc->sc_blkno = sc->sc_stat.c_blk;
695 if ((sc->sc_stat.c_aef & AEF_EOV) ||
767 hpibrecv(ctlr, slave, C_EXEC, &sc->sc_stat,
768 sizeof(sc->sc_stat));
773 stat, sc->sc_stat.c_aef,
774 sc->sc_stat
[all...]
H A Drdvar.h74 struct rd_stat sc_stat; member in struct:rd_softc
/netbsd-current/sys/arch/arm/xscale/
H A Dpxa2x0_i2c.h43 } sc_stat; member in struct:pxa2x0_i2c_softc
/netbsd-current/sys/dev/ic/
H A Dmb86950var.h66 u_int32_t sc_stat; /* driver status */ member in struct:mb86950_softc
H A Dmb86960var.h162 uint32_t sc_stat; /* driver status */ member in struct:mb86960_softc
H A Dmb86950.c202 sc->sc_stat |= ESTAR_STAT_ENABLED;
329 sc->sc_stat |= ESTAR_STAT_ATTACHED;
355 if ((sc->sc_stat & ESTAR_STAT_ENABLED) == 0) {
911 if ((sc->sc_stat & ESTAR_STAT_ENABLED) == 0 && sc->sc_enable != NULL) {
918 sc->sc_stat |= ESTAR_STAT_ENABLED;
929 if ((sc->sc_stat & ESTAR_STAT_ENABLED) != 0 && sc->sc_disable != NULL) {
931 sc->sc_stat &= ~ESTAR_STAT_ENABLED;
965 if ((sc->sc_stat & ESTAR_STAT_ATTACHED) == 0)
H A Dninjascsi32.c687 sc->sc_stat = NJSC32_STAT_DETACH;
881 if ((cmd = sc->sc_curcmd) == NULL || sc->sc_stat != NJSC32_STAT_ARBIT)
887 sc->sc_stat = NJSC32_STAT_IDLE;
1046 sc->sc_stat = NJSC32_STAT_ARBIT;
1179 if (sc->sc_stat == NJSC32_STAT_IDLE)
1322 switch (sc->sc_stat) {
1324 sc->sc_stat = NJSC32_STAT_RESET1;
1328 sc->sc_stat = NJSC32_STAT_RESET2;
1342 if (sc->sc_stat == NJSC32_STAT_RESET2)
1348 sc->sc_stat
[all...]
H A Dfmv.c147 sc->sc_stat |= FE_STAT_ENABLED;
/netbsd-current/sys/arch/next68k/dev/
H A Dnextdmavar.h62 struct nextdma_status sc_stat; member in struct:nextdma_softc
H A Dnextdma.c279 nsc->sc_stat.nd_map = NULL;
280 nsc->sc_stat.nd_idx = 0;
281 nsc->sc_stat.nd_map_cont = NULL;
282 nsc->sc_stat.nd_idx_cont = 0;
283 nsc->sc_stat.nd_exception = 0;
320 struct nextdma_status *stat = &nsc->sc_stat;
362 struct nextdma_status *stat = &nsc->sc_stat;
410 struct nextdma_status *stat = &nsc->sc_stat;
469 struct nextdma_status *stat = &nsc->sc_stat;
559 struct nextdma_status *stat = &nsc->sc_stat;
[all...]
/netbsd-current/sys/arch/arm/sunxi/
H A Dsunxi_rsb.c92 uint32_t sc_stat; member in struct:sunxi_rsb_softc
203 sc->sc_stat |= stat;
233 sc->sc_stat = 0;
236 sc->sc_stat |= RSB_READ(sc, RSB_STAT_REG);
244 if (sc->sc_stat & RSB_STAT_MASK) {
256 sc->sc_stat & RSB_STAT_MASK);
268 if (sc->sc_stat & RSB_STAT_LOAD_BSY) {
272 if (sc->sc_stat & RSB_STAT_TRANS_ERR) {
274 "\n", __SHIFTOUT(sc->sc_stat, RSB_STAT_TRANS_ERR_ID));
/netbsd-current/sys/arch/amiga/dev/
H A Dsci.c221 dev->sc_stat[0] = -1;
229 stat = dev->sc_stat[0];
518 dev->sc_stat[0] = 0xff;
569 sci_ixfer_in (dev, 1, dev->sc_stat, phase);
592 QPRINTF(("=STS:%02x=", dev->sc_stat[0]));
593 return (dev->sc_stat[0]);
621 dev->sc_stat[0] = 0xff;
677 sci_ixfer_in (dev, 1, dev->sc_stat, phase);
694 QPRINTF(("=STS:%02x=", dev->sc_stat[0]));
H A Dscivar.h75 u_char sc_stat[2]; member in struct:sci_softc
/netbsd-current/sys/arch/hpcmips/dev/
H A Ducbio.c70 struct betty_port_status sc_stat, sc_ostat; member in struct:ucbio_softc
176 struct betty_port_status *stat = &sc->sc_stat;
191 struct betty_port_status *stat = &sc->sc_stat;
/netbsd-current/sys/arch/dreamcast/dev/maple/
H A Dmmemcard.c121 } sc_stat; member in struct:mmem_softc
266 sc->sc_stat = MMEM_INIT;
329 sc->sc_stat = MMEM_DETACH; /* just in case */
420 switch (sc->sc_stat) {
471 sc->sc_stat = MMEM_INIT2;
473 sc->sc_stat = MMEM_IDLE; /* init done */
485 sc->sc_stat = MMEM_IDLE; /* init done */
646 || sc->sc_stat == MMEM_INIT
647 || sc->sc_stat == MMEM_INIT2
701 || sc->sc_stat
[all...]
H A Dmlcd.c107 } sc_stat; member in struct:mlcd_softc
252 sc->sc_stat = MLCD_INIT;
303 sc->sc_stat = MLCD_DETACH; /* just in case */
347 switch (sc->sc_stat) {
379 sc->sc_stat = MLCD_INIT2;
396 sc->sc_stat = MLCD_IDLE; /* init done */
406 sc->sc_stat = MLCD_IDLE; /* init done */
480 || sc->sc_stat == MLCD_INIT
481 || sc->sc_stat == MLCD_INIT2
520 sc->sc_stat
[all...]
/netbsd-current/sys/arch/alpha/common/
H A Dcomlogout.c101 printf(fmt1, "EV5 SCache TAG/Data parity", mcucev5p->sc_stat);
/netbsd-current/sys/arch/hpcarm/dev/
H A Dnbpiic.c105 sc->sc_pxa_i2c.sc_stat = PI2C_STAT_INIT;
149 if (pi2c->sc_stat == PI2C_STAT_STOP) {
154 pi2c->sc_stat = PI2C_STAT_INIT;
/netbsd-current/sys/dev/mca/
H A Dedc_mca.c104 volatile int sc_stat; member in struct:edc_mca_softc
445 sc->sc_stat = STAT_DONE;
469 sc->sc_stat = STAT_ERROR;
560 if (sc->sc_stat != STAT_DONE)
583 sc->sc_stat = STAT_START;
636 return ((sc->sc_stat != STAT_DONE) ? EIO : 0);

Completed in 439 milliseconds

12