Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c892 int dstat) in qdio_handle_activate_check() argument
898 DBF_ERROR("ds: %2x cs:%2x", dstat, cstat); in qdio_handle_activate_check()
921 int dstat) in qdio_establish_handle_irq() argument
927 if (dstat & ~(DEV_STAT_DEV_END | DEV_STAT_CHN_END)) in qdio_establish_handle_irq()
929 if (!(dstat & DEV_STAT_DEV_END)) in qdio_establish_handle_irq()
936 DBF_ERROR("ds: %2x cs:%2x", dstat, cstat); in qdio_establish_handle_irq()
946 int cstat, dstat; in qdio_int_handler() local
965 dstat = irb->scsw.cmd.dstat; in qdio_int_handler()
969 qdio_establish_handle_irq(irq_ptr, cstat, dstat); in qdio_int_handler()
980 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()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dscsw.h57 __u32 dstat : 8; member
97 u32 dstat:8; member
129 u32 dstat:8; member
360 return scsw->tm.dstat; in scsw_dstat()
362 return scsw->cmd.dstat; in scsw_dstat()
/kernel/linux/linux-5.10/scripts/
Dcheckpatch.pl5362 my ($off, $dstat, $dcond, $rest);
5366 ($dstat, $dcond, $ln, $cnt, $off) =
5368 $ctx = $dstat;
5375 $dstat =~ s/^.\s*\#\s*define\s+$Ident(\([^\)]*\))?\s*//;
5377 my $define_stmt = $dstat;
5387 $dstat =~ s/$;//g;
5388 $dstat =~ s/\\\n.//g;
5389 $dstat =~ s/^\s*//s;
5390 $dstat =~ s/\s*$//s;
5393 while ($dstat =~ s/\([^\(\)]*\)/1u/ ||
[all …]
/kernel/linux/linux-5.10/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()
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()
Dcon3215.c369 int cstat, dstat; in raw3215_irq() local
376 dstat = irb->scsw.cmd.dstat; in raw3215_irq()
379 if (dstat & 0x01) { /* we got a unit exception */ in raw3215_irq()
380 dstat &= ~0x01; /* we can ignore it */ in raw3215_irq()
382 switch (dstat) { in raw3215_irq()
399 if (dstat == 0x08) in raw3215_irq()
Dcon3270.c414 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) in con3270_irq()
418 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) in con3270_irq()
423 } else if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) { in con3270_irq()
Draw3270.c334 if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) in raw3270_irq()
336 if (irb->scsw.cmd.dstat == (DEV_STAT_CHN_END | in raw3270_irq()
341 if ((irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) && in raw3270_irq()
671 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) { in raw3270_init_irq()
678 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) { in raw3270_init_irq()
Dtape_core.c924 irb->scsw.cmd.dstat, irb->scsw.cmd.cstat); in tape_dump_sense_dbf()
1152 else if ((irb->scsw.cmd.dstat == 0x85 || irb->scsw.cmd.dstat == 0x80) && in __tape_do_irq()
1167 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.c312 intparm, irb->scsw.cmd.cstat, irb->scsw.cmd.dstat, in ur_int_handler()
324 else if (irb->scsw.cmd.dstat == (DEV_STAT_CHN_END | DEV_STAT_DEV_END)) in ur_int_handler()
/kernel/linux/linux-5.10/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()
674 if ((dstat & (RUN|DEAD)) != RUN) in pata_macio_bmdma_status()
681 if ((dstat & ACTIVE) == 0) in pata_macio_bmdma_status()
696 dstat = readl(&dma_regs->status); in pata_macio_bmdma_status()
697 if ((dstat & FLUSH) == 0) in pata_macio_bmdma_status()
/kernel/linux/linux-5.10/drivers/s390/net/
Dctcm_main.c1202 int dstat; in ctcm_irq_handler() local
1213 dstat = irb->scsw.cmd.dstat; in ctcm_irq_handler()
1219 CTCM_FUNTAIL, dev_name(&cdev->dev), cstat, dstat); in ctcm_irq_handler()
1258 CTCM_FUNTAIL, dev->name, ch->id, cstat, dstat); in ctcm_irq_handler()
1265 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) { in ctcm_irq_handler()
1270 CTCM_FUNTAIL, ch->id, irb->ecw[0], dstat); in ctcm_irq_handler()
1274 if (irb->scsw.cmd.dstat & DEV_STAT_BUSY) { in ctcm_irq_handler()
1275 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) in ctcm_irq_handler()
1281 if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) { in ctcm_irq_handler()
Dlcs.c1313 int dstat, cstat; in lcs_get_problem() local
1318 dstat = irb->scsw.cmd.dstat; in lcs_get_problem()
1326 if (dstat & DEV_STAT_UNIT_CHECK) { in lcs_get_problem()
1367 int cstat, dstat; in lcs_irq() local
1379 dstat = irb->scsw.cmd.dstat; in lcs_irq()
1382 irb->scsw.cmd.dstat); in lcs_irq()
1388 if (rc || (dstat & DEV_STAT_UNIT_EXCEP)) { in lcs_irq()
1392 dstat, cstat); in lcs_irq()
1420 if ((irb->scsw.cmd.dstat & DEV_STAT_DEV_END) || in lcs_irq()
1421 (irb->scsw.cmd.dstat & DEV_STAT_CHN_END) || in lcs_irq()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/apple/
Dmace.c665 int xcount, dstat; in mace_interrupt() local
692 dstat = le32_to_cpu(td->status); in mace_interrupt()
700 if (xcount == 0 || (dstat & DEAD)) { in mace_interrupt()
717 fs, xcount, dstat); in mace_interrupt()
726 if ((fs & (UFLO|LCOL|LCAR|RTRY)) || (dstat & DEAD) || xcount == 0) { in mace_interrupt()
754 fs, xcount, dstat); in mace_interrupt()
/kernel/linux/linux-5.10/drivers/dma/
Didma64.h103 u32 dstat; member
/kernel/linux/linux-5.10/drivers/scsi/
D53c700.c1506 __u8 sstat0 = 0, dstat = 0; in NCR_700_intr() local
1522 dstat = NCR_700_readb(host, DSTAT_REG); in NCR_700_intr()
1529 host->host_no, istat, sstat0, dstat, in NCR_700_intr()
1669 } else if(dstat & SCRIPT_INT_RECEIVED) { in NCR_700_intr()
1673 } else if(dstat & (ILGL_INST_DETECTED)) { in NCR_700_intr()
1679 } else if(dstat & (WATCH_DOG_INTERRUPT|ABORTED)) { in NCR_700_intr()
1681 host->host_no, pun, lun, dstat); in NCR_700_intr()
Dncr53c8xx.c5814 static void ncr_log_hard_error(struct ncb *np, u16 sist, u_char dstat) in ncr_log_hard_error() argument
5845 ncr_name (np), (unsigned)INB (nc_sdid)&0x0f, dstat, sist, in ncr_log_hard_error()
5896 u_char istat, dstat; in ncr_exception() local
5927 dstat = (istat & DIP) ? INB (nc_dstat) : 0; in ncr_exception()
5932 dstat,sist, in ncr_exception()
5950 !(dstat & (MDPE|BF|ABRT|IID))) { in ncr_exception()
5959 if (dstat & SIR) { in ncr_exception()
5966 if (!(sist & (SBMC|PAR)) && !(dstat & SSI)) { in ncr_exception()
5969 ncr_name(np), istat, dstat, sist); in ncr_exception()
5997 !(dstat & (MDPE|BF|ABRT))) { in ncr_exception()
[all …]
/kernel/linux/linux-5.10/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac.h76 __le32 dstat; member
/kernel/linux/linux-5.10/drivers/dma/dw/
Dregs.h382 __le32 dstat; member
/kernel/linux/linux-5.10/drivers/ide/
Dpmac.c1576 u32 dstat; in pmac_ide_dma_end() local
1578 dstat = readl(&dma->status); in pmac_ide_dma_end()
1585 return (dstat & (RUN|DEAD)) != RUN; in pmac_ide_dma_end()
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_fba.c251 if ((irb->scsw.cmd.dstat & mask) == mask) in dasd_fba_check_for_device_change()
687 irb->scsw.cmd.cstat, irb->scsw.cmd.dstat); in dasd_fba_dump_sense()

12