Lines Matching refs:gen
435 struct gru_control_block_status *gen = (void *)cb; in gru_get_cb_exception_detail_str() local
438 if (ret > 0 && gen->istatus == CBS_EXCEPTION) { in gru_get_cb_exception_detail_str()
443 gen, excdet.opc, excdet.exopc, excdet.ecause, in gru_get_cb_exception_detail_str()
451 static int gru_wait_idle_or_exception(struct gru_control_block_status *gen) in gru_wait_idle_or_exception() argument
453 while (gen->istatus >= CBS_ACTIVE) { in gru_wait_idle_or_exception()
457 return gen->istatus; in gru_wait_idle_or_exception()
462 struct gru_control_block_status *gen = (void *)cb; in gru_retry_exception() local
467 if (gru_wait_idle_or_exception(gen) == CBS_IDLE) in gru_retry_exception()
477 gen->icmd = 1; in gru_retry_exception()
478 gru_flush_cache(gen); in gru_retry_exception()
485 struct gru_control_block_status *gen = (void *)cb; in gru_check_status_proc() local
488 ret = gen->istatus; in gru_check_status_proc()
498 struct gru_control_block_status *gen = (void *)cb; in gru_wait_proc() local
501 ret = gru_wait_idle_or_exception(gen); in gru_wait_proc()
1054 struct gru_control_block_status *gen; in quicktest2() local
1095 gen = cb; in quicktest2()
1096 gen->istatus = CBS_CALL_OS; /* don't handle this CBR again */ in quicktest2()