Lines Matching refs:private

46 	cdev->private->options.fast = (flags & CCWDEV_EARLY_NOTIFICATION) != 0;  in ccw_device_set_options_mask()
47 cdev->private->options.repall = (flags & CCWDEV_REPORT_ALL) != 0; in ccw_device_set_options_mask()
48 cdev->private->options.pgroup = (flags & CCWDEV_DO_PATHGROUP) != 0; in ccw_device_set_options_mask()
49 cdev->private->options.force = (flags & CCWDEV_ALLOW_FORCE) != 0; in ccw_device_set_options_mask()
50 cdev->private->options.mpath = (flags & CCWDEV_DO_MULTIPATH) != 0; in ccw_device_set_options_mask()
71 cdev->private->options.repall) || in ccw_device_set_options()
73 cdev->private->options.fast)) in ccw_device_set_options()
75 cdev->private->options.fast |= (flags & CCWDEV_EARLY_NOTIFICATION) != 0; in ccw_device_set_options()
76 cdev->private->options.repall |= (flags & CCWDEV_REPORT_ALL) != 0; in ccw_device_set_options()
77 cdev->private->options.pgroup |= (flags & CCWDEV_DO_PATHGROUP) != 0; in ccw_device_set_options()
78 cdev->private->options.force |= (flags & CCWDEV_ALLOW_FORCE) != 0; in ccw_device_set_options()
79 cdev->private->options.mpath |= (flags & CCWDEV_DO_MULTIPATH) != 0; in ccw_device_set_options()
92 cdev->private->options.fast &= (flags & CCWDEV_EARLY_NOTIFICATION) == 0; in ccw_device_clear_options()
93 cdev->private->options.repall &= (flags & CCWDEV_REPORT_ALL) == 0; in ccw_device_clear_options()
94 cdev->private->options.pgroup &= (flags & CCWDEV_DO_PATHGROUP) == 0; in ccw_device_clear_options()
95 cdev->private->options.force &= (flags & CCWDEV_ALLOW_FORCE) == 0; in ccw_device_clear_options()
96 cdev->private->options.mpath &= (flags & CCWDEV_DO_MULTIPATH) == 0; in ccw_device_clear_options()
107 return cdev->private->flags.pgroup; in ccw_device_is_pathgroup()
119 return cdev->private->flags.mpath; in ccw_device_is_multipath()
148 if (cdev->private->state == DEV_STATE_NOT_OPER) in ccw_device_clear()
150 if (cdev->private->state != DEV_STATE_ONLINE && in ccw_device_clear()
151 cdev->private->state != DEV_STATE_W4SENSE) in ccw_device_clear()
156 cdev->private->intparm = intparm; in ccw_device_clear()
196 if (cdev->private->state == DEV_STATE_NOT_OPER) in ccw_device_start_key()
198 if (cdev->private->state == DEV_STATE_VERIFY) { in ccw_device_start_key()
200 if (!cdev->private->flags.fake_irb) { in ccw_device_start_key()
201 cdev->private->flags.fake_irb = FAKE_CMD_IRB; in ccw_device_start_key()
202 cdev->private->intparm = intparm; in ccw_device_start_key()
208 if (cdev->private->state != DEV_STATE_ONLINE || in ccw_device_start_key()
211 cdev->private->flags.doverify) in ccw_device_start_key()
225 cdev->private->intparm = intparm; in ccw_device_start_key()
373 if (cdev->private->state == DEV_STATE_NOT_OPER) in ccw_device_halt()
375 if (cdev->private->state != DEV_STATE_ONLINE && in ccw_device_halt()
376 cdev->private->state != DEV_STATE_W4SENSE) in ccw_device_halt()
381 cdev->private->intparm = intparm; in ccw_device_halt()
407 if (cdev->private->state == DEV_STATE_NOT_OPER) in ccw_device_resume()
409 if (cdev->private->state != DEV_STATE_ONLINE || in ccw_device_resume()
433 if (cdev->private->flags.esid == 0) in ccw_device_get_ciw()
436 if (cdev->private->senseid.ciw[ciw_cnt].ct == ct) in ccw_device_get_ciw()
437 return cdev->private->senseid.ciw + ciw_cnt; in ccw_device_get_ciw()
486 *dev_id = cdev->private->dev_id; in ccw_device_get_id()
510 if (cdev->private->state == DEV_STATE_VERIFY) { in ccw_device_tm_start_key()
512 if (!cdev->private->flags.fake_irb) { in ccw_device_tm_start_key()
513 cdev->private->flags.fake_irb = FAKE_TM_IRB; in ccw_device_tm_start_key()
514 cdev->private->intparm = intparm; in ccw_device_tm_start_key()
520 if (cdev->private->state != DEV_STATE_ONLINE) in ccw_device_tm_start_key()
530 cdev->private->intparm = intparm; in ccw_device_tm_start_key()
657 if (cdev->private->state != DEV_STATE_ONLINE) in ccw_device_tm_intrg()