Searched refs:stream (Results 101 - 125 of 946) sorted by last modified time

1234567891011>>

/linux-master/sound/soc/intel/boards/
H A Dsof_maxim_common.c109 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
/linux-master/sound/soc/intel/avs/
H A Dpcm.c27 /* 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 Dloader.c368 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 Dicl.c148 * stream is allocated and set to run.
152 substream.stream = SNDRV_PCM_STREAM_CAPTURE;
/linux-master/sound/soc/intel/avs/boards/
H A Dnau8825.c232 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 Dsimple-card-utils.c566 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 Dimx-pcm-rpmsg.c130 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 Dimx-hdmi.c37 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
H A Dfsl_ssi.c16 // 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 Dfsl-asoc-card.c174 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 Dfsl_rpmsg.c71 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 Dwm_adsp.c142 __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 Dwm8996.c1743 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK ||
1754 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK ||
H A Dwm8995.c1566 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK /* ||
1578 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK /* ||
H A Dwm8994.c2937 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 Dwm8961.c534 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && target < 64) {
539 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && target < 256) {
H A Dwm8960.c836 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
894 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
H A Dwm8940.c411 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE
H A Dwm8900.c652 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
H A Dwm5100.c1481 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK ||
1490 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
H A Dwm2200.c1752 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK ||
1761 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
H A Dwcd934x.c1802 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 Dtscs454.c3224 substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
3244 substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
H A Duda1380.c559 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
580 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
H A Dtscs42xx.c1175 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)

Completed in 471 milliseconds

1234567891011>>