Lines Matching refs:schid
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()
372 if (tsch(sch->schid, &irb)) in cio_commit_config()
395 if (stsch(sch->schid, &schib) || !css_sch_is_valid(&schib)) in cio_update_schib()
464 if (is_blacklisted(sch->schid.ssid, sch->schib.pmcw.dev)) { in cio_check_devno_blacklisted()
471 sch->schib.pmcw.dev, sch->schid.ssid); in cio_check_devno_blacklisted()
489 int cio_validate_subchannel(struct subchannel *sch, struct subchannel_id schid) in cio_validate_subchannel() argument
495 sprintf(dbf_txt, "valsch%x", schid.sch_no); in cio_validate_subchannel()
504 ccode = stsch(schid, &sch->schib); in cio_validate_subchannel()
510 sch->schid = schid; in cio_validate_subchannel()
527 sch->schid.ssid, sch->schid.sch_no, sch->st); in cio_validate_subchannel()
549 tsch(tpi_info->schid, irb); in do_cio_interrupt()
554 if (tsch(tpi_info->schid, irb) == 0) { in do_cio_interrupt()
596 if (tsch(sch->schid, irb) != 0) in cio_tsch()
617 static int cio_test_for_console(struct subchannel_id schid, void *data) in cio_test_for_console() argument
621 if (stsch(schid, &schib) != 0) in cio_test_for_console()
625 console_irq = schid.sch_no; in cio_test_for_console()
633 struct subchannel_id schid; in cio_get_console_sch_no() local
636 init_subchannel_id(&schid); in cio_get_console_sch_no()
639 schid.sch_no = console_irq; in cio_get_console_sch_no()
640 if (stsch(schid, &schib) != 0 || in cio_get_console_sch_no()
653 struct subchannel_id schid; in cio_probe_console() local
662 init_subchannel_id(&schid); in cio_probe_console()
663 schid.sch_no = sch_no; in cio_probe_console()
664 sch = css_alloc_subchannel(schid); in cio_probe_console()
682 int cio_is_console(struct subchannel_id schid) in cio_is_console() argument
686 return schid_equal(&schid, &console_sch->schid); in cio_is_console()
703 __disable_subchannel_easy(struct subchannel_id schid, struct schib *schib) in __disable_subchannel_easy() argument
710 cc = msch(schid, schib); in __disable_subchannel_easy()
713 if (stsch(schid, schib) || !css_sch_is_valid(schib)) in __disable_subchannel_easy()
722 __clear_io_subchannel_easy(struct subchannel_id schid) in __clear_io_subchannel_easy() argument
726 if (csch(schid)) in __clear_io_subchannel_easy()
732 tsch(ti.schid, this_cpu_ptr(&cio_irb)); in __clear_io_subchannel_easy()
733 if (schid_equal(&ti.schid, &schid)) in __clear_io_subchannel_easy()
754 static int stsch_reset(struct subchannel_id schid, struct schib *addr) in stsch_reset() argument
760 rc = stsch(schid, addr); in stsch_reset()
772 static int __shutdown_subchannel_easy(struct subchannel_id schid, void *data) in __shutdown_subchannel_easy() argument
776 if (stsch_reset(schid, &schib)) in __shutdown_subchannel_easy()
780 switch(__disable_subchannel_easy(schid, &schib)) { in __shutdown_subchannel_easy()
787 if (__clear_io_subchannel_easy(schid)) in __shutdown_subchannel_easy()
797 stsch(schid, &schib); in __shutdown_subchannel_easy()
798 __disable_subchannel_easy(schid, &schib); in __shutdown_subchannel_easy()
877 struct subchannel_id schid; member
882 static int __reipl_subchannel_match(struct subchannel_id schid, void *data) in __reipl_subchannel_match() argument
887 if (stsch_reset(schid, &schib)) in __reipl_subchannel_match()
891 (schid.ssid == match_id->devid.ssid)) { in __reipl_subchannel_match()
892 match_id->schid = schid; in __reipl_subchannel_match()
900 struct subchannel_id *schid) in reipl_find_schid() argument
908 *schid = match_id.schid; in reipl_find_schid()
912 extern void do_reipl_asm(__u32 schid);
917 struct subchannel_id uninitialized_var(schid); in reipl_ccw_dev()
920 if (reipl_find_schid(devid, &schid) != 0) in reipl_ccw_dev()
922 do_reipl_asm(*((__u32*)&schid)); in reipl_ccw_dev()
928 struct subchannel_id schid; in cio_get_iplinfo() local
931 schid = *(struct subchannel_id *)&S390_lowcore.subchannel_id; in cio_get_iplinfo()
932 if (!schid.one) in cio_get_iplinfo()
935 if (schid.ssid) { in cio_get_iplinfo()
945 if (stsch(schid, &schib)) in cio_get_iplinfo()
952 iplinfo->ssid = schid.ssid; in cio_get_iplinfo()
979 cc = ssch(sch->schid, orb); in cio_tm_start_key()
1004 cc = xsch(sch->schid); in cio_tm_intrg()