Lines Matching refs:private
36 struct ccw_dev_id *id = &cdev->private->dev_id;
37 int mpath = cdev->private->flags.mpath;
38 int pgroup = cdev->private->flags.pgroup;
59 struct ccw_request *req = &cdev->private->req;
60 struct ccw1 *cp = cdev->private->dma_area->iccws;
75 struct ccw_request *req = &cdev->private->req;
78 ~cdev->private->path_noirq_mask);
107 struct ccw_request *req = &cdev->private->req;
114 cdev->private->path_noirq_mask |= req->lpm;
117 cdev->private->path_notoper_mask |= req->lpm;
136 struct ccw_request *req = &cdev->private->req;
137 struct ccw1 *cp = cdev->private->dma_area->iccws;
139 struct pgid *pgid = &cdev->private->dma_area->pgid[i];
160 cdev->private->flags.pgid_unknown = 0;
170 struct ccw_dev_id *id = &cdev->private->dev_id;
171 struct ccw_request *req = &cdev->private->req;
175 id->ssid, id->devno, cdev->private->pgid_valid_mask,
176 cdev->private->path_noirq_mask);
185 if (cdev->private->flags.mpath)
197 struct ccw_request *req = &cdev->private->req;
201 req->lpm = lpm_adjust(req->lpm, cdev->private->pgid_todo_mask);
209 if (cdev->private->flags.mpath)
216 if (cdev->private->flags.pgid_unknown) {
230 struct ccw_request *req = &cdev->private->req;
237 cdev->private->flags.pgid_unknown = 1;
238 cdev->private->path_noirq_mask |= req->lpm;
241 cdev->private->path_notoper_mask |= req->lpm;
244 if (cdev->private->flags.mpath) {
246 cdev->private->flags.mpath = 0;
250 cdev->private->flags.pgroup = 0;
268 struct ccw_request *req = &cdev->private->req;
303 struct pgid *pgid = &cdev->private->dma_area->pgid[0];
312 if ((cdev->private->pgid_valid_mask & lpm) == 0)
343 if ((cdev->private->pgid_valid_mask & lpm) == 0)
345 pgid = &cdev->private->dma_area->pgid[i];
353 if (cdev->private->flags.mpath) {
371 memcpy(&cdev->private->dma_area->pgid[i], pgid,
380 struct ccw_dev_id *id = &cdev->private->dev_id;
391 if (reserved == cdev->private->pgid_valid_mask)
398 cdev->private->pgid_reset_mask |= reset;
399 cdev->private->pgid_todo_mask &=
400 ~(donepm | cdev->private->path_noirq_mask);
406 id->devno, rc, cdev->private->pgid_valid_mask, sch->vpm,
407 cdev->private->pgid_todo_mask, mismatch, reserved, reset);
410 if (cdev->private->flags.pgid_unknown) {
415 if (cdev->private->pgid_todo_mask == 0) {
424 cdev->private->flags.pgroup = 0;
425 cdev->private->flags.mpath = 0;
438 struct ccw_request *req = &cdev->private->req;
439 struct ccw1 *cp = cdev->private->dma_area->iccws;
444 cp->cda = (u32) (addr_t) &cdev->private->dma_area->pgid[i];
456 struct ccw_request *req = &cdev->private->req;
460 ~cdev->private->path_noirq_mask);
468 if (cdev->private->pgid_valid_mask)
470 else if (cdev->private->path_noirq_mask)
482 struct ccw_request *req = &cdev->private->req;
486 cdev->private->pgid_valid_mask |= req->lpm;
489 cdev->private->flags.pgid_unknown = 1;
490 cdev->private->path_noirq_mask |= req->lpm;
493 cdev->private->path_notoper_mask |= req->lpm;
513 struct ccw_request *req = &cdev->private->req;
514 struct ccw_dev_id *devid = &cdev->private->dev_id;
520 memset(cdev->private->dma_area->pgid, 0,
521 sizeof(cdev->private->dma_area->pgid));
522 cdev->private->pgid_valid_mask = 0;
523 cdev->private->pgid_todo_mask = sch->schib.pmcw.pam;
524 cdev->private->path_notoper_mask = 0;
532 if (cdev->private->flags.pgroup) {
559 CIO_HEX_EVENT(4, &cdev->private->dev_id, sizeof(cdev->private->dev_id));
564 cdev->private->flags.pgroup = cdev->private->options.pgroup;
565 cdev->private->flags.mpath = cdev->private->options.mpath;
566 cdev->private->flags.doverify = 0;
567 cdev->private->path_noirq_mask = 0;
577 struct ccw_dev_id *id = &cdev->private->dev_id;
582 cdev->private->flags.mpath = 0;
604 struct ccw_request *req = &cdev->private->req;
608 CIO_HEX_EVENT(4, &cdev->private->dev_id, sizeof(cdev->private->dev_id));
617 if (cdev->private->flags.mpath)
630 struct ccw_request *req = &cdev->private->req;
631 struct ccw1 *cp = cdev->private->dma_area->iccws;
665 struct ccw_request *req = &cdev->private->req;
668 CIO_HEX_EVENT(4, &cdev->private->dev_id, sizeof(cdev->private->dev_id));
692 if (!cdev->private->options.force)
705 cdev->private->state = DEV_STATE_STEAL_LOCK;
720 cdev->private->state = DEV_STATE_BOXED;