Lines Matching refs:gen
440 struct gru_control_block_status *gen = (void *)cb; in gru_get_cb_exception_detail_str() local
443 if (ret > 0 && gen->istatus == CBS_EXCEPTION) { in gru_get_cb_exception_detail_str()
448 gen, excdet.opc, excdet.exopc, excdet.ecause, in gru_get_cb_exception_detail_str()
456 static int gru_wait_idle_or_exception(struct gru_control_block_status *gen) in gru_wait_idle_or_exception() argument
458 while (gen->istatus >= CBS_ACTIVE) { in gru_wait_idle_or_exception()
462 return gen->istatus; in gru_wait_idle_or_exception()
467 struct gru_control_block_status *gen = (void *)cb; in gru_retry_exception() local
472 if (gru_wait_idle_or_exception(gen) == CBS_IDLE) in gru_retry_exception()
482 gen->icmd = 1; in gru_retry_exception()
483 gru_flush_cache(gen); in gru_retry_exception()
490 struct gru_control_block_status *gen = (void *)cb; in gru_check_status_proc() local
493 ret = gen->istatus; in gru_check_status_proc()
503 struct gru_control_block_status *gen = (void *)cb; in gru_wait_proc() local
506 ret = gru_wait_idle_or_exception(gen); in gru_wait_proc()
1057 struct gru_control_block_status *gen; in quicktest2() local
1098 gen = cb; in quicktest2()
1099 gen->istatus = CBS_CALL_OS; /* don't handle this CBR again */ in quicktest2()