/drivers/s390/cio/ |
D | cio.c | 117 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 | trace.h | 24 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc), 25 TP_ARGS(schid, schib, cc), 31 __field_struct(struct schib, schib) 38 __entry->devno = schib->pmcw.dev; 39 __entry->schib = *schib; 46 __entry->schib.pmcw.ena, __entry->schib.pmcw.st, 47 __entry->schib.pmcw.dnv, __entry->schib.pmcw.dev, 48 __entry->schib.pmcw.lpm, __entry->schib.pmcw.pnom, 49 __entry->schib.pmcw.lpum, __entry->schib.pmcw.pim, 50 __entry->schib.pmcw.pam, __entry->schib.pmcw.pom, [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() 475 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_chp_desc() 508 if (!sch->schib.pmcw.ena) in ccw_device_tm_start_key() 623 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(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.c | 15 static inline int __stsch(struct subchannel_id schid, struct schib *addr) in __stsch() 32 int stsch(struct subchannel_id schid, struct schib *addr) in stsch() 43 static inline int __msch(struct subchannel_id schid, struct schib *addr) in __msch() 60 int msch(struct subchannel_id schid, struct schib *addr) in msch()
|
D | cio.h | 76 struct schib { struct 107 struct schib schib; /* subchannel information block */ member
|
D | ioasm.h | 15 int stsch(struct subchannel_id schid, struct schib *addr); 16 int msch(struct subchannel_id schid, struct schib *addr);
|
D | ccwreq.c | 335 if ((0x80 >> chp) & sch->schib.pmcw.lpum) in ccw_request_timeout() 338 scsw_cstat(&sch->schib.scsw), in ccw_request_timeout() 339 scsw_dstat(&sch->schib.scsw), in ccw_request_timeout() 341 sch->schib.pmcw.chpid[chp]); in ccw_request_timeout()
|
D | css.c | 256 ssd_from_pmcw(&sch->ssd_info, &sch->schib.pmcw); in css_update_ssd_info() 375 int css_sch_is_valid(struct schib *schib) in css_sch_is_valid() argument 377 if ((schib->pmcw.st == SUBCHANNEL_TYPE_IO) && !schib->pmcw.dnv) in css_sch_is_valid() 379 if ((schib->pmcw.st == SUBCHANNEL_TYPE_MSG) && !schib->pmcw.w) in css_sch_is_valid() 387 struct schib schib; in css_evaluate_new_subchannel() local 393 if (stsch(schid, &schib)) { in css_evaluate_new_subchannel() 397 if (!css_sch_is_valid(&schib)) { in css_evaluate_new_subchannel()
|
D | device_pgid.c | 76 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & sch->opm & in nop_do() 181 req->lpm = sch->schib.pmcw.pam; in pgid_wipeout_start() 457 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & in snid_do() 515 sch->lpm = sch->schib.pmcw.pam; in verify_start() 520 cdev->private->pgid_todo_mask = sch->schib.pmcw.pam; in verify_start() 610 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_disband_start() 670 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_stlck_start()
|
D | css.h | 140 struct schib; 141 int css_sch_is_valid(struct schib *);
|
D | device.c | 241 struct pmcw *pmcw = &sch->schib.pmcw; in pimpampom_show() 763 priv->dev_id.devno = sch->schib.pmcw.dev; in io_subchannel_initialize_dev() 961 old_enabled = old_sch->schib.pmcw.ena; in ccw_device_move_to_sch() 980 sch->schib.pmcw.dev, rc); in ccw_device_move_to_sch() 1045 sch->lpm = sch->schib.pmcw.pam & sch->opm; in io_subchannel_init_fields() 1050 sch->schib.pmcw.dev, sch->schid.ssid, in io_subchannel_init_fields() 1051 sch->schid.sch_no, sch->schib.pmcw.pim, in io_subchannel_init_fields() 1052 sch->schib.pmcw.pam, sch->schib.pmcw.pom); in io_subchannel_init_fields() 1159 if (scsw_actl(&sch->schib.scsw) == 0 || sch->schib.pmcw.lpum != mask) in io_subchannel_terminate_path() 1228 if (!sch->schib.pmcw.ena) in io_subchannel_quiesce() [all …]
|
D | chsc_sch.c | 130 struct schib schib; in chsc_subchannel_prepare() local 136 cc = stsch(sch->schid, &schib); in chsc_subchannel_prepare() 137 if (!cc && scsw_stctl(&schib.scsw)) in chsc_subchannel_prepare() 214 return sch->schib.pmcw.ena && !scsw_fctl(&sch->schib.scsw); in chsc_subchannel_match_next_free() 270 sch->schib.scsw.cmd.fctl |= SCSW_FCTL_START_FUNC; in chsc_async()
|
D | eadm_sch.c | 80 sch->schib.scsw.eadm.actl |= SCSW_ACTL_START_PEND; in eadm_subchannel_start() 99 sch->schib.scsw.eadm.actl |= SCSW_ACTL_CLEAR_PEND; in eadm_subchannel_clear() 136 struct eadm_scsw *scsw = &sch->schib.scsw.eadm; in eadm_subchannel_irq()
|
D | device_status.c | 63 sch->schib.pmcw.pnom); in ccw_device_path_notoper() 65 sch->lpm &= ~sch->schib.pmcw.pnom; in ccw_device_path_notoper()
|
D | cmf.c | 316 if (scsw_fctl(&sch->schib.scsw) & SCSW_FCTL_START_FUNC) { in cmf_copy_block() 318 if ((!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_SUSPENDED)) && in cmf_copy_block() 319 (scsw_actl(&sch->schib.scsw) & in cmf_copy_block() 321 (!(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 | 84 chpid.id = sch->schib.pmcw.chpid[i]; in chp_get_sch_opm()
|