/linux-6.1.9/sound/soc/intel/atom/sst/ |
D | sst_drv_interface.c | 40 int free_stream_context(struct intel_sst_drv *ctx, unsigned int str_id) in free_stream_context() argument 45 stream = get_stream_info(ctx, str_id); in free_stream_context() 48 ret = sst_free_stream(ctx, str_id); in free_stream_context() 50 sst_clean_stream(&ctx->streams[str_id]); in free_stream_context() 53 dev_err(ctx->dev, "we tried to free stream context %d which was freed!!!\n", str_id); in free_stream_context() 191 int str_id, retval; in sst_cdev_open() local 199 str_id = sst_get_stream(ctx, str_params); in sst_cdev_open() 200 if (str_id > 0) { in sst_cdev_open() 201 dev_dbg(dev, "stream allocated in sst_cdev_open %d\n", str_id); in sst_cdev_open() 202 stream = &ctx->streams[str_id]; in sst_cdev_open() [all …]
|
D | sst_stream.c | 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() [all …]
|
D | sst.h | 437 int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 438 int sst_pause_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 439 int sst_resume_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 440 int sst_drop_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 441 int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 442 int sst_start_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 445 int sst_set_stream_param(int str_id, struct snd_sst_params *str_param); 446 int sst_set_metadata(int str_id, char *params); 453 int str_id, bool partial_drain); 472 int free_stream_context(struct intel_sst_drv *ctx, unsigned int str_id); [all …]
|
D | sst_ipc.c | 252 int str_id; in process_fw_async_msg() local 266 str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); in process_fw_async_msg() 267 if (str_id > 0) { in process_fw_async_msg() 271 stream = &sst_drv_ctx->streams[str_id]; in process_fw_async_msg() 284 str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); in process_fw_async_msg() 285 if (str_id > 0) { in process_fw_async_msg() 286 stream = &sst_drv_ctx->streams[str_id]; in process_fw_async_msg() 305 str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); in process_fw_async_msg() 306 if (str_id > 0) in process_fw_async_msg() 309 pipe_id, str_id); in process_fw_async_msg()
|
D | sst_pvt.c | 355 struct intel_sst_drv *sst_drv_ctx, int str_id) in sst_validate_strid() argument 357 if (str_id <= 0 || str_id > sst_drv_ctx->info.max_streams) { in sst_validate_strid() 360 str_id, sst_drv_ctx->info.max_streams); in sst_validate_strid() 368 struct intel_sst_drv *sst_drv_ctx, int str_id) in get_stream_info() argument 370 if (sst_validate_strid(sst_drv_ctx, str_id)) in get_stream_info() 372 return &sst_drv_ctx->streams[str_id]; in get_stream_info()
|
/linux-6.1.9/sound/soc/intel/atom/ |
D | sst-mfld-platform.h | 37 int str_id; member 100 int (*stream_start)(struct device *dev, unsigned int str_id); 101 int (*stream_drop)(struct device *dev, unsigned int str_id); 102 int (*stream_drain)(struct device *dev, unsigned int str_id); 103 int (*stream_partial_drain)(struct device *dev, unsigned int str_id); 104 int (*stream_pause)(struct device *dev, unsigned int str_id); 105 int (*stream_pause_release)(struct device *dev, unsigned int str_id); 107 int (*tstamp)(struct device *dev, unsigned int str_id, 109 int (*ack)(struct device *dev, unsigned int str_id, 111 int (*close)(struct device *dev, unsigned int str_id); [all …]
|
D | sst-mfld-platform-pcm.c | 245 stream->stream_info.str_id = str_params.stream_id; in sst_platform_alloc_stream() 325 stream->stream_info.str_id = 0; in sst_media_open() 363 int str_id; in sst_media_close() local 368 str_id = stream->stream_info.str_id; in sst_media_close() 369 if (str_id) in sst_media_close() 370 stream->ops->close(sst->dev, str_id); in sst_media_close() 379 int ret_val, str_id; in sst_media_prepare() local 382 str_id = stream->stream_info.str_id; in sst_media_prepare() 383 if (stream->stream_info.str_id) { in sst_media_prepare() 384 ret_val = stream->ops->stream_drop(sst->dev, str_id); in sst_media_prepare() [all …]
|
D | sst-mfld-platform-compress.c | 79 int ret_val = 0, str_id; in sst_platform_compr_free() local 86 str_id = stream->id; in sst_platform_compr_free() 87 if (str_id) in sst_platform_compr_free() 88 ret_val = stream->compr_ops->close(sst->dev, str_id); in sst_platform_compr_free()
|
D | sst-mfld-dsp.h | 217 u32 str_id:5; member 465 u8 str_id; member
|
/linux-6.1.9/sound/soc/sprd/ |
D | sprd-pcm-dma.h | 43 int (*open)(int str_id, struct sprd_compr_callback *cb); 44 int (*close)(int str_id); 45 int (*start)(int str_id); 46 int (*stop)(int str_id); 47 int (*pause)(int str_id); 48 int (*pause_release)(int str_id); 50 int (*set_params)(int str_id, struct sprd_compr_params *params);
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_debugfs.c | 1636 char str_id[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_fd_counter() local 1660 hclge_dbg_get_func_id_str(str_id, i); in hclge_dbg_dump_fd_counter() 1662 "%s\t%llu\n", str_id, cnt); in hclge_dbg_dump_fd_counter() 1981 char content[HCLGE_DBG_INFO_LEN], str_id[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_mac_list() local 2005 result[i++] = hclge_dbg_get_func_id_str(str_id, in hclge_dbg_dump_mac_list() 2218 char content[HCLGE_DBG_VLAN_FLTR_INFO_LEN], str_id[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_vlan_filter_config() local 2252 result[j++] = hclge_dbg_get_func_id_str(str_id, i); in hclge_dbg_dump_vlan_filter_config() 2271 char str_id[HCLGE_DBG_ID_LEN], str_pvid[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_vlan_offload_config() local 2294 result[j++] = hclge_dbg_get_func_id_str(str_id, i); in hclge_dbg_dump_vlan_offload_config()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 12207 char str_id[VENDOR_ID_LEN + 1]; in bnx2x_read_fwinfo() local 12224 snprintf(str_id, VENDOR_ID_LEN + 1, "%04x", PCI_VENDOR_ID_DELL); in bnx2x_read_fwinfo() 12225 if (!strncasecmp(str_id, &vpd_data[rodi], VENDOR_ID_LEN)) { in bnx2x_read_fwinfo()
|