Home
last modified time | relevance | path

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

12345678910>>...16

/Linux-v6.1/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-v6.1/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()
423 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_i2s_enable_dma()
437 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in kmb_i2s_disable_dma()
455 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_i2s_start()
[all …]
/Linux-v6.1/sound/soc/amd/acp/
Dacp-i2s.c76 if (tx_mask && stream->dir == SNDRV_PCM_STREAM_PLAYBACK) in acp_i2s_set_tdm_slot()
120 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_hwparams()
166 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp_i2s_hwparams()
260 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_trigger()
321 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_trigger()
386 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_prepare()
406 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_prepare()
427 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_prepare()
480 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_startup()
491 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_startup()
[all …]
/Linux-v6.1/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()
206 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].filter_data = in davinci_vcif_probe()
208 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()
679 dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_probe()
684 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()
744 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_set_threshold()
799 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_startup()
818 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_shutdown()
819 int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE; in omap_mcbsp_dai_shutdown()
820 int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in omap_mcbsp_dai_shutdown()
841 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_prepare()
[all …]
/Linux-v6.1/sound/soc/qcom/
Dsdm845.c76 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in sdm845_slim_snd_hw_params()
107 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in sdm845_tdm_snd_hw_params()
296 SNDRV_PCM_STREAM_PLAYBACK); in sdm845_dai_init()
336 DEFAULT_MCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
339 MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
358 MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
369 TDM_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
422 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
425 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
442 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
/Linux-v6.1/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-v6.1/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-v6.1/sound/soc/bcm/
Dcygnus-pcm.c255 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in configure_ringbuf_regs()
302 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_ringbuf()
320 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in enable_intr()
357 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in disable_intr()
407 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in cygnus_pcm_period_elapsed()
600 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_open()
618 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_close()
655 is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 1 : 0; in cygnus_pcm_prepare()
677 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_pointer()
/Linux-v6.1/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-v6.1/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-v6.1/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()
439 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) { in sti_uniperiph_cpu_dai_of()
/Linux-v6.1/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()
384 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)
311 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_i2s_drvprobe()
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/sound/soc/amd/vangogh/
Dacp5x-pcm-dma.c111 if (direction == SNDRV_PCM_STREAM_PLAYBACK) { in config_acp5x_dma()
149 if (direction == SNDRV_PCM_STREAM_PLAYBACK) { in config_acp5x_dma()
220 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp5x_dma_open()
258 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp5x_dma_hw_params()
331 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp5x_dma_close()
434 config_acp5x_dma(rtd, SNDRV_PCM_STREAM_PLAYBACK); in acp5x_pcm_resume()
444 config_acp5x_dma(rtd, SNDRV_PCM_STREAM_PLAYBACK); in acp5x_pcm_resume()
/Linux-v6.1/sound/soc/amd/raven/
Dacp3x-pcm-dma.c116 if (direction == SNDRV_PCM_STREAM_PLAYBACK) { in config_acp3x_dma()
155 if (direction == SNDRV_PCM_STREAM_PLAYBACK) { in config_acp3x_dma()
225 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp3x_dma_open()
264 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_dma_hw_params()
337 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_dma_close()
442 config_acp3x_dma(rtd, SNDRV_PCM_STREAM_PLAYBACK); in acp3x_resume()
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-v6.1/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);
726 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 0; in adau17x1_set_dai_tdm_slot()
730 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 1; in adau17x1_set_dai_tdm_slot()
734 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 2; in adau17x1_set_dai_tdm_slot()
738 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 3; in adau17x1_set_dai_tdm_slot()
756 if (adau->dsp_bypass[SNDRV_PCM_STREAM_PLAYBACK]) { in adau17x1_set_dai_tdm_slot()
758 (adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] * 2) + 1); in adau17x1_set_dai_tdm_slot()

12345678910>>...16