/linux-4.19.296/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 | 147 if (!sch->schib.pmcw.ena) in ccw_device_clear() 200 if (!sch->schib.pmcw.ena) in ccw_device_start_timeout_key() 215 ((sch->schib.scsw.cmd.stctl & SCSW_STCTL_PRIM_STATUS) && in ccw_device_start_timeout_key() 216 !(sch->schib.scsw.cmd.stctl & SCSW_STCTL_SEC_STATUS)) || in ccw_device_start_timeout_key() 367 if (!sch->schib.pmcw.ena) in ccw_device_halt() 401 if (!sch->schib.pmcw.ena) in ccw_device_resume() 406 !(sch->schib.scsw.cmd.actl & SCSW_ACTL_SUSPENDED)) in ccw_device_resume() 471 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_chp_desc() 491 chpid.id = sch->schib.pmcw.chpid[chp_idx]; in ccw_device_get_util_str() 536 if (!sch->schib.pmcw.ena) in ccw_device_tm_start_timeout_key() [all …]
|
D | css.c | 173 struct schib *schib) in css_validate_subchannel() argument 177 switch (schib->pmcw.st) { in css_validate_subchannel() 180 if (!css_sch_is_valid(schib)) in css_validate_subchannel() 182 else if (is_blacklisted(schid.ssid, schib->pmcw.dev)) { in css_validate_subchannel() 185 schib->pmcw.dev, schid.ssid); in css_validate_subchannel() 197 schid.ssid, schid.sch_no, schib->pmcw.st); in css_validate_subchannel() 203 struct schib *schib) in css_alloc_subchannel() argument 208 ret = css_validate_subchannel(schid, schib); in css_alloc_subchannel() 217 sch->schib = *schib; in css_alloc_subchannel() 218 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 | 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 | device_fsm.c | 39 struct schib schib; in ccw_timeout_log() local 48 cc = stsch(sch->schid, &schib); in ccw_timeout_log() 86 &schib, sizeof(schib), 0); in ccw_timeout_log() 178 chpid.id = sch->schib.pmcw.chpid[i]; in __recover_lost_chpids() 207 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_recog_done() 481 u8 broken_paths = (sch->schib.pmcw.pam & sch->opm) ^ sch->vpm; in ccw_device_handle_broken_paths() 612 if (scsw_actl(&sch->schib.scsw) != 0) in ccw_device_offline() 673 if (scsw_actl(&sch->schib.scsw) != 0 || in ccw_device_online_verify() 674 (scsw_stctl(&sch->schib.scsw) & SCSW_STCTL_STATUS_PEND) || in ccw_device_online_verify() 950 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_trigger_reprobe() [all …]
|
D | ccwreq.c | 336 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 | 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() 458 req->lpm = lpm_adjust(req->lpm, sch->schib.pmcw.pam & in snid_do() 516 sch->lpm = sch->schib.pmcw.pam; in verify_start() 521 cdev->private->pgid_todo_mask = sch->schib.pmcw.pam; in verify_start() 611 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_disband_start() 671 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_stlck_start()
|
D | device.c | 722 priv->dev_id.devno = sch->schib.pmcw.dev; in io_subchannel_initialize_dev() 922 old_enabled = old_sch->schib.pmcw.ena; in ccw_device_move_to_sch() 941 sch->schib.pmcw.dev, rc); in ccw_device_move_to_sch() 1006 sch->lpm = sch->schib.pmcw.pam & sch->opm; in io_subchannel_init_fields() 1011 sch->schib.pmcw.dev, sch->schid.ssid, in io_subchannel_init_fields() 1012 sch->schid.sch_no, sch->schib.pmcw.pim, in io_subchannel_init_fields() 1013 sch->schib.pmcw.pam, sch->schib.pmcw.pom); in io_subchannel_init_fields() 1120 if (scsw_actl(&sch->schib.scsw) == 0 || sch->schib.pmcw.lpum != mask) in io_subchannel_terminate_path() 1189 if (!sch->schib.pmcw.ena) in io_subchannel_quiesce() 1236 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 | 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 | 37 if (!sch->schib.pmcw.ena) in vfio_ccw_sch_quiesce() 113 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 | device_id.c | 219 req->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_sense_id_start()
|
D | vfio_ccw_fsm.c | 43 sch->schib.scsw.cmd.actl |= SCSW_ACTL_START_PEND; in fsm_io_helper()
|
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 | chp.c | 85 chpid.id = sch->schib.pmcw.chpid[i]; in chp_get_sch_opm()
|