/drivers/s390/cio/ |
D | ioasm.c | 15 static inline int __stsch(struct subchannel_id schid, struct schib *addr) in __stsch() argument 17 register struct subchannel_id reg1 asm ("1") = schid; in __stsch() 32 int stsch(struct subchannel_id schid, struct schib *addr) in stsch() argument 36 ccode = __stsch(schid, addr); in stsch() 37 trace_s390_cio_stsch(schid, addr, ccode); in stsch() 43 static inline int __msch(struct subchannel_id schid, struct schib *addr) in __msch() argument 45 register struct subchannel_id reg1 asm ("1") = schid; in __msch() 60 int msch(struct subchannel_id schid, struct schib *addr) in msch() argument 64 ccode = __msch(schid, addr); in msch() 65 trace_s390_cio_msch(schid, addr, ccode); in msch() [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() 191 ccode = rsch (sch->schid); in cio_resume() 229 ccode = hsch (sch->schid); in cio_halt() 262 ccode = csch (sch->schid); in cio_clear() 293 ccode = xsch (sch->schid); in cio_cancel() 349 if (stsch(sch->schid, &schib) || !css_sch_is_valid(&schib)) in cio_commit_config() 355 ccode = msch(sch->schid, &schib); in cio_commit_config() 360 if (stsch(sch->schid, &schib) || in cio_commit_config() [all …]
|
D | trace.h | 24 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc), 25 TP_ARGS(schid, schib, cc), 35 __entry->cssid = schid.cssid; 36 __entry->ssid = schid.ssid; 37 __entry->schno = schid.sch_no; 62 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc), 63 TP_ARGS(schid, schib, cc) 73 TP_PROTO(struct subchannel_id schid, struct schib *schib, int cc), 74 TP_ARGS(schid, schib, cc) 84 TP_PROTO(struct subchannel_id schid, struct irb *irb, int cc), [all …]
|
D | idset.c | 78 void idset_sch_add(struct idset *set, struct subchannel_id schid) in idset_sch_add() argument 80 idset_add(set, schid.ssid, schid.sch_no); in idset_sch_add() 83 void idset_sch_del(struct idset *set, struct subchannel_id schid) in idset_sch_del() argument 85 idset_del(set, schid.ssid, schid.sch_no); in idset_sch_del() 89 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid) in idset_sch_del_subseq() argument 91 int pos = schid.ssid * set->num_id + schid.sch_no; in idset_sch_del_subseq() 93 bitmap_clear(set->bitmap, pos, set->num_id - schid.sch_no); in idset_sch_del_subseq() 96 int idset_sch_contains(struct idset *set, struct subchannel_id schid) in idset_sch_contains() argument 98 return idset_contains(set, schid.ssid, schid.sch_no); in idset_sch_contains()
|
D | css.c | 43 struct subchannel_id schid; in for_each_subchannel() local 46 init_subchannel_id(&schid); in for_each_subchannel() 49 ret = fn(schid, data); in for_each_subchannel() 52 } while (schid.sch_no++ < __MAX_SUBCHANNEL); in for_each_subchannel() 53 schid.sch_no = 0; in for_each_subchannel() 54 } while (schid.ssid++ < max_ssid); in for_each_subchannel() 72 idset_sch_del(cb->set, sch->schid); in call_fn_known_sch() 78 static int call_fn_unknown_sch(struct subchannel_id schid, void *data) in call_fn_unknown_sch() argument 83 if (idset_sch_contains(cb->set, schid)) in call_fn_unknown_sch() 84 rc = cb->fn_unknown_sch(schid, cb->data); in call_fn_unknown_sch() [all …]
|
D | ioasm.h | 15 int stsch(struct subchannel_id schid, struct schib *addr); 16 int msch(struct subchannel_id schid, struct schib *addr); 17 int tsch(struct subchannel_id schid, struct irb *addr); 18 int ssch(struct subchannel_id schid, union orb *addr); 19 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 | qdio_main.c | 32 static inline int do_siga_sync(unsigned long schid, in do_siga_sync() argument 37 register unsigned long __schid asm ("1") = schid; in do_siga_sync() 51 static inline int do_siga_input(unsigned long schid, unsigned int mask, in do_siga_input() argument 55 register unsigned long __schid asm ("1") = schid; in do_siga_input() 78 static inline int do_siga_output(unsigned long schid, unsigned long mask, in do_siga_output() argument 83 register unsigned long __schid asm("1") = schid; in do_siga_output() 289 unsigned long schid = *((u32 *) &q->irq_ptr->schid); in qdio_siga_sync() local 297 schid = q->irq_ptr->sch_token; in qdio_siga_sync() 301 cc = do_siga_sync(schid, output, input, fc); in qdio_siga_sync() 318 unsigned long schid = *((u32 *) &q->irq_ptr->schid); in qdio_siga_output() local [all …]
|
D | chsc.c | 95 int chsc_get_ssd_info(struct subchannel_id schid, struct chsc_ssd_info *ssd) in chsc_get_ssd_info() argument 109 ssd_area->ssid = schid.ssid; in chsc_get_ssd_info() 110 ssd_area->f_sch = schid.sch_no; in chsc_get_ssd_info() 111 ssd_area->l_sch = schid.sch_no; in chsc_get_ssd_info() 122 schid.ssid, schid.sch_no, in chsc_get_ssd_info() 159 int chsc_ssqd(struct subchannel_id schid, struct chsc_ssqd_area *ssqd) in chsc_ssqd() argument 164 ssqd->first_sch = schid.sch_no; in chsc_ssqd() 165 ssqd->last_sch = schid.sch_no; in chsc_ssqd() 166 ssqd->ssid = schid.ssid; in chsc_ssqd() 184 int chsc_sadc(struct subchannel_id schid, struct chsc_scssc_area *scssc, in chsc_sadc() argument [all …]
|
D | chsc_sch.c | 70 sch->schid.ssid, sch->schid.sch_no); in chsc_subchannel_irq() 86 sch->schid.ssid, sch->schid.sch_no); in chsc_subchannel_probe() 95 sch->schid.ssid, sch->schid.sch_no, ret); in chsc_subchannel_probe() 136 cc = stsch(sch->schid, &schib); in chsc_subchannel_prepare() 259 chsc_area->header.sid = sch->schid; in chsc_async() 261 CHSC_LOG_HEX(2, &sch->schid, sizeof(sch->schid)); in chsc_async() 282 sch->schid.ssid, sch->schid.sch_no, cc); in chsc_async() 619 sscud_area->m = cud->schid.m; in chsc_ioctl_info_sch_cu() 621 sscud_area->ssid = cud->schid.ssid; in chsc_ioctl_info_sch_cu() 622 sscud_area->first_sch = cud->schid.sch_no; in chsc_ioctl_info_sch_cu() [all …]
|
D | chsc.h | 95 struct subchannel_id schid; member 134 extern int chsc_get_ssd_info(struct subchannel_id schid, 156 int chsc_ssqd(struct subchannel_id schid, struct chsc_ssqd_area *ssqd); 157 int chsc_sadc(struct subchannel_id schid, struct chsc_scssc_area *scssc, 161 int chsc_siosl(struct subchannel_id schid); 240 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() 503 DBF_ERROR("%4x NO AQ", irq_ptr->schid.sch_no); in qdio_setup_irq() 528 irq_ptr->schid.sch_no, in qdio_print_subchannel_info()
|
D | eadm_sch.c | 75 EADM_LOG_HEX(6, &sch->schid, sizeof(sch->schid)); in eadm_subchannel_start() 77 cc = ssch(sch->schid, orb); in eadm_subchannel_start() 95 cc = csch(sch->schid); in eadm_subchannel_clear() 109 EADM_LOG_HEX(1, &sch->schid, sizeof(sch->schid)); in eadm_subchannel_timeout()
|
D | device.c | 618 rc = chsc_siosl(sch->schid); in initiate_logging() 621 sch->schid.ssid, sch->schid.sch_no, rc); in initiate_logging() 625 sch->schid.ssid, sch->schid.sch_no); in initiate_logging() 764 priv->dev_id.ssid = sch->schid.ssid; in io_subchannel_initialize_dev() 979 cdev->private->dev_id.devno, sch->schid.ssid, in ccw_device_move_to_sch() 996 css_schedule_eval(old_sch->schid); in ccw_device_move_to_sch() 1041 if (cio_is_console(sch->schid)) in io_subchannel_init_fields() 1046 sch->isc = cio_is_console(sch->schid) ? CONSOLE_ISC : IO_SCH_ISC; in io_subchannel_init_fields() 1050 sch->schib.pmcw.dev, sch->schid.ssid, in io_subchannel_init_fields() 1051 sch->schid.sch_no, sch->schib.pmcw.pim, in io_subchannel_init_fields() [all …]
|
D | cio.h | 50 struct subchannel_id schid; member 95 struct subchannel_id schid; member 144 #define cio_is_console(schid) 0 argument
|
D | device_status.c | 40 cdev->private->dev_id.devno, sch->schid.ssid, in ccw_device_msg_control_check() 41 sch->schid.sch_no, in ccw_device_msg_control_check() 43 sprintf(dbf_text, "chk%x", sch->schid.sch_no); in ccw_device_msg_control_check() 62 sch->schid.ssid, sch->schid.sch_no, in ccw_device_path_notoper()
|
D | qdio.h | 283 struct subchannel_id schid; member 315 #define SCH_NO(q) (q->irq_ptr->schid.sch_no) 402 struct subchannel_id *schid,
|
D | device_fsm.c | 47 cc = stsch(sch->schid, &schib); in ccw_timeout_log() 391 cdev->private->dev_id.devno, sch->schid.sch_no); in ccw_device_done() 399 cdev->private->dev_id.devno, sch->schid.sch_no); in ccw_device_done() 409 sch->schid.sch_no); in ccw_device_done() 675 css_schedule_eval(sch->schid); in ccw_device_offline_verify() 730 css_schedule_eval(sch->schid); in ccw_device_boxed_verify() 986 css_schedule_eval(sch->schid); in ccw_device_trigger_reprobe()
|
D | qdio_thinint.c | 228 rc = chsc_sadc(irq_ptr->schid, scssc, summary_indicator_addr, in set_subchannel_ind() 231 DBF_ERROR("%4x SSI r:%4x", irq_ptr->schid.sch_no, in set_subchannel_ind()
|
D | idset.h | 19 void idset_sch_del_subseq(struct idset *set, struct subchannel_id schid);
|
D | device_ops.c | 671 void ccw_device_get_schid(struct ccw_device *cdev, struct subchannel_id *schid) in ccw_device_get_schid() argument 675 *schid = sch->schid; in ccw_device_get_schid()
|
D | css.h | 134 void css_schedule_eval(struct subchannel_id schid);
|
D | ccwreq.c | 340 sch->schid.cssid, in ccw_request_timeout()
|
/drivers/s390/virtio/ |
D | virtio_ccw.c | 371 static inline long __do_kvm_notify(struct subchannel_id schid, in __do_kvm_notify() argument 376 register struct subchannel_id __schid asm("2") = schid; in __do_kvm_notify() 388 static inline long do_kvm_notify(struct subchannel_id schid, in do_kvm_notify() argument 393 return __do_kvm_notify(schid, queue_index, cookie); in do_kvm_notify() 400 struct subchannel_id schid; in virtio_ccw_kvm_notify() local 403 ccw_device_get_schid(vcdev->cdev, &schid); in virtio_ccw_kvm_notify() 404 info->cookie = do_kvm_notify(schid, vq->index, info->cookie); in virtio_ccw_kvm_notify()
|
/drivers/s390/net/ |
D | qeth_l2_main.c | 2149 struct subchannel_id schid; in qeth_bridgeport_an_set() local 2156 ccw_device_get_schid(ddev, &schid); in qeth_bridgeport_an_set() 2160 rc = qdio_pnso_brinfo(schid, 1, &response, in qeth_bridgeport_an_set() 2163 rc = qdio_pnso_brinfo(schid, 0, &response, NULL, NULL); in qeth_bridgeport_an_set()
|
/drivers/s390/block/ |
D | dasd_ioctl.c | 437 dasd_info->schid = sch_id.sch_no; in dasd_ioctl_information()
|