/drivers/s390/cio/ |
D | ioasm.c | 16 static inline int __stsch(struct subchannel_id schid, struct schib *addr) in __stsch() argument 18 register struct subchannel_id reg1 asm ("1") = schid; in __stsch() 33 int stsch(struct subchannel_id schid, struct schib *addr) in stsch() argument 37 ccode = __stsch(schid, addr); in stsch() 38 trace_s390_cio_stsch(schid, addr, ccode); in stsch() 44 static inline int __msch(struct subchannel_id schid, struct schib *addr) in __msch() argument 46 register struct subchannel_id reg1 asm ("1") = schid; in __msch() 61 int msch(struct subchannel_id schid, struct schib *addr) in msch() argument 65 ccode = __msch(schid, addr); in msch() 66 trace_s390_cio_msch(schid, addr, ccode); in msch() [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 | vfio_ccw_fsm.c | 44 ccode = ssch(sch->schid, orb); in fsm_io_helper() 98 ccode = hsch(sch->schid); in fsm_do_halt() 139 ccode = csch(sch->schid); in fsm_do_clear() 236 return p->sch->schid; in get_schid() 250 struct subchannel_id schid = get_schid(private); in fsm_io_request() local 263 mdev_uuid(mdev), schid.cssid, in fsm_io_request() 264 schid.ssid, schid.sch_no); in fsm_io_request() 273 mdev_uuid(mdev), schid.cssid, in fsm_io_request() 274 schid.ssid, schid.sch_no, in fsm_io_request() 284 mdev_uuid(mdev), schid.cssid, in fsm_io_request() [all …]
|
D | idset.c | 79 void idset_sch_add(struct idset *set, struct subchannel_id schid) in idset_sch_add() argument 81 idset_add(set, schid.ssid, schid.sch_no); in idset_sch_add() 84 void idset_sch_del(struct idset *set, struct subchannel_id schid) in idset_sch_del() argument 86 idset_del(set, schid.ssid, schid.sch_no); in idset_sch_del() 90 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid) in idset_sch_del_subseq() argument 92 int pos = schid.ssid * set->num_id + schid.sch_no; in idset_sch_del_subseq() 94 bitmap_clear(set->bitmap, pos, set->num_id - schid.sch_no); in idset_sch_del_subseq() 97 int idset_sch_contains(struct idset *set, struct subchannel_id schid) in idset_sch_contains() argument 99 return idset_contains(set, schid.ssid, schid.sch_no); in idset_sch_contains()
|
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 | css.c | 48 struct subchannel_id schid; in for_each_subchannel() local 51 init_subchannel_id(&schid); in for_each_subchannel() 54 ret = fn(schid, data); in for_each_subchannel() 57 } while (schid.sch_no++ < __MAX_SUBCHANNEL); in for_each_subchannel() 58 schid.sch_no = 0; in for_each_subchannel() 59 } while (schid.ssid++ < max_ssid); in for_each_subchannel() 77 idset_sch_del(cb->set, sch->schid); in call_fn_known_sch() 83 static int call_fn_unknown_sch(struct subchannel_id schid, void *data) in call_fn_unknown_sch() argument 88 if (idset_sch_contains(cb->set, schid)) in call_fn_unknown_sch() 89 rc = cb->fn_unknown_sch(schid, cb->data); in call_fn_unknown_sch() [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 | vfio_ccw_trace.h | 19 TP_PROTO(int fctl, struct subchannel_id schid, int errno, char *errstr), 20 TP_ARGS(fctl, schid, errno, errstr), 24 __field_struct(struct subchannel_id, schid) 31 __entry->schid = schid; 37 __entry->schid.cssid, 38 __entry->schid.ssid, 39 __entry->schid.sch_no,
|
D | qdio_main.c | 33 static inline int do_siga_sync(unsigned long schid, in do_siga_sync() argument 38 register unsigned long __schid asm ("1") = schid; in do_siga_sync() 52 static inline int do_siga_input(unsigned long schid, unsigned int mask, in do_siga_input() argument 56 register unsigned long __schid asm ("1") = schid; in do_siga_input() 80 static inline int do_siga_output(unsigned long schid, unsigned long mask, in do_siga_output() argument 85 register unsigned long __schid asm("1") = schid; 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() 316 unsigned long schid = *((u32 *) &q->irq_ptr->schid); in qdio_siga_output() local [all …]
|
D | chsc.c | 97 int chsc_get_ssd_info(struct subchannel_id schid, struct chsc_ssd_info *ssd) in chsc_get_ssd_info() argument 111 ssd_area->ssid = schid.ssid; in chsc_get_ssd_info() 112 ssd_area->f_sch = schid.sch_no; in chsc_get_ssd_info() 113 ssd_area->l_sch = schid.sch_no; in chsc_get_ssd_info() 124 schid.ssid, schid.sch_no, in chsc_get_ssd_info() 161 int chsc_ssqd(struct subchannel_id schid, struct chsc_ssqd_area *ssqd) in chsc_ssqd() argument 166 ssqd->first_sch = schid.sch_no; in chsc_ssqd() 167 ssqd->last_sch = schid.sch_no; in chsc_ssqd() 168 ssqd->ssid = schid.ssid; in chsc_ssqd() 186 int chsc_sadc(struct subchannel_id schid, struct chsc_scssc_area *scssc, in chsc_sadc() argument [all …]
|
D | vfio_ccw_drv.c | 56 sch->schid.ssid, sch->schid.sch_no); in vfio_ccw_sch_quiesce() 171 sch->schid.cssid, sch->schid.ssid, in vfio_ccw_sch_probe() 172 sch->schid.sch_no); in vfio_ccw_sch_probe() 204 sch->schid.cssid, sch->schid.ssid, in vfio_ccw_sch_remove() 205 sch->schid.sch_no); in vfio_ccw_sch_remove()
|
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() 132 cc = stsch(sch->schid, &schib); in chsc_subchannel_prepare() 255 chsc_area->header.sid = sch->schid; in chsc_async() 257 CHSC_LOG_HEX(2, &sch->schid, sizeof(sch->schid)); in chsc_async() 278 sch->schid.ssid, sch->schid.sch_no, cc); in chsc_async() 615 sscud_area->m = cud->schid.m; in chsc_ioctl_info_sch_cu() 617 sscud_area->ssid = cud->schid.ssid; in chsc_ioctl_info_sch_cu() 618 sscud_area->first_sch = cud->schid.sch_no; in chsc_ioctl_info_sch_cu() [all …]
|
D | chsc.h | 101 struct subchannel_id schid; member 140 extern int chsc_get_ssd_info(struct subchannel_id schid, 164 int chsc_ssqd(struct subchannel_id schid, struct chsc_ssqd_area *ssqd); 165 int chsc_sadc(struct subchannel_id schid, struct chsc_scssc_area *scssc, 170 int chsc_siosl(struct subchannel_id schid); 249 int chsc_pnso_brinfo(struct subchannel_id schid,
|
D | qdio_setup.c | 300 struct subchannel_id *schid, in qdio_setup_get_ssqd() argument 306 DBF_EVENT("getssqd:%4x", schid->sch_no); in qdio_setup_get_ssqd() 315 rc = chsc_ssqd(*schid, ssqd); in qdio_setup_get_ssqd() 321 (ssqd->qdio_ssqd.sch != schid->sch_no)) in qdio_setup_get_ssqd() 339 rc = qdio_setup_get_ssqd(irq_ptr, &irq_ptr->schid, &irq_ptr->ssqd_desc); in qdio_setup_ssqd_info() 341 DBF_ERROR("%4x ssqd ERR", irq_ptr->schid.sch_no); in qdio_setup_ssqd_info() 477 ccw_device_get_schid(irq_ptr->cdev, &irq_ptr->schid); in qdio_setup_irq() 495 DBF_ERROR("%4x NO EQ", irq_ptr->schid.sch_no); in qdio_setup_irq() 502 DBF_ERROR("%4x NO AQ", irq_ptr->schid.sch_no); in qdio_setup_irq() 525 irq_ptr->schid.sch_no, in qdio_print_subchannel_info()
|
D | eadm_sch.c | 70 EADM_LOG_HEX(6, &sch->schid, sizeof(sch->schid)); in eadm_subchannel_start() 72 cc = ssch(sch->schid, orb); in eadm_subchannel_start() 90 cc = csch(sch->schid); in eadm_subchannel_clear() 105 EADM_LOG_HEX(1, &sch->schid, sizeof(sch->schid)); in eadm_subchannel_timeout()
|
D | device.c | 582 rc = chsc_siosl(sch->schid); in initiate_logging() 585 sch->schid.ssid, sch->schid.sch_no, rc); in initiate_logging() 589 sch->schid.ssid, sch->schid.sch_no); in initiate_logging() 745 priv->dev_id.ssid = sch->schid.ssid; in io_subchannel_initialize_dev() 960 cdev->private->dev_id.devno, sch->schid.ssid, in ccw_device_move_to_sch() 977 css_schedule_eval(old_sch->schid); in ccw_device_move_to_sch() 1022 if (cio_is_console(sch->schid)) in io_subchannel_init_fields() 1027 sch->isc = cio_is_console(sch->schid) ? CONSOLE_ISC : IO_SCH_ISC; in io_subchannel_init_fields() 1031 sch->schib.pmcw.dev, sch->schid.ssid, in io_subchannel_init_fields() 1032 sch->schid.sch_no, sch->schib.pmcw.pim, in io_subchannel_init_fields() [all …]
|
D | cio.h | 51 struct subchannel_id schid; member 96 struct subchannel_id schid; member 149 #define cio_is_console(schid) 0 argument
|
D | vfio_ccw_ops.c | 128 mdev_uuid(mdev), private->sch->schid.cssid, in vfio_ccw_mdev_create() 129 private->sch->schid.ssid, in vfio_ccw_mdev_create() 130 private->sch->schid.sch_no); in vfio_ccw_mdev_create() 141 mdev_uuid(mdev), private->sch->schid.cssid, in vfio_ccw_mdev_remove() 142 private->sch->schid.ssid, in vfio_ccw_mdev_remove() 143 private->sch->schid.sch_no); in vfio_ccw_mdev_remove()
|
D | device_status.c | 41 cdev->private->dev_id.devno, sch->schid.ssid, in ccw_device_msg_control_check() 42 sch->schid.sch_no, in ccw_device_msg_control_check() 44 sprintf(dbf_text, "chk%x", sch->schid.sch_no); in ccw_device_msg_control_check() 63 sch->schid.ssid, sch->schid.sch_no, in ccw_device_path_notoper()
|
D | qdio.h | 279 struct subchannel_id schid; member 312 #define SCH_NO(q) (q->irq_ptr->schid.sch_no) 398 struct subchannel_id *schid,
|
D | device_fsm.c | 48 cc = stsch(sch->schid, &schib); in ccw_timeout_log() 358 cdev->private->dev_id.devno, sch->schid.sch_no); in ccw_device_done() 366 cdev->private->dev_id.devno, sch->schid.sch_no); in ccw_device_done() 376 sch->schid.sch_no); in ccw_device_done() 655 css_schedule_eval(sch->schid); in ccw_device_offline_verify() 711 css_schedule_eval(sch->schid); in ccw_device_boxed_verify() 971 css_schedule_eval(sch->schid); in ccw_device_trigger_reprobe()
|
D | qdio_thinint.c | 226 rc = chsc_sadc(irq_ptr->schid, scssc, summary_indicator_addr, in set_subchannel_ind() 229 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);
|
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()
|
/drivers/s390/virtio/ |
D | virtio_ccw.c | 391 static inline long __do_kvm_notify(struct subchannel_id schid, in __do_kvm_notify() argument 396 register struct subchannel_id __schid asm("2") = schid; in __do_kvm_notify() 408 static inline long do_kvm_notify(struct subchannel_id schid, in do_kvm_notify() argument 413 return __do_kvm_notify(schid, queue_index, cookie); in do_kvm_notify() 420 struct subchannel_id schid; in virtio_ccw_kvm_notify() local 423 ccw_device_get_schid(vcdev->cdev, &schid); in virtio_ccw_kvm_notify() 424 info->cookie = do_kvm_notify(schid, vq->index, info->cookie); in virtio_ccw_kvm_notify()
|