Home
last modified time | relevance | path

Searched refs:SNDRV_PCM_STREAM_PLAYBACK (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/Linux-v4.19/sound/soc/qcom/
Dsdm845.c45 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in sdm845_tdm_snd_hw_params()
115 DEFAULT_MCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
118 DEFAULT_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
128 DEFAULT_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
152 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
155 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
164 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
/Linux-v4.19/sound/soc/cirrus/
Dep93xx-i2s.c88 [SNDRV_PCM_STREAM_PLAYBACK] = {
128 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_enable()
136 stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_enable()
148 stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_disable()
152 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_disable()
206 &ep93xx_i2s_dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in ep93xx_i2s_dai_probe()
325 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_hw_params()
379 ep93xx_i2s_disable(info, SNDRV_PCM_STREAM_PLAYBACK); in ep93xx_i2s_suspend()
392 ep93xx_i2s_enable(info, SNDRV_PCM_STREAM_PLAYBACK); in ep93xx_i2s_resume()
/Linux-v4.19/sound/soc/davinci/
Ddavinci-vcif.c66 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_vcif_start()
84 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_vcif_stop()
178 dai->playback_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_vcif_dai_probe()
218 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].filter_data = in davinci_vcif_probe()
220 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr = in davinci_vcif_probe()
Ddavinci-i2s.c195 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_mcbsp_start()
565 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_i2s_hw_params()
580 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_prepare()
590 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_trigger()
613 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_shutdown()
633 dai->playback_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_dai_probe()
691 dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_probe()
696 dma = &dev->dma_request[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_probe()
Ddavinci-mcasp.c238 mcasp->irq_request[SNDRV_PCM_STREAM_PLAYBACK]); in mcasp_start_tx()
245 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_mcasp_start()
280 mcasp->irq_request[SNDRV_PCM_STREAM_PLAYBACK]); in mcasp_stop_tx()
303 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_mcasp_stop()
313 u32 irq_mask = mcasp->irq_request[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_tx_irq_handler()
322 substream = mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_tx_irq_handler()
376 if (mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]) in davinci_mcasp_common_irq_handler()
645 ret = davinci_mcasp_ch_constraint(mcasp, SNDRV_PCM_STREAM_PLAYBACK, in davinci_mcasp_set_ch_constraints()
683 mcasp->tdm_mask[SNDRV_PCM_STREAM_PLAYBACK] = tx_mask; in davinci_mcasp_set_tdm_slot()
763 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in mcasp_common_hw_param()
[all …]
/Linux-v4.19/sound/soc/fsl/
Dimx-pcm-fiq.c61 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hrtimer_callback()
100 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_imx_pcm_prepare()
121 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_imx_pcm_trigger()
133 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_imx_pcm_trigger()
268 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in imx_pcm_new()
270 SNDRV_PCM_STREAM_PLAYBACK); in imx_pcm_new()
297 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in imx_pcm_fiq_new()
Dfsl_dma.c173 if (dma_private->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_dma_update_pointers()
301 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in fsl_dma_new()
304 &pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in fsl_dma_new()
317 snd_dma_free_pages(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in fsl_dma_new()
416 channel = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0 : 1; in fsl_dma_open()
429 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in fsl_dma_open()
508 mr |= (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in fsl_dma_open()
669 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_dma_hw_params()
720 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_dma_pointer()
/Linux-v4.19/sound/soc/sh/
Ddma-sh7760.c122 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_open()
155 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_close()
176 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_hw_params()
208 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in camelot_prepare()
251 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_trigger()
278 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pos()
/Linux-v4.19/sound/soc/bcm/
Dcygnus-pcm.c265 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in configure_ringbuf_regs()
312 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_ringbuf()
330 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in enable_intr()
367 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in disable_intr()
416 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in cygnus_pcm_period_elapsed()
608 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_open()
625 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_close()
691 is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 1 : 0; in cygnus_pcm_prepare()
712 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_pointer()
772 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in cygnus_dma_free_dma_buffers()
[all …]
/Linux-v4.19/sound/soc/dwc/
Ddwc-i2s.c43 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in i2s_disable_channels()
56 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in i2s_clear_irqs()
70 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in i2s_disable_irqs()
88 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in i2s_enable_irqs()
111 i2s_clear_irqs(dev, SNDRV_PCM_STREAM_PLAYBACK); in i2s_irq_handler()
160 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in i2s_start()
173 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in i2s_stop()
197 (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)) in dw_i2s_startup()
200 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in dw_i2s_startup()
219 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in dw_i2s_config()
[all …]
/Linux-v4.19/sound/soc/omap/
Domap-mcbsp.c86 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_set_threshold()
141 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_startup()
160 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_shutdown()
161 int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE; in omap_mcbsp_dai_shutdown()
162 int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in omap_mcbsp_dai_shutdown()
183 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_prepare()
184 int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE; in omap_mcbsp_dai_prepare()
185 int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in omap_mcbsp_dai_prepare()
204 int err = 0, play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_trigger()
237 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_delay()
[all …]
/Linux-v4.19/sound/soc/kirkwood/
Dkirkwood-dma.c150 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_dma_open()
174 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_close()
215 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_dma_prepare()
235 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_pointer()
284 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in kirkwood_dma_new()
286 SNDRV_PCM_STREAM_PLAYBACK); in kirkwood_dma_new()
/Linux-v4.19/sound/soc/sti/
Dsti_uniperif.c34 .stream = SNDRV_PCM_STREAM_PLAYBACK,
42 .stream = SNDRV_PCM_STREAM_PLAYBACK,
50 .stream = SNDRV_PCM_STREAM_PLAYBACK,
58 .stream = SNDRV_PCM_STREAM_PLAYBACK,
339 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) { in sti_uniperiph_dai_resume()
360 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) in sti_uniperiph_dai_probe()
447 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) { in sti_uniperiph_cpu_dai_of()
/Linux-v4.19/sound/soc/au1x/
Dpsc-ac97.c44 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TS : PSC_AC97PCR_RS)
46 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TP : PSC_AC97PCR_RP)
48 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TC : PSC_AC97PCR_RC)
51 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97STAT_TB : PSC_AC97STAT_RB)
237 if (stype == SNDRV_PCM_STREAM_PLAYBACK) { in au1xpsc_ac97_hw_params()
389 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_ac97_drvprobe()
Dpsc-i2s.c45 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SSTAT_TB : PSC_I2SSTAT_RB)
47 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TS : PSC_I2SPCR_RS)
49 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TP : PSC_I2SPCR_RP)
51 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TC : PSC_I2SPCR_RC)
314 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_i2s_drvprobe()
/Linux-v4.19/sound/usb/line6/
Dpcm.c144 return (direction == SNDRV_PCM_STREAM_PLAYBACK) ? in get_stream()
155 (direction == SNDRV_PCM_STREAM_PLAYBACK) ? in line6_buffer_acquire()
198 if (direction == SNDRV_PCM_STREAM_PLAYBACK) in line6_stream_start()
250 err = line6_stream_start(line6pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_line6_trigger()
266 line6_stream_stop(line6pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_line6_trigger()
274 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_line6_trigger()
280 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_line6_trigger()
503 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_line6_new_pcm()
/Linux-v4.19/sound/soc/codecs/
Dadau17x1.c203 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_put()
232 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_get()
266 SNDRV_PCM_STREAM_PLAYBACK, adau17x1_dac_mux_text);
686 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 0; in adau17x1_set_dai_tdm_slot()
690 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 1; in adau17x1_set_dai_tdm_slot()
694 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 2; in adau17x1_set_dai_tdm_slot()
698 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 3; in adau17x1_set_dai_tdm_slot()
716 if (adau->dsp_bypass[SNDRV_PCM_STREAM_PLAYBACK]) { in adau17x1_set_dai_tdm_slot()
718 (adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] * 2) + 1); in adau17x1_set_dai_tdm_slot()
/Linux-v4.19/sound/pci/hda/
Dpatch_si3054.c159 val &= 0xff << (8 * (substream->stream != SNDRV_PCM_STREAM_PLAYBACK)); in si3054_pcm_prepare()
160 val |= ((stream_tag & 0xf) << 4) << (8 * (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)); in si3054_pcm_prepare()
206 info->stream[SNDRV_PCM_STREAM_PLAYBACK] = si3054_pcm; in si3054_build_pcms()
208 info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid = codec->core.mfg; in si3054_build_pcms()
/Linux-v4.19/sound/soc/pxa/
Dpxa2xx-i2s.c172 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_hw_params()
188 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_hw_params()
227 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_trigger()
249 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in pxa2xx_i2s_shutdown()
Dmmp-sspa.c274 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mmp_sspa_hw_params()
305 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in mmp_sspa_hw_params()
314 dma_params->addr = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in mmp_sspa_hw_params()
341 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mmp_sspa_trigger()
352 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mmp_sspa_trigger()
Dpxa2xx-ac97.c111 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_hifi_startup()
126 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_aux_startup()
139 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_mic_startup()
/Linux-v4.19/sound/soc/txx9/
Dtxx9aclc.c135 dmadata->substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in txx9aclc_dma_submit()
156 u32 ctlbit = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in txx9aclc_dma_tasklet()
216 u32 ctlbit = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in txx9aclc_pcm_trigger()
303 dev->dmadata[0].stream = SNDRV_PCM_STREAM_PLAYBACK; in txx9aclc_pcm_new()
354 if (dmadata->stream == SNDRV_PCM_STREAM_PLAYBACK) { in txx9aclc_dma_init()
369 dmadata->stream == SNDRV_PCM_STREAM_PLAYBACK ? in txx9aclc_dma_init()
/Linux-v4.19/sound/drivers/
Daloop.c154 if (dpcm->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_setup()
200 #define CABLE_VALID_PLAYBACK (1 << SNDRV_PCM_STREAM_PLAYBACK)
212 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_check_format()
216 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format()
231 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format()
233 setup = get_setup(cable->streams[SNDRV_PCM_STREAM_PLAYBACK]); in loopback_check_format()
234 card = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]->loopback->card; in loopback_check_format()
281 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger()
290 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger()
299 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger()
[all …]
/Linux-v4.19/sound/core/
Dpcm_local.h42 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_avail()
51 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_hw_avail()
/Linux-v4.19/sound/usb/
Dproc.c156 if (stream->substream[SNDRV_PCM_STREAM_PLAYBACK].num_formats) { in proc_pcm_format_read()
158 proc_dump_substream_status(&stream->substream[SNDRV_PCM_STREAM_PLAYBACK], buffer); in proc_pcm_format_read()
159 proc_dump_substream_formats(&stream->substream[SNDRV_PCM_STREAM_PLAYBACK], buffer); in proc_pcm_format_read()

12345678910>>...12