/linux-master/sound/soc/ti/ |
H A D | davinci-mcasp.c | 366 struct snd_pcm_substream *substream; local 376 substream = mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]; 377 if (substream) 378 snd_pcm_stop_xrun(substream); 397 struct snd_pcm_substream *substream; local 407 substream = mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE]; 408 if (substream) 409 snd_pcm_stop_xrun(substream); 1187 struct snd_pcm_substream *substream, 1193 if (substream 1186 davinci_mcasp_delay( struct snd_pcm_substream *substream, struct snd_soc_dai *cpu_dai) argument 1206 davinci_mcasp_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *cpu_dai) argument 1298 davinci_mcasp_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *cpu_dai) argument 1484 davinci_mcasp_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *cpu_dai) argument 1600 davinci_mcasp_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *cpu_dai) argument [all...] |
/linux-master/sound/soc/tegra/ |
H A D | tegra186_dspk.c | 213 static int tegra186_dspk_hw_params(struct snd_pcm_substream *substream, argument
|
/linux-master/sound/soc/sof/ |
H A D | sof-audio.h | 122 int (*hw_params)(struct snd_soc_component *component, struct snd_pcm_substream *substream, 125 int (*hw_free)(struct snd_soc_component *component, struct snd_pcm_substream *substream); 126 int (*trigger)(struct snd_soc_component *component, struct snd_pcm_substream *substream, 132 struct snd_pcm_substream *substream, 135 struct snd_pcm_substream *substream); 328 struct snd_pcm_substream *substream; member in struct:snd_sof_pcm_stream 611 void snd_sof_pcm_period_elapsed(struct snd_pcm_substream *substream); 644 int sof_pcm_dsp_pcm_free(struct snd_pcm_substream *substream, struct snd_sof_dev *sdev, 646 int sof_pcm_stream_free(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream,
|
H A D | pcm.c | 25 struct snd_pcm_substream *substream, 28 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 30 struct snd_dma_buffer *dmab = snd_pcm_get_dma_buf(substream); 31 int stream = substream->stream; 50 snd_pcm_period_elapsed(sps->substream); 61 void snd_sof_pcm_period_elapsed(struct snd_pcm_substream *substream) argument 63 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 83 schedule_work(&spcm->stream[substream->stream].period_elapsed_work); 123 struct snd_pcm_substream *substream, 127 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 24 create_page_table(struct snd_soc_component *component, struct snd_pcm_substream *substream, unsigned char *dma_area, size_t size) argument 122 sof_pcm_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument 194 sof_pcm_hw_free(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 246 sof_pcm_prepare(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 283 sof_pcm_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) argument 385 sof_pcm_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 424 sof_pcm_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 489 sof_pcm_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 676 sof_pcm_ack(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 684 sof_pcm_delay(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument [all...] |
H A D | ipc4-pcm.c | 377 struct snd_pcm_substream *substream, int state, int cmd) 380 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 398 pipeline_list = &spcm->stream[substream->stream].pipeline_list; 410 * trigger function that handles the rest for the substream. 413 return sof_ipc4_chain_dma_trigger(sdev, spcm, substream->stream, 487 time_info = sof_ipc4_sps_to_time_info(&spcm->stream[substream->stream]); 526 struct snd_pcm_substream *substream, int cmd) 548 return sof_ipc4_trigger_pipelines(component, substream, state, cmd); 552 struct snd_pcm_substream *substream) 555 return sof_ipc4_trigger_pipelines(component, substream, SOF_IPC4_PIPE_RESE 376 sof_ipc4_trigger_pipelines(struct snd_soc_component *component, struct snd_pcm_substream *substream, int state, int cmd) argument 525 sof_ipc4_pcm_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) argument 551 sof_ipc4_pcm_hw_free(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 883 sof_ipc4_pcm_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_sof_platform_stream_params *platform_params) argument 910 sof_ipc4_get_stream_start_offset(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, struct snd_sof_pcm_stream *sps, struct sof_ipc4_timestamp_info *time_info) argument 957 sof_ipc4_pcm_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream, snd_pcm_uframes_t *pointer) argument 1073 sof_ipc4_pcm_delay(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument [all...] |
H A D | ipc3-pcm.c | 17 struct snd_pcm_substream *substream) 20 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 28 if (!spcm->prepared[substream->stream]) 33 stream.comp_id = spcm->stream[substream->stream].comp_id; 40 struct snd_pcm_substream *substream, 45 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 47 struct snd_pcm_runtime *runtime = substream->runtime; 65 pcm.comp_id = spcm->stream[substream->stream].comp_id; 67 pcm.params.buffer.phy_addr = spcm->stream[substream->stream].page_table.addr; 69 pcm.params.direction = substream 16 sof_ipc3_pcm_hw_free(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 39 sof_ipc3_pcm_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_sof_platform_stream_params *platform_params) argument 142 sof_ipc3_pcm_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) argument [all...] |
H A D | sof-priv.h | 235 /* connect pcm substream to a host stream */ 237 struct snd_pcm_substream *substream); /* optional */ 238 /* disconnect pcm substream to a host stream */ 240 struct snd_pcm_substream *substream); /* optional */ 244 struct snd_pcm_substream *substream, 250 struct snd_pcm_substream *substream); /* optional */ 254 struct snd_pcm_substream *substream, 259 struct snd_pcm_substream *substream); /* optional */ 262 int (*pcm_ack)(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream); /* optional */ 273 struct snd_pcm_substream *substream); /* optiona [all...] |
H A D | ipc4-topology.c | 3010 struct snd_pcm_substream *substream = spcm->stream[dir].substream; local 3012 if (!substream || !substream->runtime || spcm->stream[dir].suspend_ignored) 3016 ret = sof_pcm_stream_free(sdev, substream, spcm, dir, true);
|
H A D | ops.h | 422 struct snd_pcm_substream *substream) 425 return sof_ops(sdev)->pcm_open(sdev, substream); 430 /* disconnect pcm substream to a host stream */ 433 struct snd_pcm_substream *substream) 436 return sof_ops(sdev)->pcm_close(sdev, substream); 444 struct snd_pcm_substream *substream, 449 return sof_ops(sdev)->pcm_hw_params(sdev, substream, params, 458 struct snd_pcm_substream *substream) 461 return sof_ops(sdev)->pcm_hw_free(sdev, substream); 469 struct snd_pcm_substream *substream, in 421 snd_sof_pcm_platform_open(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument 432 snd_sof_pcm_platform_close(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument 443 snd_sof_pcm_platform_hw_params(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_sof_platform_stream_params *platform_params) argument 457 snd_sof_pcm_platform_hw_free(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument 468 snd_sof_pcm_platform_trigger(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream, int cmd) argument 507 snd_sof_pcm_platform_pointer(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument 517 snd_sof_pcm_platform_ack(struct snd_sof_dev *sdev, struct snd_pcm_substream *substream) argument 527 snd_sof_pcm_get_dai_frame_counter(struct snd_sof_dev *sdev, struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 539 snd_sof_pcm_get_host_byte_counter(struct snd_sof_dev *sdev, struct snd_soc_component *component, struct snd_pcm_substream *substream) argument [all...] |
/linux-master/sound/soc/meson/ |
H A D | axg-tdm-interface.c | 146 static int axg_tdm_iface_startup(struct snd_pcm_substream *substream, argument 151 snd_soc_dai_get_dma_data(dai, substream); 161 ret = snd_pcm_hw_constraint_single(substream->runtime, 169 ret = snd_pcm_hw_constraint_minmax(substream->runtime, 182 static int axg_tdm_iface_set_stream(struct snd_pcm_substream *substream, argument 187 struct axg_tdm_stream *ts = snd_soc_dai_get_dma_data(dai, substream); 307 static int axg_tdm_iface_hw_params(struct snd_pcm_substream *substream, argument 312 struct axg_tdm_stream *ts = snd_soc_dai_get_dma_data(dai, substream); 335 ret = axg_tdm_iface_set_stream(substream, params, dai); 357 static int axg_tdm_iface_hw_free(struct snd_pcm_substream *substream, argument 365 axg_tdm_iface_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) argument [all...] |
H A D | axg-card.c | 40 static int axg_card_tdm_be_hw_params(struct snd_pcm_substream *substream, argument 43 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 48 return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs);
|
H A D | axg-fifo.c | 319 snd_pcm_set_managed_buffer(rtd->pcm->streams[type].substream,
|
/linux-master/sound/soc/intel/boards/ |
H A D | bytcr_rt5640.c | 528 static int byt_rt5640_aif1_hw_params(struct snd_pcm_substream *substream, argument 531 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 1498 static int byt_rt5640_aif1_startup(struct snd_pcm_substream *substream) argument 1500 return snd_pcm_hw_constraint_single(substream->runtime,
|
/linux-master/sound/soc/intel/avs/ |
H A D | icl.c | 129 struct snd_pcm_substream substream; local 145 memset(&substream, 0, sizeof(substream)); 146 substream.stream = SNDRV_PCM_STREAM_CAPTURE; 148 host_stream = snd_hdac_ext_stream_assign(bus, &substream, HDAC_EXT_STREAM_TYPE_HOST);
|
/linux-master/sound/soc/codecs/ |
H A D | wsa881x.c | 979 static int wsa881x_hw_params(struct snd_pcm_substream *substream, argument 1001 static int wsa881x_hw_free(struct snd_pcm_substream *substream, argument
|
H A D | rt722-sdca.c | 1152 static void rt722_sdca_shutdown(struct snd_pcm_substream *substream, argument 1155 snd_soc_dai_set_dma_data(dai, substream, NULL); 1158 static int rt722_sdca_pcm_hw_params(struct snd_pcm_substream *substream, argument 1172 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); 1186 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 1268 static int rt722_sdca_pcm_hw_free(struct snd_pcm_substream *substream, argument 1274 snd_soc_dai_get_dma_data(dai, substream);
|
H A D | rt715-sdca.c | 796 static void rt715_sdca_shutdown(struct snd_pcm_substream *substream, argument 800 snd_soc_dai_set_dma_data(dai, substream, NULL); 803 static int rt715_sdca_pcm_hw_params(struct snd_pcm_substream *substream, argument 815 sdw_stream = snd_soc_dai_get_dma_data(dai, substream); 823 snd_sdw_params_to_config(substream, params, &stream_config, &port_config); 908 static int rt715_sdca_pcm_hw_free(struct snd_pcm_substream *substream, argument 914 snd_soc_dai_get_dma_data(dai, substream);
|
H A D | rt5645.c | 2750 static int rt5645_hw_params(struct snd_pcm_substream *substream, argument
|
H A D | cs35l56.c | 584 static int cs35l56_asp_dai_hw_params(struct snd_pcm_substream *substream, argument 631 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 682 static void cs35l56_sdw_dai_shutdown(struct snd_pcm_substream *substream, argument 685 snd_soc_dai_set_dma_data(dai, substream, NULL); 700 static int cs35l56_sdw_dai_hw_params(struct snd_pcm_substream *substream, argument 705 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream); 724 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 751 static int cs35l56_sdw_dai_hw_free(struct snd_pcm_substream *substream, argument 755 struct sdw_stream_runtime *sdw_stream = snd_soc_dai_get_dma_data(dai, substream);
|
H A D | cs35l41.c | 754 static int cs35l41_pcm_hw_params(struct snd_pcm_substream *substream, argument 780 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 821 static int cs35l41_pcm_startup(struct snd_pcm_substream *substream, argument 824 if (substream->runtime) 825 return snd_pcm_hw_constraint_list(substream->runtime, 0,
|
/linux-master/sound/pci/hda/ |
H A D | patch_realtek.c | 4563 struct snd_pcm_substream *substream, 7193 struct snd_pcm_substream *substream, 4561 alc274_hp_envy_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) argument 7191 alc287_alc1318_playback_pcm_hook(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream, int action) argument
|
/linux-master/include/sound/ |
H A D | emu10k1.h | 1497 struct snd_pcm_substream *substream; member in struct:snd_emu10k1_pcm 1882 struct snd_util_memblk *snd_emu10k1_alloc_pages(struct snd_emu10k1 *emu, struct snd_pcm_substream *substream);
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_debugfs.c | 1548 seq_printf(m, "W0: substream \t\t\t0x%03x\nW0: sdp_mcast \t\t\t%d\n", 1549 sq_ctx->substream, sq_ctx->sdp_mcast); 1619 seq_printf(m, "W0: sdp_mcast \t\t\t%d\nW0: substream \t\t\t0x%03x\n", 1620 sq_ctx->sdp_mcast, sq_ctx->substream); 1765 seq_printf(m, "W0: wqe_aura \t\t\t%d\nW0: substream \t\t\t0x%03x\n", 1766 rq_ctx->wqe_aura, rq_ctx->substream); 1858 seq_printf(m, "W3: substream \t\t\t0x%03x\nW3: ena \t\t\t%d\n", 1859 cq_ctx->substream, cq_ctx->ena);
|
H A D | rvu_nix.c | 1248 aq_req.cq_mask.substream = 0;
|
/linux-master/drivers/soundwire/ |
H A D | amd_manager.c | 597 static int amd_sdw_hw_params(struct snd_pcm_substream *substream, argument 613 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) 645 static int amd_sdw_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument
|