Lines Matching refs:ret

41     MPP_RET ret         = MPP_OK;  in hal_av1d_init()  local
47 INP_CHECK(ret, NULL == p_hal); in hal_av1d_init()
54 return ret; in hal_av1d_init()
68 ret = mpp_dev_init(&cfg->dev, type); in hal_av1d_init()
69 if (ret) { in hal_av1d_init()
70 mpp_err("mpp_dev_init failed ret: %d\n", ret); in hal_av1d_init()
78 FUN_CHECK(ret = mpp_buffer_group_get_internal in hal_av1d_init()
90 FUN_CHECK(ret = mpp_buffer_group_get_internal in hal_av1d_init()
94 FUN_CHECK(ret = p_hal->api->init(hal, cfg)); in hal_av1d_init()
99 return ret; in hal_av1d_init()
104 MPP_RET ret = MPP_ERR_UNKNOW; in hal_av1d_deinit() local
107 FUN_CHECK(ret = p_hal->api->deinit(hal)); in hal_av1d_deinit()
115 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_av1d_deinit()
120 return ret; in hal_av1d_deinit()
126 MPP_RET ret = MPP_NOK; in hal_av1d_gen_regs() local
129 ret = p_hal->api->reg_gen(hal, task); in hal_av1d_gen_regs()
130 return ret; in hal_av1d_gen_regs()
136 MPP_RET ret = MPP_NOK; in hal_av1d_start() local
139 ret = p_hal->api->start(hal, task); in hal_av1d_start()
140 return ret; in hal_av1d_start()
146 MPP_RET ret = MPP_NOK; in hal_av1d_wait() local
149 ret = p_hal->api->wait(hal, task); in hal_av1d_wait()
150 return ret; in hal_av1d_wait()
156 MPP_RET ret = MPP_NOK; in hal_av1d_reset() local
159 ret = p_hal->api->reset(hal); in hal_av1d_reset()
160 return ret; in hal_av1d_reset()
166 MPP_RET ret = MPP_NOK; in hal_av1d_flush() local
169 ret = p_hal->api->flush(hal); in hal_av1d_flush()
170 return ret; in hal_av1d_flush()
176 MPP_RET ret = MPP_NOK; in hal_av1d_control() local
179 ret = p_hal->api->control(hal, cmd_type, param); in hal_av1d_control()
180 return ret; in hal_av1d_control()