Lines Matching refs:irb
211 static int dasd_eckd_track_from_irb(struct irb *irb, struct dasd_device *device, in dasd_eckd_track_from_irb() argument
219 sense = dasd_get_sense(irb); in dasd_eckd_track_from_irb()
2291 sense = dasd_get_sense(&init_cqr->irb); in dasd_eckd_analysis_evaluation()
2985 struct irb *irb) in dasd_eckd_format_process_data() argument
3066 if (fmt_buffer && irb) { in dasd_eckd_format_process_data()
3067 sense = dasd_get_sense(&cqr->irb); in dasd_eckd_format_process_data()
3068 memcpy(irb, &cqr->irb, sizeof(*irb)); in dasd_eckd_format_process_data()
3171 struct irb *irb) in dasd_eckd_ese_format() argument
3200 rc = dasd_eckd_track_from_irb(irb, base, &curr_trk); in dasd_eckd_ese_format()
3253 static int dasd_eckd_ese_read(struct dasd_ccw_req *cqr, struct irb *irb) in dasd_eckd_ese_read() argument
3286 rc = dasd_eckd_track_from_irb(irb, base, &curr_trk); in dasd_eckd_ese_read()
3478 struct irb irb; in dasd_eckd_check_device_format() local
3512 tpm, fmt_buffer, rpt_max, &irb); in dasd_eckd_check_device_format()
3521 if (tpm && scsw_cstat(&irb.scsw) == 0x40) { in dasd_eckd_check_device_format()
3526 &irb); in dasd_eckd_check_device_format()
3584 struct irb *irb) in dasd_eckd_check_for_device_change() argument
3592 if ((scsw_dstat(&irb->scsw) & mask) == mask) { in dasd_eckd_check_for_device_change()
3608 sense = dasd_get_sense(irb); in dasd_eckd_check_for_device_change()
3614 (scsw_dstat(&irb->scsw) & DEV_STAT_UNIT_CHECK)) { in dasd_eckd_check_for_device_change()
3620 sense = dasd_get_sense(irb); in dasd_eckd_check_for_device_change()
3651 (scsw_dstat(&irb->scsw) & DEV_STAT_UNIT_CHECK) && in dasd_eckd_check_for_device_change()
5548 dasd_eckd_dump_sense_dbf(struct dasd_device *device, struct irb *irb, in dasd_eckd_dump_sense_dbf() argument
5554 sense = (u64 *) dasd_get_sense(irb); in dasd_eckd_dump_sense_dbf()
5555 stat = (u64 *) &irb->scsw; in dasd_eckd_dump_sense_dbf()
5573 struct dasd_ccw_req *req, struct irb *irb) in dasd_eckd_dump_sense_ccw() argument
5592 req, scsw_cc(&irb->scsw), scsw_fctl(&irb->scsw), in dasd_eckd_dump_sense_ccw()
5593 scsw_actl(&irb->scsw), scsw_stctl(&irb->scsw), in dasd_eckd_dump_sense_ccw()
5594 scsw_dstat(&irb->scsw), scsw_cstat(&irb->scsw), in dasd_eckd_dump_sense_ccw()
5597 dma32_to_virt(irb->scsw.cmd.cpa)); in dasd_eckd_dump_sense_ccw()
5598 if (irb->esw.esw0.erw.cons) { in dasd_eckd_dump_sense_ccw()
5605 irb->ecw[8 * sl + sct]); in dasd_eckd_dump_sense_ccw()
5610 if (irb->ecw[27] & DASD_SENSE_BIT_0) { in dasd_eckd_dump_sense_ccw()
5614 irb->ecw[7] >> 4, irb->ecw[7] & 0x0f, in dasd_eckd_dump_sense_ccw()
5615 irb->ecw[1] & 0x10 ? "" : "no"); in dasd_eckd_dump_sense_ccw()
5620 irb->ecw[6] & 0x0f, irb->ecw[22] >> 4); in dasd_eckd_dump_sense_ccw()
5640 fail = dma32_to_virt(irb->scsw.cmd.cpa); /* failing CCW */ in dasd_eckd_dump_sense_ccw()
5665 struct dasd_ccw_req *req, struct irb *irb) in dasd_eckd_dump_sense_tcw() argument
5683 req, scsw_cc(&irb->scsw), scsw_fctl(&irb->scsw), in dasd_eckd_dump_sense_tcw()
5684 scsw_actl(&irb->scsw), scsw_stctl(&irb->scsw), in dasd_eckd_dump_sense_tcw()
5685 scsw_dstat(&irb->scsw), scsw_cstat(&irb->scsw), in dasd_eckd_dump_sense_tcw()
5686 irb->scsw.tm.fcxs, in dasd_eckd_dump_sense_tcw()
5687 (irb->scsw.tm.ifob << 7) | irb->scsw.tm.sesq, in dasd_eckd_dump_sense_tcw()
5690 dma32_to_virt(irb->scsw.tm.tcw)); in dasd_eckd_dump_sense_tcw()
5694 if (irb->scsw.tm.tcw && (irb->scsw.tm.fcxs & 0x01)) in dasd_eckd_dump_sense_tcw()
5695 tsb = tcw_get_tsb(dma32_to_virt(irb->scsw.tm.tcw)); in dasd_eckd_dump_sense_tcw()
5776 struct dasd_ccw_req *req, struct irb *irb) in dasd_eckd_dump_sense() argument
5778 u8 *sense = dasd_get_sense(irb); in dasd_eckd_dump_sense()
5798 if (scsw_cstat(&irb->scsw) == 0x40 && in dasd_eckd_dump_sense()
5802 if (scsw_is_tm(&irb->scsw)) in dasd_eckd_dump_sense()
5803 dasd_eckd_dump_sense_tcw(device, req, irb); in dasd_eckd_dump_sense()
5805 dasd_eckd_dump_sense_ccw(device, req, irb); in dasd_eckd_dump_sense()
6794 struct irb *irb) in dasd_eckd_handle_hpf_error() argument
6804 if (irb->scsw.tm.sesq == SCSW_SESQ_DEV_NOFCX) { in dasd_eckd_handle_hpf_error()
6806 } else if (irb->scsw.tm.sesq == SCSW_SESQ_PATH_NOFCX) { in dasd_eckd_handle_hpf_error()
6807 if (dasd_eckd_disable_hpf_path(device, irb->esw.esw1.lpum)) in dasd_eckd_handle_hpf_error()