/drivers/s390/cio/ |
D | cio.c | 115 CIO_HEX_EVENT(0, &sch->schib, sizeof (struct schib)); in cio_start_handle_notoper() 162 sch->schib.scsw.cmd.actl |= SCSW_ACTL_START_PEND; in cio_start_key() 197 sch->schib.scsw.cmd.actl |= SCSW_ACTL_RESUME_PEND; in cio_resume() 235 sch->schib.scsw.cmd.actl |= SCSW_ACTL_HALT_PEND; in cio_halt() 268 sch->schib.scsw.cmd.actl |= SCSW_ACTL_CLEAR_PEND; in cio_clear() 313 static void cio_apply_config(struct subchannel *sch, struct schib *schib) in cio_apply_config() argument 315 schib->pmcw.intparm = sch->config.intparm; in cio_apply_config() 316 schib->pmcw.mbi = sch->config.mbi; in cio_apply_config() 317 schib->pmcw.isc = sch->config.isc; in cio_apply_config() 318 schib->pmcw.ena = sch->config.ena; in cio_apply_config() [all …]
|
D | device_ops.c | 146 if (!sch->schib.pmcw.ena) in ccw_device_clear() 194 if (!sch->schib.pmcw.ena) in ccw_device_start_key() 209 ((sch->schib.scsw.cmd.stctl & SCSW_STCTL_PRIM_STATUS) && in ccw_device_start_key() 210 !(sch->schib.scsw.cmd.stctl & SCSW_STCTL_SEC_STATUS)) || in ccw_device_start_key() 371 if (!sch->schib.pmcw.ena) in ccw_device_halt() 405 if (!sch->schib.pmcw.ena) in ccw_device_resume() 410 !(sch->schib.scsw.cmd.actl & SCSW_ACTL_SUSPENDED)) in ccw_device_resume() 573 chpid.id = sch->schib.pmcw.chpid[chp_no]; in ccw_device_get_chp_desc() 606 if (!sch->schib.pmcw.ena) in ccw_device_tm_start_key() 721 chpid.id = sch->schib.pmcw.chpid[i]; in ccw_device_get_mdc() [all …]
|
D | device_fsm.c | 38 struct schib schib; in ccw_timeout_log() local 47 cc = stsch_err(sch->schid, &schib); in ccw_timeout_log() 85 &schib, sizeof(schib), 0); in ccw_timeout_log() 144 if (!sch->schib.pmcw.ena) in ccw_device_cancel_halt_clear() 148 if (!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_HALT_PEND) && in ccw_device_cancel_halt_clear() 149 !(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_CLEAR_PEND)) { in ccw_device_cancel_halt_clear() 150 if (!scsw_is_tm(&sch->schib.scsw)) { in ccw_device_cancel_halt_clear() 159 if (!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_CLEAR_PEND)) { in ccw_device_cancel_halt_clear() 217 chpid.id = sch->schib.pmcw.chpid[i]; in __recover_lost_chpids() 246 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_recog_done() [all …]
|
D | ioasm.h | 28 static inline int stsch_err(struct subchannel_id schid, struct schib *addr) in stsch_err() 45 static inline int msch(struct subchannel_id schid, struct schib *addr) in msch() 60 static inline int msch_err(struct subchannel_id schid, struct schib *addr) in msch_err()
|
D | cio.h | 64 struct schib { struct 95 struct schib schib; /* subchannel information block */ member
|
D | ccwreq.c | 335 if ((0x80 >> chp) & sch->schib.pmcw.lpum) in ccw_request_timeout() 339 scsw_cstat(&sch->schib.scsw), in ccw_request_timeout() 340 scsw_dstat(&sch->schib.scsw), in ccw_request_timeout() 342 sch->schib.pmcw.chpid[chp]); in ccw_request_timeout()
|
D | css.c | 249 ssd_from_pmcw(&sch->ssd_info, &sch->schib.pmcw); in css_update_ssd_info() 368 int css_sch_is_valid(struct schib *schib) in css_sch_is_valid() argument 370 if ((schib->pmcw.st == SUBCHANNEL_TYPE_IO) && !schib->pmcw.dnv) in css_sch_is_valid() 372 if ((schib->pmcw.st == SUBCHANNEL_TYPE_MSG) && !schib->pmcw.w) in css_sch_is_valid() 380 struct schib schib; in css_evaluate_new_subchannel() local 386 if (stsch_err(schid, &schib)) { in css_evaluate_new_subchannel() 390 if (!css_sch_is_valid(&schib)) { in css_evaluate_new_subchannel()
|
D | device_pgid.c | 75 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & sch->opm & in nop_do() 180 req->lpm = sch->schib.pmcw.pam; in pgid_wipeout_start() 456 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & in snid_do() 514 sch->lpm = sch->schib.pmcw.pam; in verify_start() 519 cdev->private->pgid_todo_mask = sch->schib.pmcw.pam; in verify_start() 609 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_disband_start() 663 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_stlck_start()
|
D | device.c | 241 struct pmcw *pmcw = &sch->schib.pmcw; in pimpampom_show() 933 priv->dev_id.devno = sch->schib.pmcw.dev; in io_subchannel_recog() 964 old_enabled = old_sch->schib.pmcw.ena; in ccw_device_move_to_sch() 983 sch->schib.pmcw.dev, rc); in ccw_device_move_to_sch() 1049 sch->lpm = sch->schib.pmcw.pam & sch->opm; in io_subchannel_init_fields() 1054 sch->schib.pmcw.dev, sch->schid.ssid, in io_subchannel_init_fields() 1055 sch->schid.sch_no, sch->schib.pmcw.pim, in io_subchannel_init_fields() 1056 sch->schib.pmcw.pam, sch->schib.pmcw.pom); in io_subchannel_init_fields() 1163 if (scsw_actl(&sch->schib.scsw) == 0 || sch->schib.pmcw.lpum != mask) in io_subchannel_terminate_path() 1232 if (!sch->schib.pmcw.ena) in io_subchannel_quiesce() [all …]
|
D | css.h | 141 struct schib; 142 int css_sch_is_valid(struct schib *);
|
D | chsc_sch.c | 126 struct schib schib; in chsc_subchannel_prepare() local 132 cc = stsch_err(sch->schid, &schib); in chsc_subchannel_prepare() 133 if (!cc && scsw_stctl(&schib.scsw)) in chsc_subchannel_prepare() 212 return sch->schib.pmcw.ena && !scsw_fctl(&sch->schib.scsw); in chsc_subchannel_match_next_free() 268 sch->schib.scsw.cmd.fctl |= SCSW_FCTL_START_FUNC; in chsc_async()
|
D | eadm_sch.c | 79 sch->schib.scsw.eadm.actl |= SCSW_ACTL_START_PEND; in eadm_subchannel_start() 98 sch->schib.scsw.eadm.actl |= SCSW_ACTL_CLEAR_PEND; in eadm_subchannel_clear() 135 struct eadm_scsw *scsw = &sch->schib.scsw.eadm; in eadm_subchannel_irq()
|
D | chsc.c | 182 struct schib schib; in s390_process_res_acc_new_sch() local 191 if (stsch_err(schid, &schib)) in s390_process_res_acc_new_sch() 609 struct schib schib; in __s390_vary_chpid_on() local 611 if (stsch_err(schid, &schib)) in __s390_vary_chpid_on()
|
D | device_status.c | 62 sch->schib.pmcw.pnom); in ccw_device_path_notoper() 64 sch->lpm &= ~sch->schib.pmcw.pnom; in ccw_device_path_notoper()
|
D | cmf.c | 308 if (scsw_fctl(&sch->schib.scsw) & SCSW_FCTL_START_FUNC) { in cmf_copy_block() 310 if ((!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_SUSPENDED)) && in cmf_copy_block() 311 (scsw_actl(&sch->schib.scsw) & in cmf_copy_block() 313 (!(scsw_stctl(&sch->schib.scsw) & SCSW_STCTL_SEC_STATUS))) in cmf_copy_block()
|
D | device_id.c | 218 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_sense_id_start()
|
D | chp.c | 87 chpid.id = sch->schib.pmcw.chpid[i]; in chp_get_sch_opm()
|