Lines Matching refs:irb
1276 lcs_check_irb_error(struct ccw_device *cdev, struct irb *irb) in lcs_check_irb_error() argument
1278 if (!IS_ERR(irb)) in lcs_check_irb_error()
1281 switch (PTR_ERR(irb)) { in lcs_check_irb_error()
1297 PTR_ERR(irb)); in lcs_check_irb_error()
1301 return PTR_ERR(irb); in lcs_check_irb_error()
1305 lcs_get_problem(struct ccw_device *cdev, struct irb *irb) in lcs_get_problem() argument
1310 sense = (char *) irb->ecw; in lcs_get_problem()
1311 cstat = irb->scsw.cmd.cstat; in lcs_get_problem()
1312 dstat = irb->scsw.cmd.dstat; in lcs_get_problem()
1356 lcs_irq(struct ccw_device *cdev, unsigned long intparm, struct irb *irb) in lcs_irq() argument
1363 if (lcs_check_irb_error(cdev, irb)) in lcs_irq()
1372 cstat = irb->scsw.cmd.cstat; in lcs_irq()
1373 dstat = irb->scsw.cmd.dstat; in lcs_irq()
1375 LCS_DBF_TEXT_(5, trace, "%4x%4x", irb->scsw.cmd.cstat, in lcs_irq()
1376 irb->scsw.cmd.dstat); in lcs_irq()
1377 LCS_DBF_TEXT_(5, trace, "%4x%4x", irb->scsw.cmd.fctl, in lcs_irq()
1378 irb->scsw.cmd.actl); in lcs_irq()
1381 rc = lcs_get_problem(cdev, irb); in lcs_irq()
1398 (irb->scsw.cmd.fctl & SCSW_FCTL_START_FUNC) && in lcs_irq()
1399 (irb->scsw.cmd.cpa != 0)) { in lcs_irq()
1400 index = (struct ccw1 *)dma32_to_virt(irb->scsw.cmd.cpa) in lcs_irq()
1402 if ((irb->scsw.cmd.actl & SCSW_ACTL_SUSPENDED) || in lcs_irq()
1403 (irb->scsw.cmd.cstat & SCHN_STAT_PCI)) in lcs_irq()
1414 if ((irb->scsw.cmd.dstat & DEV_STAT_DEV_END) || in lcs_irq()
1415 (irb->scsw.cmd.dstat & DEV_STAT_CHN_END) || in lcs_irq()
1416 (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK)) in lcs_irq()
1419 else if (irb->scsw.cmd.actl & SCSW_ACTL_SUSPENDED) in lcs_irq()
1422 if (irb->scsw.cmd.fctl & SCSW_FCTL_HALT_FUNC) { in lcs_irq()
1423 if (irb->scsw.cmd.cc != 0) { in lcs_irq()
1430 if (irb->scsw.cmd.fctl & SCSW_FCTL_CLEAR_FUNC) in lcs_irq()