/linux/sound/soc/intel/atom/sst/ |
A D | sst_drv_interface.c | 192 int str_id, retval; in sst_cdev_open() local 203 if (str_id > 0) { in sst_cdev_open() 212 str_id = -EINVAL; in sst_cdev_open() 215 return str_id; in sst_cdev_open() 302 unsigned int str_id) in sst_cdev_stream_pause_release() argument 337 unsigned int str_id) in sst_cdev_stream_partial_drain() argument 441 str_id); in sst_cdev_fragment_elapsed() 519 unsigned int str_id; in sst_read_timestamp() local 523 str_id = info->str_id; in sst_read_timestamp() 604 int str_id = 0; in sst_stream_init() local [all …]
|
A 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() 75 sst_drv_ctx->streams[str_id].num_ch = num_ch; in sst_alloc_stream_mrfld() 113 str_id, str_info->pipe_id); in sst_realloc_stream() 124 str_id = ret; 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() 392 int str_id, bool partial_drain) in sst_drain_stream() argument [all …]
|
A 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); 446 int sst_set_metadata(int str_id, char *params); 453 int str_id, bool partial_drain); 476 void sst_cdev_fragment_elapsed(struct intel_sst_drv *ctx, int str_id); 477 int sst_send_sync_msg(int ipc, int str_id); [all …]
|
A 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()
|
A 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/sound/soc/intel/atom/ |
A 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); 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); 114 int (*set_metadata)(struct device *dev, unsigned int str_id, 122 int (*stream_start)(struct device *dev, int str_id); 123 int (*stream_drop)(struct device *dev, int str_id); 124 int (*stream_pause)(struct device *dev, int str_id); [all …]
|
A D | sst-mfld-platform-pcm.c | 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() 392 "%d", stream->stream_info.str_id); in sst_media_prepare() 593 int ret_val = 0, str_id; in sst_soc_trigger() local [all …]
|
A 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()
|
A D | sst-mfld-dsp.h | 217 u32 str_id:5; member 465 u8 str_id; member
|
/linux/sound/soc/sprd/ |
A 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/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_debugfs.c | 1588 char str_id[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_fd_counter() local 1609 hclge_dbg_get_func_id_str(str_id, i); in hclge_dbg_dump_fd_counter() 1611 "%s\t%llu\n", str_id, cnt); in hclge_dbg_dump_fd_counter() 1927 char content[HCLGE_DBG_INFO_LEN], str_id[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_mac_list() local 1951 result[i++] = hclge_dbg_get_func_id_str(str_id, in hclge_dbg_dump_mac_list() 2164 char content[HCLGE_DBG_VLAN_FLTR_INFO_LEN], str_id[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_vlan_filter_config() local 2198 result[j++] = hclge_dbg_get_func_id_str(str_id, i); in hclge_dbg_dump_vlan_filter_config() 2217 char str_id[HCLGE_DBG_ID_LEN], str_pvid[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_vlan_offload_config() local 2240 result[j++] = hclge_dbg_get_func_id_str(str_id, i); in hclge_dbg_dump_vlan_offload_config()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_main.c | 12196 char str_id[VENDOR_ID_LEN + 1]; in bnx2x_read_fwinfo() local 12213 snprintf(str_id, VENDOR_ID_LEN + 1, "%04x", PCI_VENDOR_ID_DELL); in bnx2x_read_fwinfo() 12214 if (!strncasecmp(str_id, &vpd_data[rodi], VENDOR_ID_LEN)) { in bnx2x_read_fwinfo()
|