Lines Matching refs:str_id

33 	int i, num_ch, str_id;  in sst_alloc_stream_mrfld()  local
38 str_id = str_params->stream_id; in sst_alloc_stream_mrfld()
39 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_alloc_stream_mrfld()
71 sst_drv_ctx->streams[str_id].status = STREAM_INIT; in sst_alloc_stream_mrfld()
72 sst_drv_ctx->streams[str_id].prev = STREAM_UN_INIT; in sst_alloc_stream_mrfld()
73 sst_drv_ctx->streams[str_id].pipe_id = str_params->device_type; in sst_alloc_stream_mrfld()
74 sst_drv_ctx->streams[str_id].task_id = str_params->task; in sst_alloc_stream_mrfld()
75 sst_drv_ctx->streams[str_id].num_ch = num_ch; in sst_alloc_stream_mrfld()
79 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld()
82 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld()
89 return sst_realloc_stream(sst_drv_ctx, str_id); in sst_alloc_stream_mrfld()
101 int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_realloc_stream() argument
108 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_realloc_stream()
113 str_id, str_info->pipe_id); in sst_realloc_stream()
124 str_id = ret; in sst_realloc_stream()
133 "FW not in clean state, send free for:%d\n", str_id); in sst_realloc_stream()
134 sst_free_stream(sst_drv_ctx, str_id); in sst_realloc_stream()
136 str_id = -ret; in sst_realloc_stream()
140 return str_id; in sst_realloc_stream()
151 int sst_start_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_start_stream() argument
157 dev_dbg(sst_drv_ctx->dev, "sst_start_stream for %d\n", str_id); in sst_start_stream()
158 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_start_stream()
243 int sst_pause_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_pause_stream() argument
248 dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_pause_stream for %d\n", str_id); in sst_pause_stream()
249 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_pause_stream()
288 int sst_resume_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_resume_stream() argument
293 dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_resume_stream for %d\n", str_id); in sst_resume_stream()
294 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_resume_stream()
309 retval = sst_start_stream(sst_drv_ctx, str_id); in sst_resume_stream()
356 int sst_drop_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_drop_stream() argument
361 dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_drop_stream for %d\n", str_id); in sst_drop_stream()
362 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_drop_stream()
392 int str_id, bool partial_drain) in sst_drain_stream() argument
397 dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_drain_stream for %d\n", str_id); in sst_drain_stream()
398 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_drain_stream()
429 int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_free_stream() argument
434 dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_free_stream for %d\n", str_id); in sst_free_stream()
442 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_free_stream()
453 str_id, str_info->pipe_id); in sst_free_stream()