Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v5.15/sound/soc/cirrus/
Dep93xx-i2s.c83 [SNDRV_PCM_STREAM_PLAYBACK] = {
123 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_enable()
131 stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_enable()
143 stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_disable()
147 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_disable()
201 &ep93xx_i2s_dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in ep93xx_i2s_dai_probe()
320 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_hw_params()
374 ep93xx_i2s_disable(info, SNDRV_PCM_STREAM_PLAYBACK); in ep93xx_i2s_suspend()
387 ep93xx_i2s_enable(info, SNDRV_PCM_STREAM_PLAYBACK); in ep93xx_i2s_resume()
/Linux-v5.15/sound/soc/intel/keembay/
Dkmb_platform.c174 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in kmb_i2s_disable_channels()
188 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in kmb_i2s_clear_irqs()
203 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_i2s_irq_trigger()
274 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kmb_pcm_trigger()
283 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_pcm_trigger()
308 kmb_i2s_clear_irqs(kmb_i2s, SNDRV_PCM_STREAM_PLAYBACK); in kmb_i2s_irq_handler()
382 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_pcm_pointer()
421 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_i2s_enable_dma()
435 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in kmb_i2s_disable_dma()
453 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_i2s_start()
[all …]
/Linux-v5.15/sound/soc/ti/
Ddavinci-vcif.c53 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_vcif_start()
71 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_vcif_stop()
165 dai->playback_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_vcif_dai_probe()
205 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].filter_data = in davinci_vcif_probe()
207 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr = in davinci_vcif_probe()
Domap-mcpdm.c185 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold); in omap_mcpdm_open_streams()
268 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcpdm_dai_shutdown()
269 int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE; in omap_mcpdm_dai_shutdown()
270 int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in omap_mcpdm_dai_shutdown()
337 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in omap_mcpdm_dai_hw_params()
380 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcpdm_prepare()
381 int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE; in omap_mcpdm_prepare()
382 int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in omap_mcpdm_prepare()
436 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold = 2; in omap_mcpdm_probe()
441 &mcpdm->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in omap_mcpdm_probe()
Ddavinci-i2s.c190 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_mcbsp_start()
514 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_i2s_hw_params()
529 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_prepare()
573 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_trigger()
596 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_shutdown()
618 dai->playback_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_dai_probe()
678 dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_probe()
683 dma = &dev->dma_request[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_probe()
Domap-mcbsp.c219 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in omap_mcbsp_dma_reg_params()
415 int tx = (stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_start()
474 int tx = (stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_stop()
681 SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_init()
754 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_set_threshold()
809 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_startup()
828 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_shutdown()
829 int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE; in omap_mcbsp_dai_shutdown()
830 int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in omap_mcbsp_dai_shutdown()
851 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_prepare()
[all …]
/Linux-v5.15/sound/soc/qcom/
Dsdm845.c75 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in sdm845_slim_snd_hw_params()
106 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in sdm845_tdm_snd_hw_params()
290 SNDRV_PCM_STREAM_PLAYBACK); in sdm845_dai_init()
328 DEFAULT_MCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
331 MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
350 MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
361 TDM_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
414 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
417 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
434 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
/Linux-v5.15/sound/soc/sh/
Ddma-sh7760.c123 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_open()
157 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_close()
179 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_hw_params()
201 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in camelot_prepare()
245 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_trigger()
273 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pos()
/Linux-v5.15/sound/soc/kirkwood/
Dkirkwood-dma.c143 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_dma_open()
164 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_close()
185 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_hw_params()
206 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_dma_prepare()
227 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_pointer()
/Linux-v5.15/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()
417 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in cygnus_pcm_period_elapsed()
610 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_open()
628 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_close()
665 is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 1 : 0; in cygnus_pcm_prepare()
687 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_pointer()
/Linux-v5.15/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-v5.15/sound/soc/fsl/
Dimx-pcm-fiq.c56 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hrtimer_callback()
96 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_imx_pcm_prepare()
118 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_imx_pcm_trigger()
130 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_imx_pcm_trigger()
243 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in snd_imx_pcm_new()
Dimx-pcm-rpmsg.c145 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_pcm_hw_params()
198 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in imx_rpmsg_pcm_pointer()
217 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_timer_callback()
236 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_pcm_open()
290 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_pcm_close()
352 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_prepare_and_submit()
381 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_async_issue_pending()
398 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_restart()
415 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_pause()
433 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_terminate_all()
[all …]
/Linux-v5.15/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,
340 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) { in sti_uniperiph_resume()
361 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) in sti_uniperiph_dai_probe()
438 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) { in sti_uniperiph_cpu_dai_of()
/Linux-v5.15/sound/soc/au1x/
Dpsc-ac97.c40 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TS : PSC_AC97PCR_RS)
42 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TP : PSC_AC97PCR_RP)
44 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TC : PSC_AC97PCR_RC)
47 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97STAT_TB : PSC_AC97STAT_RB)
233 if (stype == SNDRV_PCM_STREAM_PLAYBACK) { in au1xpsc_ac97_hw_params()
383 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_ac97_drvprobe()
Dpsc-i2s.c42 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SSTAT_TB : PSC_I2SSTAT_RB)
44 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TS : PSC_I2SPCR_RS)
46 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TP : PSC_I2SPCR_RP)
48 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TC : PSC_I2SPCR_RC)
310 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_i2s_drvprobe()
/Linux-v5.15/sound/usb/line6/
Dpcm.c140 return (direction == SNDRV_PCM_STREAM_PLAYBACK) ? in get_stream()
151 (direction == SNDRV_PCM_STREAM_PLAYBACK) ? in line6_buffer_acquire()
194 if (direction == SNDRV_PCM_STREAM_PLAYBACK) in line6_stream_start()
246 err = line6_stream_start(line6pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_line6_trigger()
262 line6_stream_stop(line6pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_line6_trigger()
270 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_line6_trigger()
276 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_line6_trigger()
492 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_line6_new_pcm()
/Linux-v5.15/sound/soc/spear/
Dspdif_out.c66 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in spdif_out_startup()
84 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in spdif_out_shutdown()
112 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in spdif_out_hw_params()
158 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in spdif_out_trigger()
233 SNDRV_PCM_STREAM_PLAYBACK); in spdif_mute_put()
/Linux-v5.15/sound/soc/pxa/
Dpxa2xx-i2s.c168 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_hw_params()
184 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_hw_params()
223 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_trigger()
245 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in pxa2xx_i2s_shutdown()
Dpxa2xx-ac97.c101 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_hifi_startup()
116 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_aux_startup()
129 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_mic_startup()
/Linux-v5.15/sound/pci/hda/
Dpatch_si3054.c145 val &= 0xff << (8 * (substream->stream != SNDRV_PCM_STREAM_PLAYBACK)); in si3054_pcm_prepare()
146 val |= ((stream_tag & 0xf) << 4) << (8 * (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)); in si3054_pcm_prepare()
192 info->stream[SNDRV_PCM_STREAM_PLAYBACK] = si3054_pcm; in si3054_build_pcms()
194 info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid = codec->core.mfg; in si3054_build_pcms()
/Linux-v5.15/sound/drivers/
Daloop.c61 #define CABLE_VALID_PLAYBACK BIT(SNDRV_PCM_STREAM_PLAYBACK)
191 if (dpcm->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_setup()
328 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_check_format()
332 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format()
347 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format()
349 setup = get_setup(cable->streams[SNDRV_PCM_STREAM_PLAYBACK]); in loopback_check_format()
350 card = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]->loopback->card; in loopback_check_format()
397 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger()
406 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger()
415 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger()
[all …]
/Linux-v5.15/sound/soc/codecs/
Dadau17x1.c212 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_put()
241 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_get()
275 SNDRV_PCM_STREAM_PLAYBACK, adau17x1_dac_mux_text);
714 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 0; in adau17x1_set_dai_tdm_slot()
718 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 1; in adau17x1_set_dai_tdm_slot()
722 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 2; in adau17x1_set_dai_tdm_slot()
726 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 3; in adau17x1_set_dai_tdm_slot()
744 if (adau->dsp_bypass[SNDRV_PCM_STREAM_PLAYBACK]) { in adau17x1_set_dai_tdm_slot()
746 (adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] * 2) + 1); in adau17x1_set_dai_tdm_slot()
/Linux-v5.15/sound/soc/amd/raven/
Dacp3x-i2s.c89 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp3x_i2s_hwparams()
113 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_i2s_hwparams()
166 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_i2s_trigger()
212 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_i2s_trigger()
/Linux-v5.15/sound/pci/nm256/
Dnm256.c335 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_nm256_load_one_coefficient()
375 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_nm256_load_coefficient()
431 case SNDRV_PCM_STREAM_PLAYBACK: in snd_nm256_set_format()
757 s = &chip->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_nm256_playback_update()
862 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK], in snd_nm256_playback_open()
950 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_nm256_playback_ops); in snd_nm256_pcm()
992 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_intr_check()
1443 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_free()
1468 chip->streams[SNDRV_PCM_STREAM_PLAYBACK].bufsize = playback_bufsize * 1024; in snd_nm256_create()
1526 chip->buffer_size = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].bufsize + in snd_nm256_create()
[all …]

12345678910>>...15