Home
last modified time | relevance | path

Searched refs:schib (Results 1 – 9 of 9) sorted by relevance

/qemu/hw/s390x/
H A Dcss.c709 schib->pmcw.lpum = 0; in sch_handle_clear_func()
719 schib->scsw.dstat = 0; in sch_handle_clear_func()
720 schib->scsw.cstat = 0; in sch_handle_clear_func()
751 schib->scsw.cstat = 0; in sch_handle_halt_func()
1796 p = schib->pmcw; in css_do_tsch_get_irb()
2097 schib->mba = 0; in css_sch_build_virtual_schib()
2424 schib->pmcw.lpm = schib->pmcw.pim; in css_reset_sch()
2427 schib->pmcw.mbi = 0; in css_reset_sch()
2433 memset(&schib->scsw, 0, sizeof(schib->scsw)); in css_reset_sch()
2434 schib->mba = 0; in css_reset_sch()
[all …]
H A D3270-ccw.c85 SCHIB *schib = &sch->curr_status; in emulated_ccw_3270_cb() local
89 schib->scsw.ctrl &= ~SCSW_ACTL_START_PEND; in emulated_ccw_3270_cb()
90 schib->scsw.ctrl &= ~SCSW_CTRL_MASK_STCTL; in emulated_ccw_3270_cb()
91 schib->scsw.ctrl |= SCSW_STCTL_PRIMARY | SCSW_STCTL_SECONDARY | in emulated_ccw_3270_cb()
/qemu/hw/vfio/
H A Dccw.c129 SCHIB *schib = &sch->curr_status; in vfio_ccw_handle_store() local
158 schib->pmcw.pnom = s->pmcw.pnom; in vfio_ccw_handle_store()
159 schib->pmcw.lpum = s->pmcw.lpum; in vfio_ccw_handle_store()
160 schib->pmcw.pam = s->pmcw.pam; in vfio_ccw_handle_store()
161 schib->pmcw.pom = s->pmcw.pom; in vfio_ccw_handle_store()
164 schib->scsw.flags |= SCSW_FLAGS_MASK_PNO; in vfio_ccw_handle_store()
315 SCHIB *schib = &sch->curr_status; in vfio_ccw_io_notifier_handler() local
354 schib->scsw.ctrl &= ~SCSW_ACTL_START_PEND; in vfio_ccw_io_notifier_handler()
356 schib->scsw.ctrl &= ~SCSW_CTRL_MASK_STCTL; in vfio_ccw_io_notifier_handler()
365 s = schib->scsw; in vfio_ccw_io_notifier_handler()
[all …]
/qemu/target/s390x/
H A Dioinst.c114 static int ioinst_schib_valid(SCHIB *schib) in ioinst_schib_valid() argument
127 (be64_to_cpu(schib->mba) & 0x03fUL)) { in ioinst_schib_valid()
137 SCHIB schib; in ioinst_handle_msch() local
148 s390_cpu_pv_mem_read(cpu, addr, &schib, sizeof(schib)); in ioinst_handle_msch()
149 } else if (s390_cpu_virt_mem_read(cpu, addr, ar, &schib, sizeof(schib))) { in ioinst_handle_msch()
154 !ioinst_schib_valid(&schib)) { in ioinst_handle_msch()
164 setcc(cpu, css_do_msch(sch, &schib)); in ioinst_handle_msch()
267 SCHIB schib; in ioinst_handle_stsch() local
301 cc = css_do_stsch(sch, &schib); in ioinst_handle_stsch()
311 memset(&schib, 0, sizeof(schib)); in ioinst_handle_stsch()
[all …]
/qemu/pc-bios/s390-ccw/
H A Dnetmain.c450 static bool find_net_dev(Schib *schib, int dev_no) in find_net_dev() argument
456 r = stsch_err(net_schid, schib); in find_net_dev()
460 if (!schib->pmcw.dnv) { in find_net_dev()
470 if (dev_no < 0 || schib->pmcw.dev == dev_no) { in find_net_dev()
480 Schib schib; in virtio_setup() local
498 found = find_net_dev(&schib, dev_no); in virtio_setup()
502 found = find_net_dev(&schib, -1); in virtio_setup()
H A Dmain.c59 Schib schib; in is_dev_possibly_bootable() local
63 r = stsch_err(blk_schid, &schib); in is_dev_possibly_bootable()
67 if (!schib.pmcw.dnv) { in is_dev_possibly_bootable()
103 if (schib.pmcw.dev == dev_no) { in is_dev_possibly_bootable()
H A Dcio.h117 typedef struct schib { struct
375 static inline int stsch_err(struct subchannel_id schid, struct schib *addr) in stsch_err()
391 static inline int msch(struct subchannel_id schid, struct schib *addr) in msch()
406 static inline int msch_err(struct subchannel_id schid, struct schib *addr) in msch_err()
H A Dcio.c43 Schib schib; in enable_subchannel() local
45 stsch_err(schid, &schib); in enable_subchannel()
46 schib.pmcw.ena = 1; in enable_subchannel()
47 msch(schid, &schib); in enable_subchannel()
/qemu/include/hw/s390x/
H A Dcss.h246 IOInstEnding css_do_stsch(SubchDev *sch, SCHIB *schib);
248 IOInstEnding css_do_msch(SubchDev *sch, const SCHIB *schib);