• Home
  • Raw
  • Download

Lines Matching refs:str_id

34 	int i, num_ch, str_id;  in sst_alloc_stream_mrfld()  local
39 str_id = str_params->stream_id; in sst_alloc_stream_mrfld()
40 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_alloc_stream_mrfld()
72 sst_drv_ctx->streams[str_id].status = STREAM_INIT; in sst_alloc_stream_mrfld()
73 sst_drv_ctx->streams[str_id].prev = STREAM_UN_INIT; in sst_alloc_stream_mrfld()
74 sst_drv_ctx->streams[str_id].pipe_id = str_params->device_type; in sst_alloc_stream_mrfld()
75 sst_drv_ctx->streams[str_id].task_id = str_params->task; in sst_alloc_stream_mrfld()
76 sst_drv_ctx->streams[str_id].num_ch = num_ch; in sst_alloc_stream_mrfld()
80 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld()
83 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld()
90 return sst_realloc_stream(sst_drv_ctx, str_id); in sst_alloc_stream_mrfld()
102 int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_realloc_stream() argument
109 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_realloc_stream()
114 str_id, str_info->pipe_id); in sst_realloc_stream()
125 str_id = ret; in sst_realloc_stream()
134 "FW not in clean state, send free for:%d\n", str_id); in sst_realloc_stream()
135 sst_free_stream(sst_drv_ctx, str_id); in sst_realloc_stream()
137 str_id = -ret; in sst_realloc_stream()
141 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()
242 int sst_pause_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_pause_stream() argument
247 dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_pause_stream for %d\n", str_id); in sst_pause_stream()
248 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_pause_stream()
286 int sst_resume_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_resume_stream() argument
291 dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_resume_stream for %d\n", str_id); in sst_resume_stream()
292 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_resume_stream()
307 retval = sst_start_stream(sst_drv_ctx, str_id); in sst_resume_stream()
353 int sst_drop_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_drop_stream() argument
358 dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_drop_stream for %d\n", str_id); in sst_drop_stream()
359 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_drop_stream()
387 int str_id, bool partial_drain) in sst_drain_stream() argument
392 dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_drain_stream for %d\n", str_id); in sst_drain_stream()
393 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_drain_stream()
423 int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_free_stream() argument
428 dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_free_stream for %d\n", str_id); in sst_free_stream()
436 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_free_stream()
447 str_id, str_info->pipe_id); in sst_free_stream()