str_id 217 sound/soc/intel/atom/sst-mfld-dsp.h u32 str_id:5; str_id 465 sound/soc/intel/atom/sst-mfld-dsp.h u8 str_id; str_id 78 sound/soc/intel/atom/sst-mfld-platform-compress.c int ret_val = 0, str_id; str_id 85 sound/soc/intel/atom/sst-mfld-platform-compress.c str_id = stream->id; str_id 86 sound/soc/intel/atom/sst-mfld-platform-compress.c if (str_id) str_id 87 sound/soc/intel/atom/sst-mfld-platform-compress.c ret_val = stream->compr_ops->close(sst->dev, str_id); str_id 246 sound/soc/intel/atom/sst-mfld-platform-pcm.c stream->stream_info.str_id = str_params.stream_id; str_id 326 sound/soc/intel/atom/sst-mfld-platform-pcm.c stream->stream_info.str_id = 0; str_id 352 sound/soc/intel/atom/sst-mfld-platform-pcm.c int str_id; str_id 357 sound/soc/intel/atom/sst-mfld-platform-pcm.c str_id = stream->stream_info.str_id; str_id 358 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (str_id) str_id 359 sound/soc/intel/atom/sst-mfld-platform-pcm.c stream->ops->close(sst->dev, str_id); str_id 368 sound/soc/intel/atom/sst-mfld-platform-pcm.c int ret_val = 0, str_id; str_id 371 sound/soc/intel/atom/sst-mfld-platform-pcm.c str_id = stream->stream_info.str_id; str_id 372 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (stream->stream_info.str_id) { str_id 373 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_drop(sst->dev, str_id); str_id 381 sound/soc/intel/atom/sst-mfld-platform-pcm.c "%d", stream->stream_info.str_id); str_id 604 sound/soc/intel/atom/sst-mfld-platform-pcm.c int ret_val = 0, str_id; str_id 613 sound/soc/intel/atom/sst-mfld-platform-pcm.c str_id = stream->stream_info.str_id; str_id 619 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_start(sst->dev, str_id); str_id 624 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_drop(sst->dev, str_id); str_id 630 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_pause(sst->dev, str_id); str_id 636 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = stream->ops->stream_pause_release(sst->dev, str_id); str_id 37 sound/soc/intel/atom/sst-mfld-platform.h int str_id; str_id 100 sound/soc/intel/atom/sst-mfld-platform.h int (*stream_start)(struct device *dev, unsigned int str_id); str_id 101 sound/soc/intel/atom/sst-mfld-platform.h int (*stream_drop)(struct device *dev, unsigned int str_id); str_id 102 sound/soc/intel/atom/sst-mfld-platform.h int (*stream_drain)(struct device *dev, unsigned int str_id); str_id 103 sound/soc/intel/atom/sst-mfld-platform.h int (*stream_partial_drain)(struct device *dev, unsigned int str_id); str_id 104 sound/soc/intel/atom/sst-mfld-platform.h int (*stream_pause)(struct device *dev, unsigned int str_id); str_id 105 sound/soc/intel/atom/sst-mfld-platform.h int (*stream_pause_release)(struct device *dev, unsigned int str_id); str_id 107 sound/soc/intel/atom/sst-mfld-platform.h int (*tstamp)(struct device *dev, unsigned int str_id, str_id 109 sound/soc/intel/atom/sst-mfld-platform.h int (*ack)(struct device *dev, unsigned int str_id, str_id 111 sound/soc/intel/atom/sst-mfld-platform.h int (*close)(struct device *dev, unsigned int str_id); str_id 114 sound/soc/intel/atom/sst-mfld-platform.h int (*set_metadata)(struct device *dev, unsigned int str_id, str_id 122 sound/soc/intel/atom/sst-mfld-platform.h int (*stream_start)(struct device *dev, int str_id); str_id 123 sound/soc/intel/atom/sst-mfld-platform.h int (*stream_drop)(struct device *dev, int str_id); str_id 124 sound/soc/intel/atom/sst-mfld-platform.h int (*stream_pause)(struct device *dev, int str_id); str_id 125 sound/soc/intel/atom/sst-mfld-platform.h int (*stream_pause_release)(struct device *dev, int str_id); str_id 128 sound/soc/intel/atom/sst-mfld-platform.h int (*close)(struct device *dev, unsigned int str_id); str_id 430 sound/soc/intel/atom/sst/sst.h int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); str_id 435 sound/soc/intel/atom/sst/sst.h int sst_start_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); str_id 438 sound/soc/intel/atom/sst/sst.h int sst_set_stream_param(int str_id, struct snd_sst_params *str_param); str_id 439 sound/soc/intel/atom/sst/sst.h int sst_set_metadata(int str_id, char *params); str_id 446 sound/soc/intel/atom/sst/sst.h int str_id, bool partial_drain); str_id 465 sound/soc/intel/atom/sst/sst.h int free_stream_context(struct intel_sst_drv *ctx, unsigned int str_id); str_id 469 sound/soc/intel/atom/sst/sst.h void sst_cdev_fragment_elapsed(struct intel_sst_drv *ctx, int str_id); str_id 470 sound/soc/intel/atom/sst/sst.h int sst_send_sync_msg(int ipc, int str_id); str_id 494 sound/soc/intel/atom/sst/sst.h int sst_validate_strid(struct intel_sst_drv *sst_drv_ctx, int str_id); str_id 496 sound/soc/intel/atom/sst/sst.h int str_id); str_id 43 sound/soc/intel/atom/sst/sst_drv_interface.c int free_stream_context(struct intel_sst_drv *ctx, unsigned int str_id) str_id 48 sound/soc/intel/atom/sst/sst_drv_interface.c stream = get_stream_info(ctx, str_id); str_id 51 sound/soc/intel/atom/sst/sst_drv_interface.c ret = sst_free_stream(ctx, str_id); str_id 53 sound/soc/intel/atom/sst/sst_drv_interface.c sst_clean_stream(&ctx->streams[str_id]); str_id 56 sound/soc/intel/atom/sst/sst_drv_interface.c dev_err(ctx->dev, "we tried to free stream context %d which was freed!!!\n", str_id); str_id 195 sound/soc/intel/atom/sst/sst_drv_interface.c int str_id, retval; str_id 205 sound/soc/intel/atom/sst/sst_drv_interface.c str_id = sst_get_stream(ctx, str_params); str_id 206 sound/soc/intel/atom/sst/sst_drv_interface.c if (str_id > 0) { str_id 207 sound/soc/intel/atom/sst/sst_drv_interface.c dev_dbg(dev, "stream allocated in sst_cdev_open %d\n", str_id); str_id 208 sound/soc/intel/atom/sst/sst_drv_interface.c stream = &ctx->streams[str_id]; str_id 214 sound/soc/intel/atom/sst/sst_drv_interface.c dev_err(dev, "stream encountered error during alloc %d\n", str_id); str_id 215 sound/soc/intel/atom/sst/sst_drv_interface.c str_id = -EINVAL; str_id 218 sound/soc/intel/atom/sst/sst_drv_interface.c return str_id; str_id 221 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_cdev_close(struct device *dev, unsigned int str_id) str_id 227 sound/soc/intel/atom/sst/sst_drv_interface.c stream = get_stream_info(ctx, str_id); str_id 229 sound/soc/intel/atom/sst/sst_drv_interface.c dev_err(dev, "stream info is NULL for str %d!!!\n", str_id); str_id 233 sound/soc/intel/atom/sst/sst_drv_interface.c retval = sst_free_stream(ctx, str_id); str_id 244 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_cdev_ack(struct device *dev, unsigned int str_id, str_id 253 sound/soc/intel/atom/sst/sst_drv_interface.c stream = get_stream_info(ctx, str_id); str_id 262 sound/soc/intel/atom/sst/sst_drv_interface.c (str_id * sizeof(fw_tstamp)); str_id 276 sound/soc/intel/atom/sst/sst_drv_interface.c unsigned int str_id, struct snd_compr_metadata *metadata) str_id 282 sound/soc/intel/atom/sst/sst_drv_interface.c dev_dbg(dev, "set metadata for stream %d\n", str_id); str_id 284 sound/soc/intel/atom/sst/sst_drv_interface.c str_info = get_stream_info(ctx, str_id); str_id 297 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_cdev_stream_pause(struct device *dev, unsigned int str_id) str_id 301 sound/soc/intel/atom/sst/sst_drv_interface.c return sst_pause_stream(ctx, str_id); str_id 305 sound/soc/intel/atom/sst/sst_drv_interface.c unsigned int str_id) str_id 309 sound/soc/intel/atom/sst/sst_drv_interface.c return sst_resume_stream(ctx, str_id); str_id 312 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_cdev_stream_start(struct device *dev, unsigned int str_id) str_id 317 sound/soc/intel/atom/sst/sst_drv_interface.c str_info = get_stream_info(ctx, str_id); str_id 322 sound/soc/intel/atom/sst/sst_drv_interface.c return sst_start_stream(ctx, str_id); str_id 325 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_cdev_stream_drop(struct device *dev, unsigned int str_id) str_id 329 sound/soc/intel/atom/sst/sst_drv_interface.c return sst_drop_stream(ctx, str_id); str_id 332 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_cdev_stream_drain(struct device *dev, unsigned int str_id) str_id 336 sound/soc/intel/atom/sst/sst_drv_interface.c return sst_drain_stream(ctx, str_id, false); str_id 340 sound/soc/intel/atom/sst/sst_drv_interface.c unsigned int str_id) str_id 344 sound/soc/intel/atom/sst/sst_drv_interface.c return sst_drain_stream(ctx, str_id, true); str_id 347 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_cdev_tstamp(struct device *dev, unsigned int str_id, str_id 356 sound/soc/intel/atom/sst/sst_drv_interface.c (str_id * sizeof(fw_tstamp)); str_id 360 sound/soc/intel/atom/sst/sst_drv_interface.c stream = get_stream_info(ctx, str_id); str_id 373 sound/soc/intel/atom/sst/sst_drv_interface.c str_id, tstamp->copied_total, tstamp->pcm_frames); str_id 439 sound/soc/intel/atom/sst/sst_drv_interface.c void sst_cdev_fragment_elapsed(struct intel_sst_drv *ctx, int str_id) str_id 444 sound/soc/intel/atom/sst/sst_drv_interface.c str_id); str_id 445 sound/soc/intel/atom/sst/sst_drv_interface.c stream = &ctx->streams[str_id]; str_id 458 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_close_pcm_stream(struct device *dev, unsigned int str_id) str_id 464 sound/soc/intel/atom/sst/sst_drv_interface.c stream = get_stream_info(ctx, str_id); str_id 466 sound/soc/intel/atom/sst/sst_drv_interface.c dev_err(ctx->dev, "stream info is NULL for str %d!!!\n", str_id); str_id 470 sound/soc/intel/atom/sst/sst_drv_interface.c retval = free_stream_context(ctx, str_id); str_id 522 sound/soc/intel/atom/sst/sst_drv_interface.c unsigned int str_id; str_id 526 sound/soc/intel/atom/sst/sst_drv_interface.c str_id = info->str_id; str_id 527 sound/soc/intel/atom/sst/sst_drv_interface.c stream = get_stream_info(ctx, str_id); str_id 536 sound/soc/intel/atom/sst/sst_drv_interface.c (str_id * sizeof(fw_tstamp)); str_id 543 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_stream_start(struct device *dev, int str_id) str_id 550 sound/soc/intel/atom/sst/sst_drv_interface.c str_info = get_stream_info(ctx, str_id); str_id 555 sound/soc/intel/atom/sst/sst_drv_interface.c sst_start_stream(ctx, str_id); str_id 560 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_stream_drop(struct device *dev, int str_id) str_id 568 sound/soc/intel/atom/sst/sst_drv_interface.c str_info = get_stream_info(ctx, str_id); str_id 573 sound/soc/intel/atom/sst/sst_drv_interface.c return sst_drop_stream(ctx, str_id); str_id 576 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_stream_pause(struct device *dev, int str_id) str_id 584 sound/soc/intel/atom/sst/sst_drv_interface.c str_info = get_stream_info(ctx, str_id); str_id 588 sound/soc/intel/atom/sst/sst_drv_interface.c return sst_pause_stream(ctx, str_id); str_id 591 sound/soc/intel/atom/sst/sst_drv_interface.c static int sst_stream_resume(struct device *dev, int str_id) str_id 599 sound/soc/intel/atom/sst/sst_drv_interface.c str_info = get_stream_info(ctx, str_id); str_id 602 sound/soc/intel/atom/sst/sst_drv_interface.c return sst_resume_stream(ctx, str_id); str_id 607 sound/soc/intel/atom/sst/sst_drv_interface.c int str_id = 0; str_id 611 sound/soc/intel/atom/sst/sst_drv_interface.c str_id = str_info->str_id; str_id 616 sound/soc/intel/atom/sst/sst_drv_interface.c stream = get_stream_info(ctx, str_id); str_id 253 sound/soc/intel/atom/sst/sst_ipc.c int str_id; str_id 267 sound/soc/intel/atom/sst/sst_ipc.c str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); str_id 268 sound/soc/intel/atom/sst/sst_ipc.c if (str_id > 0) { str_id 272 sound/soc/intel/atom/sst/sst_ipc.c stream = &sst_drv_ctx->streams[str_id]; str_id 285 sound/soc/intel/atom/sst/sst_ipc.c str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); str_id 286 sound/soc/intel/atom/sst/sst_ipc.c if (str_id > 0) { str_id 287 sound/soc/intel/atom/sst/sst_ipc.c stream = &sst_drv_ctx->streams[str_id]; str_id 306 sound/soc/intel/atom/sst/sst_ipc.c str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); str_id 307 sound/soc/intel/atom/sst/sst_ipc.c if (str_id > 0) str_id 310 sound/soc/intel/atom/sst/sst_ipc.c pipe_id, str_id); str_id 356 sound/soc/intel/atom/sst/sst_pvt.c struct intel_sst_drv *sst_drv_ctx, int str_id) str_id 358 sound/soc/intel/atom/sst/sst_pvt.c if (str_id <= 0 || str_id > sst_drv_ctx->info.max_streams) { str_id 361 sound/soc/intel/atom/sst/sst_pvt.c str_id, sst_drv_ctx->info.max_streams); str_id 369 sound/soc/intel/atom/sst/sst_pvt.c struct intel_sst_drv *sst_drv_ctx, int str_id) str_id 371 sound/soc/intel/atom/sst/sst_pvt.c if (sst_validate_strid(sst_drv_ctx, str_id)) str_id 373 sound/soc/intel/atom/sst/sst_pvt.c return &sst_drv_ctx->streams[str_id]; str_id 34 sound/soc/intel/atom/sst/sst_stream.c int i, num_ch, str_id; str_id 39 sound/soc/intel/atom/sst/sst_stream.c str_id = str_params->stream_id; str_id 40 sound/soc/intel/atom/sst/sst_stream.c str_info = get_stream_info(sst_drv_ctx, str_id); str_id 72 sound/soc/intel/atom/sst/sst_stream.c sst_drv_ctx->streams[str_id].status = STREAM_INIT; str_id 73 sound/soc/intel/atom/sst/sst_stream.c sst_drv_ctx->streams[str_id].prev = STREAM_UN_INIT; str_id 74 sound/soc/intel/atom/sst/sst_stream.c sst_drv_ctx->streams[str_id].pipe_id = str_params->device_type; str_id 75 sound/soc/intel/atom/sst/sst_stream.c sst_drv_ctx->streams[str_id].task_id = str_params->task; str_id 76 sound/soc/intel/atom/sst/sst_stream.c sst_drv_ctx->streams[str_id].num_ch = num_ch; str_id 80 sound/soc/intel/atom/sst/sst_stream.c sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); str_id 83 sound/soc/intel/atom/sst/sst_stream.c sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); str_id 90 sound/soc/intel/atom/sst/sst_stream.c return sst_realloc_stream(sst_drv_ctx, str_id); str_id 102 sound/soc/intel/atom/sst/sst_stream.c int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) str_id 109 sound/soc/intel/atom/sst/sst_stream.c str_info = get_stream_info(sst_drv_ctx, str_id); str_id 114 sound/soc/intel/atom/sst/sst_stream.c str_id, str_info->pipe_id); str_id 125 sound/soc/intel/atom/sst/sst_stream.c str_id = ret; str_id 134 sound/soc/intel/atom/sst/sst_stream.c "FW not in clean state, send free for:%d\n", str_id); str_id 135 sound/soc/intel/atom/sst/sst_stream.c sst_free_stream(sst_drv_ctx, str_id); str_id 137 sound/soc/intel/atom/sst/sst_stream.c str_id = -ret; str_id 141 sound/soc/intel/atom/sst/sst_stream.c return str_id; str_id 151 sound/soc/intel/atom/sst/sst_stream.c int sst_start_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) str_id 157 sound/soc/intel/atom/sst/sst_stream.c dev_dbg(sst_drv_ctx->dev, "sst_start_stream for %d\n", str_id); str_id 158 sound/soc/intel/atom/sst/sst_stream.c str_info = get_stream_info(sst_drv_ctx, str_id); str_id 242 sound/soc/intel/atom/sst/sst_stream.c int sst_pause_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) str_id 247 sound/soc/intel/atom/sst/sst_stream.c dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_pause_stream for %d\n", str_id); str_id 248 sound/soc/intel/atom/sst/sst_stream.c str_info = get_stream_info(sst_drv_ctx, str_id); str_id 286 sound/soc/intel/atom/sst/sst_stream.c int sst_resume_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) str_id 291 sound/soc/intel/atom/sst/sst_stream.c dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_resume_stream for %d\n", str_id); str_id 292 sound/soc/intel/atom/sst/sst_stream.c str_info = get_stream_info(sst_drv_ctx, str_id); str_id 307 sound/soc/intel/atom/sst/sst_stream.c retval = sst_start_stream(sst_drv_ctx, str_id); str_id 353 sound/soc/intel/atom/sst/sst_stream.c int sst_drop_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) str_id 358 sound/soc/intel/atom/sst/sst_stream.c dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_drop_stream for %d\n", str_id); str_id 359 sound/soc/intel/atom/sst/sst_stream.c str_info = get_stream_info(sst_drv_ctx, str_id); str_id 387 sound/soc/intel/atom/sst/sst_stream.c int str_id, bool partial_drain) str_id 392 sound/soc/intel/atom/sst/sst_stream.c dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_drain_stream for %d\n", str_id); str_id 393 sound/soc/intel/atom/sst/sst_stream.c str_info = get_stream_info(sst_drv_ctx, str_id); str_id 423 sound/soc/intel/atom/sst/sst_stream.c int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id) str_id 428 sound/soc/intel/atom/sst/sst_stream.c dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_free_stream for %d\n", str_id); str_id 436 sound/soc/intel/atom/sst/sst_stream.c str_info = get_stream_info(sst_drv_ctx, str_id); str_id 447 sound/soc/intel/atom/sst/sst_stream.c str_id, str_info->pipe_id); str_id 150 sound/soc/intel/baytrail/sst-baytrail-ipc.c int str_id; str_id 176 sound/soc/intel/baytrail/sst-baytrail-ipc.c static inline u64 sst_byt_header(int msg_id, int data, bool large, int str_id) str_id 178 sound/soc/intel/baytrail/sst-baytrail-ipc.c return IPC_HEADER_MSG_ID(msg_id) | IPC_HEADER_STR_ID(str_id) | str_id 204 sound/soc/intel/baytrail/sst-baytrail-ipc.c if (stream->str_id == stream_id) str_id 355 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->str_id = id; str_id 416 sound/soc/intel/baytrail/sst-baytrail-ipc.c true, stream->str_id); str_id 444 sound/soc/intel/baytrail/sst-baytrail-ipc.c 0, false, stream->str_id); str_id 448 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->str_id); str_id 485 sound/soc/intel/baytrail/sst-baytrail-ipc.c true, stream->str_id); str_id 492 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->str_id); str_id 506 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->str_id, 0); str_id 509 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->str_id); str_id 518 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->str_id, 0); str_id 521 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->str_id); str_id 531 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->str_id, 0); str_id 534 sound/soc/intel/baytrail/sst-baytrail-ipc.c stream->str_id); str_id 544 sound/soc/intel/baytrail/sst-baytrail-ipc.c u8 str_id = stream->str_id; str_id 547 sound/soc/intel/baytrail/sst-baytrail-ipc.c tstamp_offset = SST_BYT_TIMESTAMP_OFFSET + str_id * sizeof(fw_tstamp); str_id 43 sound/soc/sprd/sprd-pcm-dma.h int (*open)(int str_id, struct sprd_compr_callback *cb); str_id 44 sound/soc/sprd/sprd-pcm-dma.h int (*close)(int str_id); str_id 45 sound/soc/sprd/sprd-pcm-dma.h int (*start)(int str_id); str_id 46 sound/soc/sprd/sprd-pcm-dma.h int (*stop)(int str_id); str_id 47 sound/soc/sprd/sprd-pcm-dma.h int (*pause)(int str_id); str_id 48 sound/soc/sprd/sprd-pcm-dma.h int (*pause_release)(int str_id); str_id 50 sound/soc/sprd/sprd-pcm-dma.h int (*set_params)(int str_id, struct sprd_compr_params *params);