• Home
  • Raw
  • Download

Lines Matching refs:irb

384 	memset(&cdev->private->irb, 0, sizeof(struct irb));  in ccw_device_done()
498 static void create_fake_irb(struct irb *irb, int type) in create_fake_irb() argument
500 memset(irb, 0, sizeof(*irb)); in create_fake_irb()
502 struct cmd_scsw *scsw = &irb->scsw.cmd; in create_fake_irb()
508 struct tm_scsw *scsw = &irb->scsw.tm; in create_fake_irb()
540 create_fake_irb(&cdev->private->irb, in ccw_device_verify_done()
545 &cdev->private->irb); in ccw_device_verify_done()
546 memset(&cdev->private->irb, 0, sizeof(struct irb)); in ccw_device_verify_done()
702 (scsw_stctl(&cdev->private->irb.scsw) & SCSW_STCTL_STATUS_PEND)) { in ccw_device_online_verify()
739 struct irb *irb; in ccw_device_irq() local
742 irb = (struct irb *)&S390_lowcore.irb; in ccw_device_irq()
743 is_cmd = !scsw_is_tm(&irb->scsw); in ccw_device_irq()
745 if (!scsw_is_solicited(&irb->scsw)) { in ccw_device_irq()
746 if (is_cmd && (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) && in ccw_device_irq()
747 !irb->esw.esw0.erw.cons) { in ccw_device_irq()
749 if (ccw_device_do_sense(cdev, irb) != 0) in ccw_device_irq()
751 memcpy(&cdev->private->irb, irb, sizeof(struct irb)); in ccw_device_irq()
758 cdev->handler (cdev, 0, irb); in ccw_device_irq()
764 ccw_device_accumulate_irb(cdev, irb); in ccw_device_irq()
766 if (ccw_device_do_sense(cdev, irb) == 0) { in ccw_device_irq()
806 struct irb *irb; in ccw_device_w4sense() local
808 irb = (struct irb *)&S390_lowcore.irb; in ccw_device_w4sense()
810 if (scsw_stctl(&irb->scsw) == in ccw_device_w4sense()
812 if (scsw_cc(&irb->scsw) == 1) in ccw_device_w4sense()
814 ccw_device_do_sense(cdev, irb); in ccw_device_w4sense()
821 cdev->handler (cdev, 0, irb); in ccw_device_w4sense()
830 if (scsw_fctl(&irb->scsw) & in ccw_device_w4sense()
833 memset(&cdev->private->irb, 0, sizeof(struct irb)); in ccw_device_w4sense()
834 ccw_device_accumulate_irb(cdev, irb); in ccw_device_w4sense()
838 ccw_device_accumulate_basic_sense(cdev, irb); in ccw_device_w4sense()
841 ccw_device_do_sense(cdev, irb); in ccw_device_w4sense()