Lines Matching refs:retval
153 int retval = 0; in sst_start_stream() local
164 retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, in sst_start_stream()
168 return retval; in sst_start_stream()
245 int retval = 0; in sst_pause_stream() local
259 retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, IPC_CMD, in sst_pause_stream()
263 if (retval == 0) { in sst_pause_stream()
266 } else if (retval == -SST_ERR_INVALID_STREAM_ID) { in sst_pause_stream()
267 retval = -EINVAL; in sst_pause_stream()
273 retval = -EBADRQC; in sst_pause_stream()
277 return retval; in sst_pause_stream()
290 int retval = 0; in sst_resume_stream() local
309 retval = sst_start_stream(sst_drv_ctx, str_id); in sst_resume_stream()
322 retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, in sst_resume_stream()
327 if (!retval) { in sst_resume_stream()
333 } else if (retval == -SST_ERR_INVALID_STREAM_ID) { in sst_resume_stream()
334 retval = -EINVAL; in sst_resume_stream()
340 retval = -EBADRQC; in sst_resume_stream()
344 return retval; in sst_resume_stream()
358 int retval = 0; in sst_drop_stream() local
370 retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, in sst_drop_stream()
375 retval = -EBADRQC; in sst_drop_stream()
379 return retval; in sst_drop_stream()
394 int retval = 0; in sst_drain_stream() local
409 retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, IPC_CMD, in sst_drain_stream()
418 return retval; in sst_drain_stream()
431 int retval = 0; in sst_free_stream() local
454 retval = sst_prepare_and_post_msg(sst_drv_ctx, str_info->task_id, IPC_CMD, in sst_free_stream()
459 retval); in sst_free_stream()
466 retval = -EBADRQC; in sst_free_stream()
470 return retval; in sst_free_stream()