Lines Matching full:if

44 	if (h->code == CHSC_RSP_OK)  in check_response()
47 if (h->code > CHSC_RSP_MAX) in check_response()
84 if (chsc_scsc) /* chsc_scsc already initialized */ in get_chsc_scsc()
88 if (!chsc_scsc) { in get_chsc_scsc()
93 if (!chsc(chsc_scsc, CHSC_SCSC, CHSC_SCSC_LEN)) in get_chsc_scsc()
97 if (css_test_general_feature(i)) { in get_chsc_scsc()
105 if (css_test_chsc_feature(i)) { in get_chsc_scsc()
143 if (PMCW_CHANNEL_TYPE(pmcw) != 0) in css_enumerate()
148 if (!(pmcw->flags & PMCW_DNV)) in css_enumerate()
152 if (!schid) in css_enumerate()
165 * css_enabled: report if the subchannel is enabled
168 * true if the subchannel is enabled
177 if (cc) { in css_enabled()
183 if (!(pmcw->flags & PMCW_ENABLE)) { in css_enabled()
196 * or -1 if the retry count is exceeded.
207 if (cc) { in css_enable()
213 if ((pmcw->flags & (PMCW_ISC_MASK | PMCW_ENABLE)) == flags) { in css_enable()
225 if (cc) { in css_enable()
227 * If the subchannel is status pending or in css_enable()
228 * if a function is in progress, in css_enable()
238 if (css_enabled(schid)) in css_enable()
241 if (retry_count++ < MAX_ENABLE_RETRIES) { in css_enable()
259 * @format1: set if format 1 is to be used
269 if (cc) { in schib_update_mb()
275 if (flags) { in schib_update_mb()
278 if (format1) in schib_update_mb()
291 if (cc) { in schib_update_mb()
293 * If the subchannel is status pending or in schib_update_mb()
294 * if a function is in progress, in schib_update_mb()
305 if (cc) { in schib_update_mb()
318 * @format1: set if format 1 is to be used
362 if (lowcore.io_int_param != sid) { in css_irq_io()
409 if (!ccw) in ccw_alloc()
435 if (lowcore.io_int_param != schid) { in wait_and_check_io_completion()
443 if (!(irb.scsw.ctrl & SCSW_SC_PENDING)) { in wait_and_check_io_completion()
450 if (!(irb.scsw.ctrl & (SCSW_SC_SECONDARY | SCSW_SC_PRIMARY))) { in wait_and_check_io_completion()
457 if (!(irb.scsw.dev_stat & (SCSW_DEVS_DEV_END | SCSW_DEVS_SCH_END))) { in wait_and_check_io_completion()
464 if (irb.scsw.sch_stat & ~SCSW_SCHS_IL) { in wait_and_check_io_completion()
477 * Return the residual count, if it is valid.
486 if (!(irb.scsw.ctrl & (SCSW_SC_PENDING | SCSW_SC_PRIMARY))) in css_residual_count()
489 if (irb.scsw.dev_stat) in css_residual_count()
490 if (irb.scsw.sch_stat & ~(SCSW_SCHS_PCI | SCSW_SCHS_IL)) in css_residual_count()
516 * @chpid_out: store the found chpid here, left alone if none found
518 * returns 0 on success, -1 if no chpid found any other value
526 if (cc) { in css_find_installed_chpid()
532 if (is_path_installed(&schib, i)) { in css_find_installed_chpid()
545 * returns 0 when a CRW was generated, -1 if no chpid found.
555 if (ret) { in css_generate_crw()