Home
last modified time | relevance | path

Searched refs:dstat (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/drivers/s390/cio/
Ddevice_status.c273 cdev_irb->scsw.cmd.dstat &= ~DEV_STAT_BUSY; in ccw_device_accumulate_irb()
278 cdev_irb->scsw.cmd.dstat |= irb->scsw.cmd.dstat; in ccw_device_accumulate_irb()
302 if ((cdev_irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) && in ccw_device_accumulate_irb()
365 if (!(irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) && in ccw_device_accumulate_basic_sense()
366 (irb->scsw.cmd.dstat & DEV_STAT_CHN_END)) { in ccw_device_accumulate_basic_sense()
388 !(irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK)) { in ccw_device_accumulate_and_sense()
Dqdio_main.c703 int dstat) in qdio_handle_activate_check() argument
709 DBF_ERROR("ds: %2x cs:%2x", dstat, cstat); in qdio_handle_activate_check()
726 int dstat) in qdio_establish_handle_irq() argument
732 if (dstat & ~(DEV_STAT_DEV_END | DEV_STAT_CHN_END)) in qdio_establish_handle_irq()
734 if (!(dstat & DEV_STAT_DEV_END)) in qdio_establish_handle_irq()
741 DBF_ERROR("ds: %2x cs:%2x", dstat, cstat); in qdio_establish_handle_irq()
751 int cstat, dstat; in qdio_int_handler() local
770 dstat = irb->scsw.cmd.dstat; in qdio_int_handler()
774 qdio_establish_handle_irq(irq_ptr, cstat, dstat); in qdio_int_handler()
785 if (cstat || dstat) in qdio_int_handler()
[all …]
Dccwreq.c218 if (scsw->dstat & ~(DEV_STAT_CHN_END | DEV_STAT_DEV_END)) in ccwreq_status()
221 if (!(scsw->dstat & DEV_STAT_DEV_END)) in ccwreq_status()
/linux-6.1.9/arch/s390/include/asm/
Dscsw.h57 __u32 dstat : 8; member
97 u32 dstat:8; member
129 u32 dstat:8; member
365 return scsw->tm.dstat; in scsw_dstat()
367 return scsw->cmd.dstat; in scsw_dstat()
/linux-6.1.9/scripts/
Dcheckpatch.pl5831 my ($off, $dstat, $dcond, $rest);
5835 ($dstat, $dcond, $ln, $cnt, $off) =
5837 $ctx = $dstat;
5844 $dstat =~ s/^.\s*\#\s*define\s+$Ident(\([^\)]*\))?\s*//;
5846 my $define_stmt = $dstat;
5856 $dstat =~ s/$;//g;
5857 $dstat =~ s/\\\n.//g;
5858 $dstat =~ s/^\s*//s;
5859 $dstat =~ s/\s*$//s;
5862 while ($dstat =~ s/\([^\(\)]*\)/1u/ ||
[all …]
/linux-6.1.9/drivers/s390/char/
Dtape_34xx.c224 if (irb->scsw.cmd.dstat == 0x85) { /* READY */ in tape_34xx_unsolicited_irq()
838 if ((irb->scsw.cmd.dstat & DEV_STAT_UNIT_EXCEP) && in tape_34xx_irq()
839 (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) && in tape_34xx_irq()
845 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) in tape_34xx_irq()
848 if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) { in tape_34xx_irq()
852 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_EXCEP) { in tape_34xx_irq()
Dcon3215.c352 int cstat, dstat; in raw3215_irq() local
359 dstat = irb->scsw.cmd.dstat; in raw3215_irq()
362 if (dstat & 0x01) { /* we got a unit exception */ in raw3215_irq()
363 dstat &= ~0x01; /* we can ignore it */ in raw3215_irq()
365 switch (dstat) { in raw3215_irq()
382 if (dstat == 0x08) in raw3215_irq()
Dtape_3590.c802 if (irb->scsw.cmd.dstat == DEV_STAT_CHN_END) in tape_3590_unsolicited_irq()
805 else if (irb->scsw.cmd.dstat == 0x85) in tape_3590_unsolicited_irq()
808 else if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) { in tape_3590_unsolicited_irq()
1457 if ((irb->scsw.cmd.dstat & DEV_STAT_UNIT_EXCEP) && in tape_3590_irq()
1458 (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) && in tape_3590_irq()
1465 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) in tape_3590_irq()
1468 if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) { in tape_3590_irq()
1469 if (irb->scsw.cmd.dstat == DEV_STAT_UNIT_EXCEP) { in tape_3590_irq()
1479 if (irb->scsw.cmd.dstat & DEV_STAT_CHN_END) { in tape_3590_irq()
1484 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) { in tape_3590_irq()
Dcon3270.c417 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) in con3270_irq()
421 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) in con3270_irq()
426 } else if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) { in con3270_irq()
Draw3270.c330 if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) in raw3270_irq()
332 if (irb->scsw.cmd.dstat == (DEV_STAT_CHN_END | in raw3270_irq()
337 if ((irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) && in raw3270_irq()
666 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) { in raw3270_init_irq()
673 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) { in raw3270_init_irq()
Dtape_core.c875 irb->scsw.cmd.dstat, irb->scsw.cmd.cstat); in tape_dump_sense_dbf()
1103 else if ((irb->scsw.cmd.dstat == 0x85 || irb->scsw.cmd.dstat == 0x80) && in __tape_do_irq()
1118 if (irb->scsw.cmd.dstat != 0x0c) { in __tape_do_irq()
Dfs3270.c225 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) { in fs3270_irq()
231 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) in fs3270_irq()
Dvmur.c305 intparm, irb->scsw.cmd.cstat, irb->scsw.cmd.dstat, in ur_int_handler()
326 else if (irb->scsw.cmd.dstat == (DEV_STAT_CHN_END | DEV_STAT_DEV_END)) in ur_int_handler()
Dtty3270.c690 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) { in tty3270_irq()
698 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) { in tty3270_irq()
706 } else if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) { in tty3270_irq()
/linux-6.1.9/drivers/ata/
Dpata_macio.c654 u32 dstat, rstat = ATA_DMA_INTR; in pata_macio_bmdma_status() local
657 dstat = readl(&dma_regs->status); in pata_macio_bmdma_status()
659 dev_dbgdma(priv->dev, "%s: dstat=%x\n", __func__, dstat); in pata_macio_bmdma_status()
673 if ((dstat & (RUN|DEAD)) != RUN) in pata_macio_bmdma_status()
680 if ((dstat & ACTIVE) == 0) in pata_macio_bmdma_status()
695 dstat = readl(&dma_regs->status); in pata_macio_bmdma_status()
696 if ((dstat & FLUSH) == 0) in pata_macio_bmdma_status()
/linux-6.1.9/drivers/s390/net/
Dctcm_main.c1155 int dstat; in ctcm_irq_handler() local
1166 dstat = irb->scsw.cmd.dstat; in ctcm_irq_handler()
1172 CTCM_FUNTAIL, dev_name(&cdev->dev), cstat, dstat); in ctcm_irq_handler()
1211 CTCM_FUNTAIL, dev->name, ch->id, cstat, dstat); in ctcm_irq_handler()
1218 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) { in ctcm_irq_handler()
1223 CTCM_FUNTAIL, ch->id, irb->ecw[0], dstat); in ctcm_irq_handler()
1227 if (irb->scsw.cmd.dstat & DEV_STAT_BUSY) { in ctcm_irq_handler()
1228 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) in ctcm_irq_handler()
1234 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) { in ctcm_irq_handler()
Dlcs.c1314 int dstat, cstat; in lcs_get_problem() local
1319 dstat = irb->scsw.cmd.dstat; in lcs_get_problem()
1327 if (dstat & DEV_STAT_UNIT_CHECK) { in lcs_get_problem()
1368 int cstat, dstat; in lcs_irq() local
1380 dstat = irb->scsw.cmd.dstat; in lcs_irq()
1383 irb->scsw.cmd.dstat); in lcs_irq()
1389 if (rc || (dstat & DEV_STAT_UNIT_EXCEP)) { in lcs_irq()
1393 dstat, cstat); in lcs_irq()
1421 if ((irb->scsw.cmd.dstat & DEV_STAT_DEV_END) || in lcs_irq()
1422 (irb->scsw.cmd.dstat & DEV_STAT_CHN_END) || in lcs_irq()
[all …]
/linux-6.1.9/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c993 u32 sym_rd, sym_wr, sym_bk, host_rd, host_wr, pc, dstat; local
1034 dstat = INB(np, nc_dstat);
1036 if ((dstat & MDPE) && (np->rv_ctest4 & MPEE)) {
1044 if (dstat & (MDPE|BF|IID)) {
1045 printf ("CACHE TEST FAILED: DMA error (dstat=0x%02x).", dstat);
1117 static void sym_log_hard_error(struct Scsi_Host *shost, u_short sist, u_char dstat) argument
1150 sym_name(np), (unsigned)INB(np, nc_sdid)&0x0f, dstat, sist,
1171 if (dstat & (MDPE|BF))
1179 u_char dstat; local
1182 dstat = INB(np, nc_dstat);
[all …]
/linux-6.1.9/drivers/net/ethernet/apple/
Dmace.c670 int xcount, dstat; in mace_interrupt() local
697 dstat = le32_to_cpu(td->status); in mace_interrupt()
705 if (xcount == 0 || (dstat & DEAD)) { in mace_interrupt()
722 fs, xcount, dstat); in mace_interrupt()
731 if ((fs & (UFLO|LCOL|LCAR|RTRY)) || (dstat & DEAD) || xcount == 0) { in mace_interrupt()
759 fs, xcount, dstat); in mace_interrupt()
/linux-6.1.9/drivers/dma/
Didma64.h103 u32 dstat; member
/linux-6.1.9/drivers/scsi/
D53c700.c1505 __u8 sstat0 = 0, dstat = 0; in NCR_700_intr() local
1520 dstat = NCR_700_readb(host, DSTAT_REG); in NCR_700_intr()
1527 host->host_no, istat, sstat0, dstat, in NCR_700_intr()
1667 } else if(dstat & SCRIPT_INT_RECEIVED) { in NCR_700_intr()
1671 } else if(dstat & (ILGL_INST_DETECTED)) { in NCR_700_intr()
1677 } else if(dstat & (WATCH_DOG_INTERRUPT|ABORTED)) { in NCR_700_intr()
1679 host->host_no, pun, lun, dstat); in NCR_700_intr()
Dncr53c8xx.c5648 static void ncr_log_hard_error(struct ncb *np, u16 sist, u_char dstat) in ncr_log_hard_error() argument
5679 ncr_name (np), (unsigned)INB (nc_sdid)&0x0f, dstat, sist, in ncr_log_hard_error()
5730 u_char istat, dstat; in ncr_exception() local
5761 dstat = (istat & DIP) ? INB (nc_dstat) : 0; in ncr_exception()
5766 dstat,sist, in ncr_exception()
5784 !(dstat & (MDPE|BF|ABRT|IID))) { in ncr_exception()
5793 if (dstat & SIR) { in ncr_exception()
5800 if (!(sist & (SBMC|PAR)) && !(dstat & SSI)) { in ncr_exception()
5803 ncr_name(np), istat, dstat, sist); in ncr_exception()
5831 !(dstat & (MDPE|BF|ABRT))) { in ncr_exception()
[all …]
/linux-6.1.9/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac.h85 __le32 dstat; member
/linux-6.1.9/drivers/dma/dw/
Dregs.h382 __le32 dstat; member
/linux-6.1.9/drivers/s390/block/
Ddasd_fba.c242 if ((irb->scsw.cmd.dstat & mask) == mask) in dasd_fba_check_for_device_change()
678 irb->scsw.cmd.cstat, irb->scsw.cmd.dstat); in dasd_fba_dump_sense()

12