/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() 199 sch->schib.scsw.cmd.actl |= SCSW_ACTL_RESUME_PEND; in cio_resume() 238 sch->schib.scsw.cmd.actl |= SCSW_ACTL_HALT_PEND; in cio_halt() 272 sch->schib.scsw.cmd.actl |= SCSW_ACTL_CLEAR_PEND; in cio_clear() 340 if (!sch->schib.pmcw.ena) in cio_cancel_halt_clear() 344 if (!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_HALT_PEND) && in cio_cancel_halt_clear() 345 !(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_CLEAR_PEND)) { in cio_cancel_halt_clear() 346 if (!scsw_is_tm(&sch->schib.scsw)) { in cio_cancel_halt_clear() 358 if (!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_CLEAR_PEND)) { in cio_cancel_halt_clear() [all …]
|
D | trace.h | 25 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc), 26 TP_ARGS(schid, schib, cc), 32 __field_struct(struct schib, schib) 50 __entry->devno = schib->pmcw.dev; 51 __entry->schib = *schib; 52 __entry->pmcw_ena = schib->pmcw.ena; 53 __entry->pmcw_st = schib->pmcw.ena; 54 __entry->pmcw_dnv = schib->pmcw.dnv; 55 __entry->pmcw_dev = schib->pmcw.dev; 56 __entry->pmcw_lpm = schib->pmcw.lpm; [all …]
|
D | device_ops.c | 145 if (!sch->schib.pmcw.ena) in ccw_device_clear() 201 if (!sch->schib.pmcw.ena) in ccw_device_start_timeout_key() 216 ((sch->schib.scsw.cmd.stctl & SCSW_STCTL_PRIM_STATUS) && in ccw_device_start_timeout_key() 217 !(sch->schib.scsw.cmd.stctl & SCSW_STCTL_SEC_STATUS)) || in ccw_device_start_timeout_key() 378 if (!sch->schib.pmcw.ena) in ccw_device_halt() 412 if (!sch->schib.pmcw.ena) in ccw_device_resume() 417 !(sch->schib.scsw.cmd.actl & SCSW_ACTL_SUSPENDED)) in ccw_device_resume() 482 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_chp_desc() 502 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_util_str() 547 if (!sch->schib.pmcw.ena) in ccw_device_tm_start_timeout_key() [all …]
|
D | css.c | 176 struct schib *schib) in css_validate_subchannel() argument 180 switch (schib->pmcw.st) { in css_validate_subchannel() 183 if (!css_sch_is_valid(schib)) in css_validate_subchannel() 185 else if (is_blacklisted(schid.ssid, schib->pmcw.dev)) { in css_validate_subchannel() 188 schib->pmcw.dev, schid.ssid); in css_validate_subchannel() 200 schid.ssid, schid.sch_no, schib->pmcw.st); in css_validate_subchannel() 206 struct schib *schib) in css_alloc_subchannel() argument 211 ret = css_validate_subchannel(schid, schib); in css_alloc_subchannel() 220 sch->schib = *schib; in css_alloc_subchannel() 221 sch->st = schib->pmcw.st; in css_alloc_subchannel() [all …]
|
D | css.h | 107 struct schib *schib); 151 struct schib; 152 int css_sch_is_valid(struct schib *);
|
D | ioasm.c | 16 static inline int __stsch(struct subchannel_id schid, struct schib *addr) in __stsch() 33 int stsch(struct subchannel_id schid, struct schib *addr) in stsch() 44 static inline int __msch(struct subchannel_id schid, struct schib *addr) in __msch() 61 int msch(struct subchannel_id schid, struct schib *addr) in msch()
|
D | device_fsm.c | 39 struct schib schib; in ccw_timeout_log() local 48 cc = stsch(sch->schid, &schib); in ccw_timeout_log() 88 &schib, sizeof(schib), 0); in ccw_timeout_log() 184 chpid.id = sch->schib.pmcw.chpid[i]; in __recover_lost_chpids() 213 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_recog_done() 487 u8 broken_paths = (sch->schib.pmcw.pam & sch->opm) ^ sch->vpm; in ccw_device_handle_broken_paths() 619 if (scsw_actl(&sch->schib.scsw) != 0) in ccw_device_offline() 680 if (scsw_actl(&sch->schib.scsw) != 0 || in ccw_device_online_verify() 681 (scsw_stctl(&sch->schib.scsw) & SCSW_STCTL_STATUS_PEND) || in ccw_device_online_verify() 959 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_trigger_reprobe() [all …]
|
D | ioasm.h | 16 int stsch(struct subchannel_id schid, struct schib *addr); 17 int msch(struct subchannel_id schid, struct schib *addr);
|
D | cio.h | 77 struct schib { struct 108 struct schib schib; /* subchannel information block */ member
|
D | ccwreq.c | 337 if ((0x80 >> chp) & sch->schib.pmcw.lpum) in ccw_request_timeout() 340 scsw_cstat(&sch->schib.scsw), in ccw_request_timeout() 341 scsw_dstat(&sch->schib.scsw), in ccw_request_timeout() 343 sch->schib.pmcw.chpid[chp]); in ccw_request_timeout()
|
D | device_pgid.c | 77 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & sch->opm & in nop_do() 182 req->lpm = sch->schib.pmcw.pam; in pgid_wipeout_start() 459 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & in snid_do() 517 sch->lpm = sch->schib.pmcw.pam; in verify_start() 523 cdev->private->pgid_todo_mask = sch->schib.pmcw.pam; in verify_start() 613 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_disband_start() 673 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_stlck_start()
|
D | device.c | 744 priv->dev_id.devno = sch->schib.pmcw.dev; in io_subchannel_initialize_dev() 942 old_enabled = old_sch->schib.pmcw.ena; in ccw_device_move_to_sch() 961 sch->schib.pmcw.dev, rc); in ccw_device_move_to_sch() 1026 sch->lpm = sch->schib.pmcw.pam & sch->opm; in io_subchannel_init_fields() 1031 sch->schib.pmcw.dev, sch->schid.ssid, in io_subchannel_init_fields() 1032 sch->schid.sch_no, sch->schib.pmcw.pim, in io_subchannel_init_fields() 1033 sch->schib.pmcw.pam, sch->schib.pmcw.pom); in io_subchannel_init_fields() 1147 if (scsw_actl(&sch->schib.scsw) == 0 || sch->schib.pmcw.lpum != mask) in io_subchannel_terminate_path() 1216 if (!sch->schib.pmcw.ena) in io_subchannel_quiesce() 1263 if ((sch->schib.pmcw.pam & sch->opm) == sch->vpm) in recovery_check() [all …]
|
D | chsc_sch.c | 126 struct schib schib; in chsc_subchannel_prepare() local 132 cc = stsch(sch->schid, &schib); in chsc_subchannel_prepare() 133 if (!cc && scsw_stctl(&schib.scsw)) in chsc_subchannel_prepare() 210 return sch->schib.pmcw.ena && !scsw_fctl(&sch->schib.scsw); in chsc_subchannel_match_next_free() 266 sch->schib.scsw.cmd.fctl |= SCSW_FCTL_START_FUNC; in chsc_async()
|
D | vfio_ccw_fsm.c | 53 sch->schib.scsw.cmd.actl |= SCSW_ACTL_START_PEND; in fsm_io_helper() 107 sch->schib.scsw.cmd.actl |= SCSW_ACTL_HALT_PEND; in fsm_do_halt() 148 sch->schib.scsw.cmd.actl = SCSW_ACTL_CLEAR_PEND; in fsm_do_clear()
|
D | eadm_sch.c | 75 sch->schib.scsw.eadm.actl |= SCSW_ACTL_START_PEND; in eadm_subchannel_start() 94 sch->schib.scsw.eadm.actl |= SCSW_ACTL_CLEAR_PEND; in eadm_subchannel_clear() 130 struct eadm_scsw *scsw = &sch->schib.scsw.eadm; in eadm_subchannel_irq()
|
D | vfio_ccw_drv.c | 43 if (!sch->schib.pmcw.ena) in vfio_ccw_sch_quiesce() 121 struct pmcw *pmcw = &sch->schib.pmcw; in vfio_ccw_sch_probe()
|
D | device_status.c | 64 sch->schib.pmcw.pnom); in ccw_device_path_notoper() 66 sch->lpm &= ~sch->schib.pmcw.pnom; in ccw_device_path_notoper()
|
D | cmf.c | 278 if (scsw_fctl(&sch->schib.scsw) & SCSW_FCTL_START_FUNC) { in cmf_copy_block() 280 if ((!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_SUSPENDED)) && in cmf_copy_block() 281 (scsw_actl(&sch->schib.scsw) & in cmf_copy_block() 283 (!(scsw_stctl(&sch->schib.scsw) & SCSW_STCTL_SEC_STATUS))) in cmf_copy_block()
|
D | device_id.c | 221 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_sense_id_start()
|
D | chp.c | 85 chpid.id = sch->schib.pmcw.chpid[i]; in chp_get_sch_opm()
|