Searched refs:schib (Results 1 – 15 of 15) sorted by relevance
/drivers/s390/cio/ |
D | cio.c | 129 CIO_HEX_EVENT(0, &sch->schib, sizeof (struct schib)); in cio_start_handle_notoper() 178 sch->schib.scsw.cmd.actl |= SCSW_ACTL_START_PEND; in cio_start_key() 215 sch->schib.scsw.cmd.actl |= SCSW_ACTL_RESUME_PEND; in cio_resume() 255 sch->schib.scsw.cmd.actl |= SCSW_ACTL_HALT_PEND; in cio_halt() 290 sch->schib.scsw.cmd.actl |= SCSW_ACTL_CLEAR_PEND; in cio_clear() 337 static void cio_apply_config(struct subchannel *sch, struct schib *schib) in cio_apply_config() argument 339 schib->pmcw.intparm = sch->config.intparm; in cio_apply_config() 340 schib->pmcw.mbi = sch->config.mbi; in cio_apply_config() 341 schib->pmcw.isc = sch->config.isc; in cio_apply_config() 342 schib->pmcw.ena = sch->config.ena; in cio_apply_config() [all …]
|
D | ioasm.h | 26 static inline int stsch(struct subchannel_id schid, struct schib *addr) in stsch() 41 static inline int stsch_err(struct subchannel_id schid, struct schib *addr) in stsch_err() 58 static inline int msch(struct subchannel_id schid, struct schib *addr) in msch() 73 static inline int msch_err(struct subchannel_id schid, struct schib *addr) in msch_err()
|
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() 145 if (!sch->schib.pmcw.ena) in ccw_device_cancel_halt_clear() 149 if (!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_HALT_PEND) && in ccw_device_cancel_halt_clear() 150 !(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_CLEAR_PEND)) { in ccw_device_cancel_halt_clear() 151 if (!scsw_is_tm(&sch->schib.scsw)) { in ccw_device_cancel_halt_clear() 160 if (!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_CLEAR_PEND)) { in ccw_device_cancel_halt_clear() 223 chpid.id = sch->schib.pmcw.chpid[i]; in __recover_lost_chpids() 252 sch->lpm = sch->schib.pmcw.pam & sch->opm; in ccw_device_recog_done() [all …]
|
D | css.c | 213 ssd_from_pmcw(&sch->ssd_info, &sch->schib.pmcw); in css_update_ssd_info() 217 ssd_from_pmcw(&sch->ssd_info, &sch->schib.pmcw); in css_update_ssd_info() 335 int css_sch_is_valid(struct schib *schib) in css_sch_is_valid() argument 337 if ((schib->pmcw.st == SUBCHANNEL_TYPE_IO) && !schib->pmcw.dnv) in css_sch_is_valid() 339 if ((schib->pmcw.st == SUBCHANNEL_TYPE_MSG) && !schib->pmcw.w) in css_sch_is_valid() 347 struct schib schib; in css_evaluate_new_subchannel() local 353 if (stsch_err(schid, &schib) || !css_sch_is_valid(&schib)) { in css_evaluate_new_subchannel()
|
D | device.c | 240 struct pmcw *pmcw = &sch->schib.pmcw; in pimpampom_show() 890 dev_id.devno = sch->schib.pmcw.dev; in ccw_device_move_to_orphanage() 1083 priv->dev_id.devno = sch->schib.pmcw.dev; in io_subchannel_recog() 1096 sch->schid.ssid, sch->schib.pmcw.dev); in io_subchannel_recog() 1178 if ((sch->schib.pmcw.pim & (sch->schib.pmcw.pim - 1)) != 0) in io_subchannel_init_config() 1188 sch->lpm = sch->schib.pmcw.pam & sch->opm; in io_subchannel_init_fields() 1193 sch->schib.pmcw.dev, sch->schid.ssid, in io_subchannel_init_fields() 1194 sch->schid.sch_no, sch->schib.pmcw.pim, in io_subchannel_init_fields() 1195 sch->schib.pmcw.pam, sch->schib.pmcw.pom); in io_subchannel_init_fields() 1279 dev_id.devno = sch->schib.pmcw.dev; in io_subchannel_probe() [all …]
|
D | cio.h | 64 struct schib { struct 92 struct schib schib; /* subchannel information block */ member
|
D | device_ops.c | 183 ((sch->schib.scsw.cmd.stctl & SCSW_STCTL_PRIM_STATUS) && in ccw_device_start_key() 184 !(sch->schib.scsw.cmd.stctl & SCSW_STCTL_SEC_STATUS)) || in ccw_device_start_key() 383 !(sch->schib.scsw.cmd.actl & SCSW_ACTL_SUSPENDED)) in ccw_device_resume() 558 chpid.id = sch->schib.pmcw.chpid[chp_no]; in ccw_device_get_chp_desc() 682 if (!scsw_is_tm(&sch->schib.scsw) || in ccw_device_tm_intrg() 683 !(scsw_actl(&sch->schib.scsw) | SCSW_ACTL_START_PEND)) in ccw_device_tm_intrg()
|
D | css.h | 136 struct schib; 137 int css_sch_is_valid(struct schib *);
|
D | chsc.c | 176 struct schib schib; in s390_process_res_acc_new_sch() local 185 if (stsch_err(schid, &schib)) in s390_process_res_acc_new_sch() 480 struct schib schib; in __s390_vary_chpid_on() local 482 if (stsch_err(schid, &schib)) in __s390_vary_chpid_on()
|
D | device_id.c | 241 if ((lpm & sch->schib.pmcw.pim & sch->schib.pmcw.pam) != 0) in ccw_device_check_sense_id()
|
D | device_status.c | 65 sch->schib.pmcw.pnom); in ccw_device_path_notoper() 67 sch->lpm &= ~sch->schib.pmcw.pnom; in ccw_device_path_notoper()
|
D | cmf.c | 310 if (scsw_fctl(&sch->schib.scsw) & SCSW_FCTL_START_FUNC) { in cmf_copy_block() 312 if ((!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_SUSPENDED)) && in cmf_copy_block() 313 (scsw_actl(&sch->schib.scsw) & in cmf_copy_block() 315 (!(scsw_stctl(&sch->schib.scsw) & SCSW_STCTL_SEC_STATUS))) in cmf_copy_block()
|
D | chsc_sch.c | 173 return sch->schib.pmcw.ena && !scsw_fctl(&sch->schib.scsw); in chsc_subchannel_match_next_free() 229 sch->schib.scsw.cmd.fctl |= SCSW_FCTL_START_FUNC; in chsc_async()
|
D | chp.c | 92 chpid.id = sch->schib.pmcw.chpid[i]; in chp_get_sch_opm()
|
D | device_pgid.c | 408 if ((cdev->private->imask & sch->schib.pmcw.pam) == 0) in __ccw_device_verify_start()
|