Home
last modified time | relevance | path

Searched refs:cssid (Results 1 – 22 of 22) sorted by relevance

/qemu/target/s390x/
H A Dioinst.c40 int ioinst_disassemble_sch_ident(uint32_t value, int *m, int *cssid, int *ssid, in ioinst_disassemble_sch_ident() argument
50 *cssid = 0; in ioinst_disassemble_sch_ident()
53 *cssid = IOINST_SCHID_CSSID(value); in ioinst_disassemble_sch_ident()
63 int cssid, ssid, schid, m; in ioinst_handle_xsch() local
66 if (ioinst_disassemble_sch_ident(reg1, &m, &cssid, &ssid, &schid)) { in ioinst_handle_xsch()
70 trace_ioinst_sch_id("xsch", cssid, ssid, schid); in ioinst_handle_xsch()
71 sch = css_find_subch(m, cssid, ssid, schid); in ioinst_handle_xsch()
81 int cssid, ssid, schid, m; in ioinst_handle_csch() local
84 if (ioinst_disassemble_sch_ident(reg1, &m, &cssid, &ssid, &schid)) { in ioinst_handle_csch()
88 trace_ioinst_sch_id("csch", cssid, ssid, schid); in ioinst_handle_csch()
[all …]
H A Dtrace-events5 ioinst_sch_id(const char *insn, int cssid, int ssid, int schid) "IOINST: %s (%x.%x.%04x)"
6 ioinst_chp_id(const char *insn, int cssid, int chpid) "IOINST: %s (%x.%02x)"
/qemu/hw/s390x/
H A Dcss.c205 VMSTATE_UINT8_EQUAL(cssid, SubchDev, "Bug!"),
372 if (css_find_subch(true, s->cssid, s->ssid, s->schid) == s) { in subch_dev_post_load()
378 css_subch_assign(s->cssid, s->ssid, s->schid, s->devno, NULL); in subch_dev_post_load()
382 css_subch_assign(s->cssid, s->ssid, s->schid, s->devno, s); in subch_dev_post_load()
454 int css_create_css_image(uint8_t cssid, bool default_image) in css_create_css_image() argument
456 trace_css_new_image(cssid, default_image ? "(default)" : ""); in css_create_css_image()
458 if (cssid == 255) { in css_create_css_image()
461 if (channel_subsys.css[cssid]) { in css_create_css_image()
464 channel_subsys.css[cssid] = g_new0(CssImage, 1); in css_create_css_image()
466 channel_subsys.default_cssid = cssid; in css_create_css_image()
[all …]
H A Ds390-ccw.c78 unsigned int cssid, ssid, devid; in s390_ccw_get_dev_info() local
99 if (sscanf(tmp, "%2x.%1x.%4x", &cssid, &ssid, &devid) != 3) { in s390_ccw_get_dev_info()
104 cdev->hostid.cssid = cssid; in s390_ccw_get_dev_info()
143 css_generate_sch_crws(sch->cssid, sch->ssid, sch->schid, in s390_ccw_realize()
148 css_subch_assign(sch->cssid, sch->ssid, sch->schid, sch->devno, NULL); in s390_ccw_realize()
162 css_subch_assign(sch->cssid, sch->ssid, sch->schid, sch->devno, NULL); in s390_ccw_unrealize()
H A Dtrace-events6 css_chpid_add(uint8_t cssid, uint8_t chpid, uint8_t type) "CSS: add chpid %x.%02x (type 0x%02x)"
7 css_new_image(uint8_t cssid, const char *default_cssid) "CSS: add css image 0x%02x %s"
8 css_assign_subch(const char *do_assign, uint8_t cssid, uint8_t ssid, uint16_t schid, uint16_t devno…
9 css_io_interrupt(int cssid, int ssid, int schid, uint32_t intparm, uint8_t isc, const char *conditi…
14 virtio_ccw_interpret_ccw(int cssid, int ssid, int schid, int cmd_code) "VIRTIO-CCW: %x.%x.%04x: int…
15 virtio_ccw_new_device(int cssid, int ssid, int schid, int devno, const char *devno_mode) "VIRTIO-CC…
H A Dccw-device.c27 dev->dev_id.cssid = sch->cssid; in ccw_device_refill_ids()
32 dev->subch_id.cssid = sch->cssid; in ccw_device_refill_ids()
H A Ds390-hypercall.c35 int cssid, ssid, schid, m; in handle_virtio_ccw_notify() local
38 if (ioinst_disassemble_sch_ident(subch_id, &m, &cssid, &ssid, &schid)) { in handle_virtio_ccw_notify()
41 sch = css_find_subch(m, cssid, ssid, schid); in handle_virtio_ccw_notify()
H A Dcss-bridge.c54 css_generate_sch_crws(sch->cssid, sch->ssid, sch->schid, 1, 0); in ccw_device_unplug()
70 return g_strdup_printf("/%02x.%1x.%04x", sch->cssid, sch->ssid, sch->devno); in virtual_css_bus_get_dev_path()
H A D3270-ccw.c119 chpid = css_find_free_chpid(sch->cssid); in emulated_ccw_3270_realize()
148 css_subch_assign(sch->cssid, sch->ssid, sch->schid, sch->devno, NULL); in emulated_ccw_3270_realize()
H A Dvirtio-ccw.c335 trace_virtio_ccw_interpret_ccw(sch->cssid, sch->ssid, sch->schid, in virtio_ccw_cb()
768 sch->cssid, sch->ssid, sch->schid, sch->devno, in virtio_ccw_device_realize()
792 css_subch_assign(sch->cssid, sch->ssid, sch->schid, sch->devno, NULL); in virtio_ccw_device_realize()
808 css_subch_assign(sch->cssid, sch->ssid, sch->schid, sch->devno, NULL); in virtio_ccw_device_unrealize()
839 __func__, sch->cssid, sch->ssid, sch->schid); in virtio_set_ind_atomic()
1196 css_generate_sch_crws(sch->cssid, sch->ssid, sch->schid, in virtio_ccw_device_plugged()
H A Dipl.h84 uint8_t cssid; member
H A Dipl.c93 VMSTATE_UINT8(cssid, S390IPLState),
/qemu/include/hw/s390x/
H A Dcss.h124 uint8_t cssid; member
168 uint8_t cssid; member
196 typedef SubchDev *(*css_subch_cb_func)(uint8_t m, uint8_t cssid, uint8_t ssid,
198 int css_create_css_image(uint8_t cssid, bool default_image);
199 bool css_devno_used(uint8_t cssid, uint8_t ssid, uint16_t devno);
200 void css_subch_assign(uint8_t cssid, uint8_t ssid, uint16_t schid,
204 unsigned int css_find_free_chpid(uint8_t cssid);
214 void css_generate_sch_crws(uint8_t cssid, uint8_t ssid, uint16_t schid,
216 void css_generate_chp_crws(uint8_t cssid, uint8_t chpid);
217 void css_generate_css_crws(uint8_t cssid);
[all …]
H A Dioinst.h255 int ioinst_disassemble_sch_ident(uint32_t value, int *m, int *cssid, int *ssid,
/qemu/docs/system/s390x/
H A Dcss.rst10 in the form ``<cssid>.<ssid>.<device number>``.
12 The default channel subsystem image id (``<cssid>``) is ``0xfe``. Devices in
14 enable MCSS-E. Note that devices with a different cssid will not be visible
38 * a virtio-net device, cssid/ssid/devno automatically assigned::
/qemu/linux-headers/asm-s390/
H A Dkvm.h116 #define KVM_S390_INT_IO(ai,cssid,ssid,schid) \ argument
119 ((cssid) << 18) | \
/qemu/pc-bios/s390-ccw/
H A Dcio.h127 u16 cssid:8; member
H A Dcio.c406 printf(" cssid 0x%X\n", schid.cssid); in do_cio()
/qemu/qga/
H A Dcommands-linux.c577 unsigned int cssid, ssid, subchno, devno; in build_guest_fsinfo_for_ccw_dev() local
582 &cssid, &ssid, &subchno, &devno) < 4) { in build_guest_fsinfo_for_ccw_dev()
588 disk->ccw_address->cssid = cssid; in build_guest_fsinfo_for_ccw_dev()
H A Dqapi-schema.json914 # @cssid: channel subsystem image id
925 'data': {'cssid': 'int',
/qemu/hw/vfio/
H A Dccw.c78 sch->cssid, sch->ssid, sch->devno); in vfio_ccw_handle_request()
/qemu/docs/devel/
H A Dstyle.rst830 another_trace(int cssid, int ssid, int dev_num) "bus id: %x.%x.%04x"