/linux-6.6.21/drivers/s390/cio/ |
D | ioasm.c | 18 static inline int __stsch(struct subchannel_id schid, struct schib *addr) in __stsch() argument 20 unsigned long r1 = *(unsigned int *)&schid; in __stsch() 36 int stsch(struct subchannel_id schid, struct schib *addr) in stsch() argument 40 ccode = __stsch(schid, addr); in stsch() 41 trace_s390_cio_stsch(schid, addr, ccode); in stsch() 47 static inline int __msch(struct subchannel_id schid, struct schib *addr) in __msch() argument 49 unsigned long r1 = *(unsigned int *)&schid; in __msch() 65 int msch(struct subchannel_id schid, struct schib *addr) in msch() argument 69 ccode = __msch(schid, addr); in msch() 70 trace_s390_cio_msch(schid, addr, ccode); in msch() [all …]
|
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; 51 TP_PROTO(struct subchannel_id schid, 54 TP_ARGS(schid, command, errno), 65 __entry->cssid = schid.cssid; 66 __entry->ssid = schid.ssid; 67 __entry->sch_no = schid.sch_no; [all …]
|
D | trace.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; 85 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc), 86 TP_ARGS(schid, schib, cc) 96 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc), 97 TP_ARGS(schid, schib, cc) 107 TP_PROTO(struct subchannel_id schid, struct irb *irb, int cc), [all …]
|
D | idset.c | 67 void idset_sch_add(struct idset *set, struct subchannel_id schid) in idset_sch_add() argument 69 idset_add(set, schid.ssid, schid.sch_no); in idset_sch_add() 72 void idset_sch_del(struct idset *set, struct subchannel_id schid) in idset_sch_del() argument 74 idset_del(set, schid.ssid, schid.sch_no); in idset_sch_del() 78 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid) in idset_sch_del_subseq() argument 80 int pos = schid.ssid * set->num_id + schid.sch_no; in idset_sch_del_subseq() 82 bitmap_clear(set->bitmap, pos, set->num_id - schid.sch_no); in idset_sch_del_subseq() 85 int idset_sch_contains(struct idset *set, struct subchannel_id schid) in idset_sch_contains() argument 87 return idset_contains(set, schid.ssid, schid.sch_no); in idset_sch_contains()
|
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 …]
|
D | ioasm.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);
|
D | css.c | 47 struct subchannel_id schid; in for_each_subchannel() local 50 init_subchannel_id(&schid); in for_each_subchannel() 53 ret = fn(schid, data); in for_each_subchannel() 56 } while (schid.sch_no++ < __MAX_SUBCHANNEL); in for_each_subchannel() 57 schid.sch_no = 0; in for_each_subchannel() 58 } while (schid.ssid++ < max_ssid); in for_each_subchannel() 76 idset_sch_del(cb->set, sch->schid); in call_fn_known_sch() 82 static int call_fn_unknown_sch(struct subchannel_id schid, void *data) in call_fn_unknown_sch() argument 87 if (idset_sch_contains(cb->set, schid)) in call_fn_unknown_sch() 88 rc = cb->fn_unknown_sch(schid, cb->data); in call_fn_unknown_sch() [all …]
|
D | cio.c | 109 "subchannel 0.%x.%04x!\n", sch->schid.ssid, in cio_start_handle_notoper() 110 sch->schid.sch_no); in cio_start_handle_notoper() 152 ccode = ssch(sch->schid, orb); in cio_start_key() 193 ccode = rsch (sch->schid); in cio_resume() 232 ccode = hsch (sch->schid); in cio_halt() 266 ccode = csch (sch->schid); in cio_clear() 298 ccode = xsch (sch->schid); in cio_cancel() 415 if (stsch(sch->schid, &schib) || !css_sch_is_valid(&schib)) in cio_commit_config() 421 ccode = msch(sch->schid, &schib); in cio_commit_config() 426 if (stsch(sch->schid, &schib) || in cio_commit_config() [all …]
|
D | qdio_main.c | 33 static inline int do_siga_sync(unsigned long schid, in do_siga_sync() argument 48 : [fc] "d" (fc), [schid] "d" (schid), in do_siga_sync() 54 static inline int do_siga_input(unsigned long schid, unsigned long mask, in do_siga_input() argument 67 : [fc] "d" (fc), [schid] "d" (schid), [mask] "d" (mask) in do_siga_input() 83 static inline int do_siga_output(unsigned long schid, unsigned long mask, in do_siga_output() argument 99 : [schid] "d" (schid), [mask] "d" (mask), [aob] "d" (aob) in do_siga_output() 287 unsigned long schid = *((u32 *) &q->irq_ptr->schid); in qdio_siga_sync() local 295 schid = q->irq_ptr->sch_token; in qdio_siga_sync() 299 cc = do_siga_sync(schid, output, input, fc); in qdio_siga_sync() 326 unsigned long schid = *((u32 *) &q->irq_ptr->schid); in qdio_siga_output() local [all …]
|
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()
|
D | chsc.c | 103 int chsc_get_ssd_info(struct subchannel_id schid, struct chsc_ssd_info *ssd) in chsc_get_ssd_info() argument 117 ssd_area->ssid = schid.ssid; in chsc_get_ssd_info() 118 ssd_area->f_sch = schid.sch_no; in chsc_get_ssd_info() 119 ssd_area->l_sch = schid.sch_no; in chsc_get_ssd_info() 130 schid.ssid, schid.sch_no, in chsc_get_ssd_info() 167 int chsc_ssqd(struct subchannel_id schid, struct chsc_ssqd_area *ssqd) in chsc_ssqd() argument 172 ssqd->first_sch = schid.sch_no; in chsc_ssqd() 173 ssqd->last_sch = schid.sch_no; in chsc_ssqd() 174 ssqd->ssid = schid.ssid; in chsc_ssqd() 193 int chsc_sadc(struct subchannel_id schid, struct chsc_scssc_area *scssc, in chsc_sadc() argument [all …]
|
D | chsc.h | 102 struct subchannel_id schid; member 141 extern int chsc_get_ssd_info(struct subchannel_id schid, 165 int chsc_ssqd(struct subchannel_id schid, struct chsc_ssqd_area *ssqd); 166 int chsc_sadc(struct subchannel_id schid, struct chsc_scssc_area *scssc, 172 int chsc_siosl(struct subchannel_id schid); 209 int chsc_pnso(struct subchannel_id schid, struct chsc_pnso_area *pnso_area,
|
D | chsc_sch.c | 67 sch->schid.ssid, sch->schid.sch_no); in chsc_subchannel_irq() 83 sch->schid.ssid, sch->schid.sch_no); in chsc_subchannel_probe() 92 sch->schid.ssid, sch->schid.sch_no, ret); in chsc_subchannel_probe() 221 chsc_area->header.sid = sch->schid; in chsc_async() 223 CHSC_LOG_HEX(2, &sch->schid, sizeof(sch->schid)); in chsc_async() 244 sch->schid.ssid, sch->schid.sch_no, cc); in chsc_async() 581 sscud_area->m = cud->schid.m; in chsc_ioctl_info_sch_cu() 583 sscud_area->ssid = cud->schid.ssid; in chsc_ioctl_info_sch_cu() 584 sscud_area->first_sch = cud->schid.sch_no; in chsc_ioctl_info_sch_cu() 585 sscud_area->cssid = cud->schid.cssid; in chsc_ioctl_info_sch_cu() [all …]
|
D | qdio_setup.c | 237 struct subchannel_id *schid, in qdio_setup_get_ssqd() argument 243 DBF_EVENT("getssqd:%4x", schid->sch_no); in qdio_setup_get_ssqd() 252 rc = chsc_ssqd(*schid, ssqd); in qdio_setup_get_ssqd() 258 (ssqd->qdio_ssqd.sch != schid->sch_no)) in qdio_setup_get_ssqd() 276 rc = qdio_setup_get_ssqd(irq_ptr, &irq_ptr->schid, &irq_ptr->ssqd_desc); in qdio_setup_ssqd_info() 278 DBF_ERROR("%4x ssqd ERR", irq_ptr->schid.sch_no); in qdio_setup_ssqd_info() 370 ccw_device_get_schid(cdev, &irq_ptr->schid); in qdio_setup_irq() 407 irq_ptr->schid.sch_no, in qdio_print_subchannel_info()
|
D | eadm_sch.c | 71 EADM_LOG_HEX(6, &sch->schid, sizeof(sch->schid)); in eadm_subchannel_start() 73 cc = ssch(sch->schid, orb); in eadm_subchannel_start() 91 cc = csch(sch->schid); in eadm_subchannel_clear() 106 EADM_LOG_HEX(1, &sch->schid, sizeof(sch->schid)); in eadm_subchannel_timeout()
|
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 …]
|
D | device_status.c | 42 cdev->private->dev_id.devno, sch->schid.ssid, in ccw_device_msg_control_check() 43 sch->schid.sch_no, in ccw_device_msg_control_check() 45 sprintf(dbf_text, "chk%x", sch->schid.sch_no); in ccw_device_msg_control_check() 64 sch->schid.ssid, sch->schid.sch_no, in ccw_device_path_notoper()
|
D | device_ops.c | 705 void ccw_device_get_schid(struct ccw_device *cdev, struct subchannel_id *schid) in ccw_device_get_schid() argument 709 *schid = sch->schid; in ccw_device_get_schid() 729 struct subchannel_id schid; in ccw_device_pnso() local 731 ccw_device_get_schid(cdev, &schid); in ccw_device_pnso() 732 return chsc_pnso(schid, pnso_area, oc, resume_token, cnc); in ccw_device_pnso()
|
D | cio.h | 85 struct subchannel_id schid; member 142 #define cio_is_console(schid) 0 argument
|
D | vfio_ccw_ops.c | 113 sch->schid.cssid, in vfio_ccw_mdev_probe() 114 sch->schid.ssid, in vfio_ccw_mdev_probe() 115 sch->schid.sch_no); in vfio_ccw_mdev_probe() 155 sch->schid.cssid, in vfio_ccw_mdev_remove() 156 sch->schid.ssid, in vfio_ccw_mdev_remove() 157 sch->schid.sch_no); in vfio_ccw_mdev_remove()
|
D | qdio.h | 230 struct subchannel_id schid; member 265 #define SCH_NO(q) (q->irq_ptr->schid.sch_no) 338 struct subchannel_id *schid,
|
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()
|
D | idset.h | 20 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid);
|
/linux-6.6.21/arch/s390/include/asm/ |
D | 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()
|
/linux-6.6.21/arch/s390/include/uapi/asm/ |
D | dasd.h | 32 unsigned int schid; /* S/390 subchannel identifier */ member 104 unsigned int schid; /* S/390 subchannel identifier */ member
|