/linux-6.6.21/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 | 32 int i, num_ch, str_id; in sst_alloc_stream_mrfld() local 37 str_id = str_params->stream_id; in sst_alloc_stream_mrfld() 38 str_info = get_stream_info(sst_drv_ctx, str_id); in sst_alloc_stream_mrfld() 70 sst_drv_ctx->streams[str_id].status = STREAM_INIT; in sst_alloc_stream_mrfld() 71 sst_drv_ctx->streams[str_id].prev = STREAM_UN_INIT; in sst_alloc_stream_mrfld() 72 sst_drv_ctx->streams[str_id].pipe_id = str_params->device_type; in sst_alloc_stream_mrfld() 73 sst_drv_ctx->streams[str_id].task_id = str_params->task; in sst_alloc_stream_mrfld() 74 sst_drv_ctx->streams[str_id].num_ch = num_ch; in sst_alloc_stream_mrfld() 78 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld() 81 sst_drv_ctx->tstamp + (str_id * sizeof(fw_tstamp)); in sst_alloc_stream_mrfld() [all …]
|
D | sst.h | 434 int sst_realloc_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 435 int sst_pause_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 436 int sst_resume_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 437 int sst_drop_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 438 int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 439 int sst_start_stream(struct intel_sst_drv *sst_drv_ctx, int str_id); 442 int sst_set_stream_param(int str_id, struct snd_sst_params *str_param); 443 int sst_set_metadata(int str_id, char *params); 450 int str_id, bool partial_drain); 469 int free_stream_context(struct intel_sst_drv *ctx, unsigned int str_id); [all …]
|
D | sst_ipc.c | 251 int str_id; in process_fw_async_msg() local 265 str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); in process_fw_async_msg() 266 if (str_id > 0) { in process_fw_async_msg() 270 stream = &sst_drv_ctx->streams[str_id]; in process_fw_async_msg() 283 str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); in process_fw_async_msg() 284 if (str_id > 0) { in process_fw_async_msg() 285 stream = &sst_drv_ctx->streams[str_id]; in process_fw_async_msg() 304 str_id = get_stream_id_mrfld(sst_drv_ctx, pipe_id); in process_fw_async_msg() 305 if (str_id > 0) in process_fw_async_msg() 308 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.6.21/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.6.21/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.6.21/samples/hid/ |
D | hid_mouse.c | 57 const char *str_id, *dir; in get_hid_id() local 72 str_id = dir + sizeof("0003:0001:0A37."); in get_hid_id() 73 return (int)strtol(str_id, NULL, 16); in get_hid_id()
|
D | hid_surface_dial.c | 70 const char *str_id, *dir; in get_hid_id() local 85 str_id = dir + sizeof("0003:0001:0A37."); in get_hid_id() 86 return (int)strtol(str_id, NULL, 16); in get_hid_id()
|
/linux-6.6.21/tools/testing/selftests/hid/ |
D | hid_bpf.c | 353 const char *str_id; in get_hid_id() local 368 str_id = dir->d_name + sizeof("0003:0001:0A37."); in get_hid_id() 369 found = (int)strtol(str_id, NULL, 16); in get_hid_id()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_debugfs.c | 1656 char str_id[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_fd_counter() local 1680 hclge_dbg_get_func_id_str(str_id, i); in hclge_dbg_dump_fd_counter() 1682 "%s\t%llu\n", str_id, cnt); in hclge_dbg_dump_fd_counter() 2001 char content[HCLGE_DBG_INFO_LEN], str_id[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_mac_list() local 2025 result[i++] = hclge_dbg_get_func_id_str(str_id, in hclge_dbg_dump_mac_list() 2238 char content[HCLGE_DBG_VLAN_FLTR_INFO_LEN], str_id[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_vlan_filter_config() local 2272 result[j++] = hclge_dbg_get_func_id_str(str_id, i); in hclge_dbg_dump_vlan_filter_config() 2291 char str_id[HCLGE_DBG_ID_LEN], str_pvid[HCLGE_DBG_ID_LEN]; in hclge_dbg_dump_vlan_offload_config() local 2314 result[j++] = hclge_dbg_get_func_id_str(str_id, i); in hclge_dbg_dump_vlan_offload_config()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 12209 char str_id[VENDOR_ID_LEN + 1]; in bnx2x_read_fwinfo() local 12226 snprintf(str_id, VENDOR_ID_LEN + 1, "%04x", PCI_VENDOR_ID_DELL); in bnx2x_read_fwinfo() 12227 if (!strncasecmp(str_id, &vpd_data[rodi], VENDOR_ID_LEN)) { in bnx2x_read_fwinfo()
|