Lines Matching defs:sch
20 struct subchannel *sch;
27 sch = private->sch;
29 spin_lock_irqsave(sch->lock, flags);
31 orb = cp_get_orb(&private->cp, (u32)(addr_t)sch, sch->lpm);
38 VFIO_CCW_TRACE_EVENT(5, dev_name(&sch->dev));
41 ccode = ssch(sch->schid, orb);
50 sch->schib.scsw.cmd.actl |= SCSW_ACTL_START_PEND;
62 sch->lpm &= ~lpm;
64 sch->lpm = 0;
66 if (cio_update_schib(sch))
69 ret = sch->lpm ? -EACCES : -ENODEV;
76 spin_unlock_irqrestore(sch->lock, flags);
82 struct subchannel *sch;
87 sch = private->sch;
89 spin_lock_irqsave(sch->lock, flags);
92 VFIO_CCW_TRACE_EVENT(2, dev_name(&sch->dev));
95 ccode = hsch(sch->schid);
104 sch->schib.scsw.cmd.actl |= SCSW_ACTL_HALT_PEND;
117 spin_unlock_irqrestore(sch->lock, flags);
123 struct subchannel *sch;
128 sch = private->sch;
130 spin_lock_irqsave(sch->lock, flags);
133 VFIO_CCW_TRACE_EVENT(2, dev_name(&sch->dev));
136 ccode = csch(sch->schid);
145 sch->schib.scsw.cmd.actl = SCSW_ACTL_CLEAR_PEND;
155 spin_unlock_irqrestore(sch->lock, flags);
162 struct subchannel *sch = private->sch;
165 VFIO_CCW_TRACE_EVENT(2, dev_name(&sch->dev));
171 css_sched_sch_todo(sch, SCH_TODO_UNREG);
223 struct subchannel *sch = private->sch;
229 cio_disable_subchannel(sch);
233 return p->sch->schid;
360 VFIO_CCW_TRACE_EVENT(6, dev_name(&private->sch->dev));