Lines Matching refs:cc
42 int cc; in test_enable() local
49 cc = css_enable(test_device_sid, IO_SCH_ISC); in test_enable()
51 report(cc == 0, "Enable subchannel %08x", test_device_sid); in test_enable()
263 int cc; in msch_with_wrong_fmt1_mbo() local
266 cc = stsch(schid, &schib); in msch_with_wrong_fmt1_mbo()
267 if (cc) { in msch_with_wrong_fmt1_mbo()
268 report_fail("stsch: sch %08x failed with cc=%d", schid, cc); in msch_with_wrong_fmt1_mbo()
279 cc = msch(schid, &schib); in msch_with_wrong_fmt1_mbo()
341 int cc; in test_msch() local
348 cc = stsch(test_device_sid, &schib); in test_msch()
349 if (cc) { in test_msch()
350 report_fail("stsch: sch %08x failed with cc=%d", test_device_sid, cc); in test_msch()
378 cc = stsch(test_device_sid, &test_schib); in test_msch()
379 report(!cc, "STSCH succeeded"); in test_msch()
392 int cc; in check_stcrw_no_crw_available() local
395 cc = stcrw(&crw); in check_stcrw_no_crw_available()
396 report(cc == 1, "cc == 1"); in check_stcrw_no_crw_available()
405 int cc; in check_stcrw_crw_available() local
408 cc = stcrw(&crw); in check_stcrw_crw_available()
409 report(!cc, "cc is zero"); in check_stcrw_crw_available()
506 int cc; in test_stsch() local
526 cc = stsch(0x0001ffff, &schib); in test_stsch()
527 report(cc == 3, "Channel not operational"); in test_stsch()
547 int cc; in test_pmcw_bit5() local
550 cc = stsch(test_device_sid, &schib); in test_pmcw_bit5()
551 if (cc) { in test_pmcw_bit5()
552 report_fail("stsch: sch %08x failed with cc=%d", test_device_sid, cc); in test_pmcw_bit5()
560 cc = msch(test_device_sid, &schib); in test_pmcw_bit5()
561 report(!cc, "MSCH cc == 0"); in test_pmcw_bit5()
563 cc = stsch(test_device_sid, &schib); in test_pmcw_bit5()
564 report(!cc, "STSCH cc == 0"); in test_pmcw_bit5()
572 cc = msch(test_device_sid, &schib); in test_pmcw_bit5()
573 report(!cc, "MSCH cc == 0"); in test_pmcw_bit5()
575 cc = stsch(test_device_sid, &schib); in test_pmcw_bit5()
576 report(!cc, "STSCH cc == 0"); in test_pmcw_bit5()
586 int cc; in test_tsch() local
606 cc = tsch(0x0001ffff, &irb); in test_tsch()
607 report(cc == 3, "Channel not operational"); in test_tsch()