altera_cvp_chk_error
ret = altera_cvp_chk_error(mgr, blocks * ALTERA_CVP_V2_SIZE);
ret = altera_cvp_chk_error(mgr, 0);
status = altera_cvp_chk_error(mgr, done);
status = altera_cvp_chk_error(mgr, count);