Lines Matching refs:sch

33 	struct subchannel *sch = to_subchannel(cdev->dev.parent);
41 if (sch->config.mp != mpath) {
42 sch->config.mp = mpath;
43 rc = cio_commit_config(sch);
48 sch->vpm);
72 struct subchannel *sch = to_subchannel(cdev->dev.parent);
75 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & sch->opm &
84 verify_done(cdev, sch->vpm ? 0 : -EACCES);
104 struct subchannel *sch = to_subchannel(cdev->dev.parent);
109 sch->vpm |= req->lpm;
167 struct subchannel *sch = to_subchannel(cdev->dev.parent);
180 req->lpm = sch->schib.pmcw.pam;
194 struct subchannel *sch = to_subchannel(cdev->dev.parent);
203 if (req->lpm & sch->opm)
219 verify_done(cdev, sch->vpm ? 0 : -EACCES);
227 struct subchannel *sch = to_subchannel(cdev->dev.parent);
232 sch->vpm |= req->lpm & sch->opm;
332 struct subchannel *sch = to_subchannel(cdev->dev.parent);
344 if (sch->opm & lpm) {
378 struct subchannel *sch = to_subchannel(cdev->dev.parent);
394 sch->vpm = donepm & sch->opm;
403 id->devno, rc, cdev->private->pgid_valid_mask, sch->vpm,
413 verify_done(cdev, sch->vpm == 0 ? -EACCES : 0);
452 struct subchannel *sch = to_subchannel(cdev->dev.parent);
456 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam &
509 struct subchannel *sch = to_subchannel(cdev->dev.parent);
513 sch->vpm = 0;
514 sch->lpm = sch->schib.pmcw.pam;
519 cdev->private->pgid_todo_mask = sch->schib.pmcw.pam;
547 * paths are operational. The resulting path mask is stored in sch->vpm.
572 struct subchannel *sch = to_subchannel(cdev->dev.parent);
579 if (sch->config.mp) {
580 sch->config.mp = 0;
581 rc = cio_commit_config(sch);
599 struct subchannel *sch = to_subchannel(cdev->dev.parent);
609 req->lpm = sch->schib.pmcw.pam & sch->opm;
654 struct subchannel *sch = to_subchannel(cdev->dev.parent);
663 req->lpm = sch->schib.pmcw.pam & sch->opm;