Lines Matching refs:irb
222 tape_34xx_unsolicited_irq(struct tape_device *device, struct irb *irb) in tape_34xx_unsolicited_irq() argument
224 if (irb->scsw.cmd.dstat == 0x85) { /* READY */ in tape_34xx_unsolicited_irq()
231 tape_dump_sense_dbf(device, NULL, irb); in tape_34xx_unsolicited_irq()
263 struct irb *irb, int no) in tape_34xx_erp_bug() argument
268 tape_dump_sense_dbf(device, request, irb); in tape_34xx_erp_bug()
279 struct irb *irb) in tape_34xx_erp_overrun() argument
281 if (irb->ecw[3] == 0x40) { in tape_34xx_erp_overrun()
286 return tape_34xx_erp_bug(device, request, irb, -1); in tape_34xx_erp_overrun()
294 struct tape_request *request, struct irb *irb) in tape_34xx_erp_sequence() argument
296 if (irb->ecw[3] == 0x41) { in tape_34xx_erp_sequence()
308 return tape_34xx_erp_bug(device, request, irb, -2); in tape_34xx_erp_sequence()
318 struct irb *irb) in tape_34xx_unit_check() argument
324 sense = irb->ecw; in tape_34xx_unit_check()
338 return tape_34xx_erp_bug(device, request, irb, -3); in tape_34xx_unit_check()
422 irb, -4); in tape_34xx_unit_check()
436 irb, -5); in tape_34xx_unit_check()
466 irb, -6); in tape_34xx_unit_check()
471 return tape_34xx_erp_overrun(device, request, irb); in tape_34xx_unit_check()
474 return tape_34xx_erp_sequence(device, request, irb); in tape_34xx_unit_check()
535 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
547 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
585 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
602 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
665 irb, sense[3]); in tape_34xx_unit_check()
722 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
735 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
759 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
824 return tape_34xx_erp_bug(device, request, irb, sense[3]); in tape_34xx_unit_check()
833 struct irb *irb) in tape_34xx_irq() argument
836 return tape_34xx_unsolicited_irq(device, irb); in tape_34xx_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()
846 return tape_34xx_unit_check(device, request, irb); 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()
862 tape_dump_sense_dbf(device, request, irb); in tape_34xx_irq()