Lines Matching refs:sch
18 struct subchannel *sch; in fsm_io_helper() local
25 sch = private->sch; in fsm_io_helper()
27 spin_lock_irqsave(sch->lock, flags); in fsm_io_helper()
30 orb = cp_get_orb(&private->cp, (u32)(addr_t)sch, sch->lpm); in fsm_io_helper()
33 ccode = ssch(sch->schid, orb); in fsm_io_helper()
40 sch->schib.scsw.cmd.actl |= SCSW_ACTL_START_PEND; in fsm_io_helper()
51 sch->lpm &= ~lpm; in fsm_io_helper()
53 sch->lpm = 0; in fsm_io_helper()
55 if (cio_update_schib(sch)) in fsm_io_helper()
58 ret = sch->lpm ? -EACCES : -ENODEV; in fsm_io_helper()
64 spin_unlock_irqrestore(sch->lock, flags); in fsm_io_helper()
71 struct subchannel *sch = private->sch; in fsm_notoper() local
77 css_sched_sch_todo(sch, SCH_TODO_UNREG); in fsm_notoper()
105 struct subchannel *sch = private->sch; in fsm_disabled_irq() local
111 cio_disable_subchannel(sch); in fsm_disabled_irq()