| /linux/drivers/s390/cio/ |
| H A D | ioasm.c | 10 #include <asm/schid.h> 19 static inline int __stsch(struct subchannel_id schid, struct schib *addr) in __stsch() argument 21 unsigned long r1 = *(unsigned int *)&schid; in __stsch() 38 int stsch(struct subchannel_id schid, struct schib *addr) in stsch() argument 42 ccode = __stsch(schid, addr); in stsch() 43 trace_s390_cio_stsch(schid, addr, ccode); in stsch() 49 static inline int __msch(struct subchannel_id schid, struct schib *addr) in __msch() argument 51 unsigned long r1 = *(unsigned int *)&schid; in __msch() 68 int msch(struct subchannel_id schid, struct schib *addr) in msch() argument 72 ccode = __msch(schid, addr); in msch() [all …]
|
| H A D | trace.h | 12 #include <uapi/asm/schid.h> 25 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc), 26 TP_ARGS(schid, schib, cc), 47 __entry->cssid = schid.cssid; 48 __entry->ssid = schid.ssid; 49 __entry->schno = schid.sch_no; 65 TP_printk("schid=%x.%x.%04x cc=%d ena=%d st=%d dnv=%d dev=%04x " 80 * @schid: Subchannel ID 85 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc), 86 TP_ARGS(schid, schib, cc) [all …]
|
| H A D | vfio_ccw_trace.h | 21 TP_PROTO(struct subchannel_id schid, 24 TP_ARGS(schid, mask, event), 35 __entry->cssid = schid.cssid; 36 __entry->ssid = schid.ssid; 37 __entry->sch_no = schid.sch_no; 42 TP_printk("schid=%x.%x.%04x mask=0x%x event=%d", 51 TP_PROTO(struct subchannel_id schid, 54 TP_ARGS(schid, command, errno), 65 __entry->cssid = schid.cssid; 66 __entry->ssid = schid.ssid; [all …]
|
| H A D | idset.c | 69 void idset_sch_add(struct idset *set, struct subchannel_id schid) in idset_sch_add() argument 71 idset_add(set, schid.ssid, schid.sch_no); in idset_sch_add() 74 void idset_sch_del(struct idset *set, struct subchannel_id schid) in idset_sch_del() argument 76 idset_del(set, schid.ssid, schid.sch_no); in idset_sch_del() 79 /* Clear ids starting from @schid up to end of subchannel set. */ 80 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid) in idset_sch_del_subseq() argument 82 int pos = schid.ssid * set->num_id + schid.sch_no; in idset_sch_del_subseq() 84 bitmap_clear(set->bitmap, pos, set->num_id - schid.sch_no); in idset_sch_del_subseq() 87 int idset_sch_contains(struct idset *set, struct subchannel_id schid) in idset_sch_contains() argument 89 return idset_contains(set, schid.ssid, schid.sch_no); in idset_sch_contains()
|
| H A D | vfio_ccw_fsm.c | 40 ccode = ssch(sch->schid, orb); in fsm_io_helper() 92 ccode = hsch(sch->schid); in fsm_do_halt() 131 ccode = csch(sch->schid); in fsm_do_clear() 160 sch->schid.cssid, in fsm_notoper() 161 sch->schid.ssid, in fsm_notoper() 162 sch->schid.sch_no, in fsm_notoper() 237 return sch->schid; in get_schid() 250 struct subchannel_id schid = get_schid(private); in fsm_io_request() local 263 schid.cssid, in fsm_io_request() 264 schid.ssid, schid.sch_no); in fsm_io_request() [all …]
|
| H A D | ioasm.h | 6 #include <asm/schid.h> 16 int stsch(struct subchannel_id schid, struct schib *addr); 17 int msch(struct subchannel_id schid, struct schib *addr); 18 int tsch(struct subchannel_id schid, struct irb *addr); 19 int ssch(struct subchannel_id schid, union orb *addr); 20 int csch(struct subchannel_id schid); 23 int rsch(struct subchannel_id schid); 24 int hsch(struct subchannel_id schid); 25 int xsch(struct subchannel_id schid);
|
| H A D | qdio_main.c | 36 static inline int do_siga_sync(unsigned long schid, in do_siga_sync() argument 44 " lgr 1,%[schid]\n" in do_siga_sync() 50 : [fc] "d" (fc), [schid] "d" (schid), in do_siga_sync() 56 static inline int do_siga_input(unsigned long schid, unsigned long mask, in do_siga_input() argument 63 " lgr 1,%[schid]\n" in do_siga_input() 68 : [fc] "d" (fc), [schid] "d" (schid), [mask] "d" (mask) in do_siga_input() 75 * @schid: subchannel id or in case of QEBSM the subchannel token 84 static inline int do_siga_output(unsigned long schid, unsigned long mask, in do_siga_output() argument 92 " lgr 1,%[schid]\n" in do_siga_output() 99 : [schid] "d" (schid), [mask] "d" (mask), [aob] "d" (aob) in do_siga_output() [all …]
|
| H A D | vfio_ccw_drv.c | 59 sch->schid.ssid, sch->schid.sch_no); in vfio_ccw_sch_quiesce() 144 sch->schid.cssid, sch->schid.ssid, in vfio_ccw_sch_irq() 145 sch->schid.sch_no); in vfio_ccw_sch_irq() 197 sch->schid.cssid, sch->schid.ssid, in vfio_ccw_sch_probe() 198 sch->schid.sch_no); in vfio_ccw_sch_probe() 219 sch->schid.cssid, sch->schid.ssid, in vfio_ccw_sch_remove() 220 sch->schid.sch_no); in vfio_ccw_sch_remove() 310 trace_vfio_ccw_chp_event(sch->schid, mask, event); in vfio_ccw_chp_event() 312 sch->schid.cssid, in vfio_ccw_chp_event() 313 sch->schid.ssid, sch->schid.sch_no, in vfio_ccw_chp_event()
|
| H A D | chsc.c | 116 int chsc_get_ssd_info(struct subchannel_id schid, struct chsc_ssd_info *ssd) in chsc_get_ssd_info() argument 130 ssd_area->ssid = schid.ssid; in chsc_get_ssd_info() 131 ssd_area->f_sch = schid.sch_no; in chsc_get_ssd_info() 132 ssd_area->l_sch = schid.sch_no; in chsc_get_ssd_info() 143 schid.ssid, schid.sch_no, in chsc_get_ssd_info() 175 * @schid: id of the subchannel on which SSQD is performed 180 int chsc_ssqd(struct subchannel_id schid, struct chsc_ssqd_area *ssqd) in chsc_ssqd() argument 185 ssqd->first_sch = schid.sch_no; in chsc_ssqd() 186 ssqd->last_sch = schid.sch_no; in chsc_ssqd() 187 ssqd->ssid = schid.ssid; in chsc_ssqd() [all …]
|
| H A D | chsc_sch.c | 66 sch->schid.ssid, sch->schid.sch_no); in chsc_subchannel_irq() 82 sch->schid.ssid, sch->schid.sch_no); in chsc_subchannel_probe() 91 sch->schid.ssid, sch->schid.sch_no, ret); in chsc_subchannel_probe() 220 chsc_area->header.sid = sch->schid; in chsc_async() 221 CHSC_LOG(2, "schid"); in chsc_async() 222 CHSC_LOG_HEX(2, &sch->schid, sizeof(sch->schid)); in chsc_async() 243 sch->schid.ssid, sch->schid.sch_no, cc); in chsc_async() 580 sscud_area->m = cud->schid.m; in chsc_ioctl_info_sch_cu() 582 sscud_area->ssid = cud->schid.ssid; in chsc_ioctl_info_sch_cu() 583 sscud_area->first_sch = cud->schid.sch_no; in chsc_ioctl_info_sch_cu() [all …]
|
| H A D | device.c | 571 rc = chsc_siosl(sch->schid); in initiate_logging() 574 sch->schid.ssid, sch->schid.sch_no, rc); in initiate_logging() 578 sch->schid.ssid, sch->schid.sch_no); in initiate_logging() 742 priv->dev_id.ssid = sch->schid.ssid; in io_subchannel_initialize_dev() 943 cdev->private->dev_id.devno, sch->schid.ssid, in ccw_device_move_to_sch() 960 css_schedule_eval(old_sch->schid); in ccw_device_move_to_sch() 1005 if (cio_is_console(sch->schid)) in io_subchannel_init_fields() 1010 sch->isc = cio_is_console(sch->schid) ? CONSOLE_ISC : IO_SCH_ISC; in io_subchannel_init_fields() 1014 sch->schib.pmcw.dev, sch->schid.ssid, in io_subchannel_init_fields() 1015 sch->schid.sch_no, sch->schib.pmcw.pim, in io_subchannel_init_fields() [all …]
|
| H A D | eadm_sch.c | 72 EADM_LOG_HEX(6, &sch->schid, sizeof(sch->schid)); in eadm_subchannel_start() 74 cc = ssch(sch->schid, orb); in eadm_subchannel_start() 92 cc = csch(sch->schid); in eadm_subchannel_clear() 107 EADM_LOG_HEX(1, &sch->schid, sizeof(sch->schid)); in eadm_subchannel_timeout()
|
| H A D | idset.h | 10 #include <asm/schid.h> 20 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid);
|
| H A D | vfio_ccw_ops.c | 112 sch->schid.cssid, in vfio_ccw_mdev_probe() 113 sch->schid.ssid, in vfio_ccw_mdev_probe() 114 sch->schid.sch_no); in vfio_ccw_mdev_probe() 154 sch->schid.cssid, in vfio_ccw_mdev_remove() 155 sch->schid.ssid, in vfio_ccw_mdev_remove() 156 sch->schid.sch_no); in vfio_ccw_mdev_remove()
|
| H A D | css.h | 13 #include <asm/schid.h> 154 void css_schedule_eval(struct subchannel_id schid);
|
| H A D | qdio_thinint.c | 151 rc = chsc_sadc(irq_ptr->schid, scssc, summary_indicator_addr, in set_subchannel_ind() 154 DBF_ERROR("%4x SSI r:%4x", irq_ptr->schid.sch_no, in set_subchannel_ind()
|
| H A D | device_fsm.c | 50 cc = stsch(sch->schid, &schib); in ccw_timeout_log() 348 cdev->private->dev_id.devno, sch->schid.sch_no); in ccw_device_done() 356 cdev->private->dev_id.devno, sch->schid.sch_no); in ccw_device_done() 366 sch->schid.sch_no); in ccw_device_done() 650 css_schedule_eval(sch->schid); in ccw_device_offline_verify() 706 css_schedule_eval(sch->schid); in ccw_device_boxed_verify() 966 css_schedule_eval(sch->schid); in ccw_device_trigger_reprobe()
|
| H A D | io_sch.h | 6 #include <asm/schid.h>
|
| /linux/arch/s390/include/asm/ |
| H A D | schid.h | 6 #include <uapi/asm/schid.h> 10 init_subchannel_id(struct subchannel_id *schid) in init_subchannel_id() argument 12 memset(schid, 0, sizeof(struct subchannel_id)); in init_subchannel_id() 13 schid->one = 1; in init_subchannel_id()
|
| H A D | tpi.h | 6 #include <uapi/asm/schid.h> 12 struct subchannel_id schid; member
|
| /linux/arch/s390/include/uapi/asm/ |
| H A D | chsc.h | 15 #include <asm/schid.h> 66 struct subchannel_id schid; member
|
| /linux/arch/s390/kvm/ |
| H A D | interrupt.c | 1132 VCPU_EVENT(vcpu, 4, "deliver: I/O %x ss %x schid %04x", in __deliver_io() 1658 int isc, u32 schid) in get_io_int() argument 1663 u16 id = (schid & 0xffff0000U) >> 16; in get_io_int() 1664 u16 nr = schid & 0x0000ffffU; in get_io_int() 1668 if (schid && (id != iter->io.subchannel_id || in get_io_int() 1684 u64 isc_mask, u32 schid) in get_top_io_int() argument 1691 inti = get_io_int(kvm, isc, schid); in get_top_io_int() 1696 static int get_top_gisa_isc(struct kvm *kvm, u64 isc_mask, u32 schid) in get_top_gisa_isc() argument 1702 if (schid) in get_top_gisa_isc() 1720 * subclasses as designated by the isc mask in cr6 and the schid (if != 0). [all …]
|
| /linux/Documentation/virt/kvm/devices/ |
| H A D | s390_flic.rst | 170 zero schid is specified.
|
| /linux/drivers/s390/block/ |
| H A D | dasd_ioctl.c | 20 #include <asm/schid.h> 522 dasd_info->schid = sch_id.sch_no; in __dasd_ioctl_information()
|
| /linux/drivers/dma/qcom/ |
| H A D | gpi.c | 1462 int schid, echid, i; in gpi_terminate_all() local 1471 schid = (gchan->protocol == QCOM_GPI_UART) ? gchan->chid : 0; in gpi_terminate_all() 1472 echid = (gchan->protocol == QCOM_GPI_UART) ? schid + 1 : MAX_CHANNELS_PER_GPII; in gpi_terminate_all() 1475 for (i = schid; i < echid; i++) { in gpi_terminate_all() 1488 for (i = schid; i < echid; i++) { in gpi_terminate_all() 1506 for (i = schid; i < echid; i++) { in gpi_terminate_all()
|