/linux-master/sound/soc/intel/boards/ |
H A D | sof_maxim_common.c | 109 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
|
/linux-master/sound/soc/intel/avs/ |
H A D | pcm.c | 27 /* LINK-stream utilized in BE operations while HOST in FE ones. */ 66 template = avs_dai_find_path_template(dai, !rtd->dai_link->no_pcm, substream->stream); 145 for_each_dpcm_fe(be, substream->stream, dpcm) { 147 fe_hw_params = &fe->dpcm[substream->stream].hw_params; 328 /* clear link <-> stream mapping */ 334 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 362 stream_info = snd_soc_dai_get_pcm_stream(dai, substream->stream); 375 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 574 for_each_dpcm_be(fe, substream->stream, dpcm) { 576 be_hw_params = &be->dpcm[substream->stream] 1207 avs_hda_stream_dpib_read(struct hdac_ext_stream *stream) argument 1455 int stream; local [all...] |
H A D | loader.c | 368 substream.stream = SNDRV_PCM_STREAM_PLAYBACK; 381 /* enable SPIB for hda stream */ 412 /* disable SPIB for hda stream */ 428 struct hdac_stream *stream; local 435 substream.stream = SNDRV_PCM_STREAM_PLAYBACK; 440 stream = hdac_stream(estream); 444 ret = snd_hdac_dsp_prepare(stream, sdfmt, lib->size, &dmab); 448 /* enable SPIB for hda stream */ 449 snd_hdac_stream_spbcap_enable(bus, true, stream->index); 450 snd_hdac_stream_set_spib(bus, stream, li [all...] |
H A D | icl.c | 148 * stream is allocated and set to run. 152 substream.stream = SNDRV_PCM_STREAM_CAPTURE;
|
/linux-master/sound/soc/intel/avs/boards/ |
H A D | nau8825.c | 232 int stream = SNDRV_PCM_STREAM_PLAYBACK; local 239 if (snd_soc_dai_stream_active(codec_dai, stream) && 240 snd_soc_dai_get_widget(codec_dai, stream)->active)
|
/linux-master/sound/soc/generic/ |
H A D | simple-card-utils.c | 566 int i, ret, stream; local 583 for_each_pcm_streams(stream) { 584 ret = snd_soc_runtime_calc_hw(rtd, &hw, stream);
|
/linux-master/sound/soc/fsl/ |
H A D | imx-pcm-rpmsg.c | 130 info->msg_drop_count[substream->stream]++; 145 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 198 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 217 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 240 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 274 info->msg_drop_count[substream->stream] = 0; 277 info->stream_timer[substream->stream].info = info; 278 info->stream_timer[substream->stream].substream = substream; 279 timer_setup(&info->stream_timer[substream->stream].timer, 294 if (substream->stream [all...] |
H A D | imx-hdmi.c | 37 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
|
H A D | fsl_ssi.c | 16 // we receive in our (PCM-) data stream. The only chance we have is to 216 * @use_dma: DMA is used or FIQ with stream filter 232 * @fiq_params: FIQ stream filtering parameters 401 * when 1st stream starts, even if the opposite stream will not start 416 * the previous stream started. So skip all SxCR and SIER settings 431 /* Otherwise, only set bits for the current stream */ 472 /* Log the enabled stream to the mask */ 477 * Exclude bits that are used by the opposite stream 479 * When both streams are active, disabling some bits for the current stream [all...] |
H A D | fsl-asoc-card.c | 174 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; 183 priv->streams |= BIT(substream->stream); 239 priv->streams &= ~BIT(substream->stream); 251 priv->streams &= ~BIT(substream->stream);
|
H A D | fsl_rpmsg.c | 71 if (!(rpmsg->mclk_streams & BIT(substream->stream))) { 78 rpmsg->mclk_streams |= BIT(substream->stream); 89 if (rpmsg->mclk_streams & BIT(substream->stream)) { 91 rpmsg->mclk_streams &= ~BIT(substream->stream);
|
/linux-master/sound/soc/codecs/ |
H A D | wm_adsp.c | 142 __be32 min_free; /* min free space since stream start */ 171 struct snd_compr_stream *stream; member in struct:wm_adsp_compr 1211 if (compr->stream) 1212 snd_compr_fragment_elapsed(compr->stream); 1220 int wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream) argument 1223 struct snd_soc_pcm_runtime *rtd = stream->private_data; 1235 if (wm_adsp_fw[dsp->fw].compr_direction != stream->direction) { 1236 adsp_err(dsp, "%s: Firmware does not support stream direction\n", 1244 adsp_err(dsp, "%s: Only a single stream supported per dai\n", 1258 compr->stream 1272 wm_adsp_compr_free(struct snd_soc_component *component, struct snd_compr_stream *stream) argument 1292 wm_adsp_compr_check_params(struct snd_compr_stream *stream, struct snd_compr_params *params) argument 1347 wm_adsp_compr_set_params(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_params *params) argument 1375 wm_adsp_compr_get_caps(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_caps *caps) argument 1687 wm_adsp_compr_trigger(struct snd_soc_component *component, struct snd_compr_stream *stream, int cmd) argument 1851 wm_adsp_compr_pointer(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_tstamp *tstamp) argument 2010 wm_adsp_compr_copy(struct snd_soc_component *component, struct snd_compr_stream *stream, char __user *buf, size_t count) argument [all...] |
H A D | wm8996.c | 1743 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || 1754 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK ||
|
H A D | wm8995.c | 1566 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK /* || 1578 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK /* ||
|
H A D | wm8994.c | 2937 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || 2950 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || 3072 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
|
H A D | wm8961.c | 534 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && target < 64) { 539 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && target < 256) {
|
H A D | wm8960.c | 836 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; 894 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
|
H A D | wm8940.c | 411 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE
|
H A D | wm8900.c | 652 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
|
H A D | wm5100.c | 1481 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || 1490 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
|
H A D | wm2200.c | 1752 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || 1761 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
|
H A D | wcd934x.c | 1802 switch (substream->stream) { 1868 dev_err(wcd->dev, "Invalid stream type %d\n", 1869 substream->stream); 1875 return wcd934x_slim_set_hw_params(wcd, &wcd->dai[dai->id], substream->stream);
|
H A D | tscs454.c | 3224 substream->stream == SNDRV_PCM_STREAM_PLAYBACK); 3244 substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
|
H A D | uda1380.c | 559 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 580 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
|
H A D | tscs42xx.c | 1175 static int tscs42xx_mute_stream(struct snd_soc_dai *dai, int mute, int stream) argument 1181 if (stream == SNDRV_PCM_STREAM_PLAYBACK) 1186 if (stream == SNDRV_PCM_STREAM_PLAYBACK)
|