Home
last modified time | relevance | path

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

12345678910>>...16

/openbmc/linux/sound/soc/cirrus/
H A Dep93xx-i2s.c84 [SNDRV_PCM_STREAM_PLAYBACK] = {
124 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_enable()
132 stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_enable()
144 stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_disable()
148 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_disable()
202 &ep93xx_i2s_dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in ep93xx_i2s_dai_probe()
331 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_hw_params()
386 ep93xx_i2s_disable(info, SNDRV_PCM_STREAM_PLAYBACK); in ep93xx_i2s_suspend()
399 ep93xx_i2s_enable(info, SNDRV_PCM_STREAM_PLAYBACK); in ep93xx_i2s_resume()
/openbmc/linux/sound/soc/intel/keembay/
H A 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()
283 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_pcm_trigger()
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()
478 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_i2s_stop()
560 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in kmb_i2s_config()
[all …]
/openbmc/linux/sound/soc/amd/acp/
H A Dacp-i2s.c90 if (tx_mask && stream->dir == SNDRV_PCM_STREAM_PLAYBACK) in acp_i2s_set_tdm_slot()
134 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_hwparams()
182 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp_i2s_hwparams()
276 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_trigger()
337 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_trigger()
402 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_prepare()
422 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_prepare()
443 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_prepare()
496 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_startup()
507 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_startup()
[all …]
/openbmc/linux/sound/soc/qcom/
H A Dsdm845.c87 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in sdm845_slim_snd_hw_params()
118 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in sdm845_tdm_snd_hw_params()
309 SNDRV_PCM_STREAM_PLAYBACK); in sdm845_dai_init()
349 DEFAULT_MCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
352 MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
371 MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
382 TDM_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup()
435 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
438 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
455 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
/openbmc/linux/sound/soc/ti/
H A 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()
429 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold = 2; in omap_mcpdm_probe()
434 &mcpdm->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in omap_mcpdm_probe()
H A Domap-mcbsp.c221 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in omap_mcbsp_dma_reg_params()
417 int tx = (stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_start()
476 int tx = (stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_stop()
683 SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_init()
746 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_set_threshold()
801 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_startup()
820 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_shutdown()
843 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_prepare()
900 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_delay()
948 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_hw_params()
[all …]
H A 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()
680 dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_probe()
685 dma = &dev->dma_request[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_probe()
/openbmc/linux/sound/soc/sh/
H A 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()
/openbmc/linux/sound/soc/kirkwood/
H A 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()
188 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_hw_params()
209 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_dma_prepare()
230 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_pointer()
/openbmc/linux/sound/soc/bcm/
H A 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()
/openbmc/linux/sound/soc/fsl/
H A 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()
H A 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()
240 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_pcm_open()
294 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_pcm_close()
356 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_prepare_and_submit()
385 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_async_issue_pending()
402 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_restart()
419 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_pause()
437 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_terminate_all()
[all …]
/openbmc/linux/sound/soc/sti/
H A 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()
443 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) { in sti_uniperiph_cpu_dai_of()
/openbmc/linux/sound/soc/au1x/
H A 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()
H A 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()
/openbmc/linux/sound/usb/line6/
H A 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()
/openbmc/linux/sound/soc/spear/
H A 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()
/openbmc/linux/sound/pci/hda/
H A 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()
/openbmc/linux/sound/drivers/
H A Daloop.c328 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()
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()
425 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger()
491 substream->stream == SNDRV_PCM_STREAM_PLAYBACK)) in loopback_prepare()
605 cable->streams[SNDRV_PCM_STREAM_PLAYBACK]; in loopback_jiffies_timer_pos_update()
613 if (running & (1 << SNDRV_PCM_STREAM_PLAYBACK)) { in loopback_jiffies_timer_pos_update()
[all …]
/openbmc/linux/sound/soc/amd/vangogh/
H A 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()
433 config_acp5x_dma(rtd, SNDRV_PCM_STREAM_PLAYBACK); in acp5x_pcm_resume()
443 config_acp5x_dma(rtd, SNDRV_PCM_STREAM_PLAYBACK); in acp5x_pcm_resume()
/openbmc/linux/sound/soc/codecs/
H A Dadau17x1.c211 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_put()
240 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_get()
274 SNDRV_PCM_STREAM_PLAYBACK, adau17x1_dac_mux_text);
725 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 0; in adau17x1_set_dai_tdm_slot()
729 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 1; in adau17x1_set_dai_tdm_slot()
733 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 2; in adau17x1_set_dai_tdm_slot()
737 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 3; in adau17x1_set_dai_tdm_slot()
755 if (adau->dsp_bypass[SNDRV_PCM_STREAM_PLAYBACK]) { in adau17x1_set_dai_tdm_slot()
757 (adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] * 2) + 1); in adau17x1_set_dai_tdm_slot()
/openbmc/linux/sound/soc/amd/raven/
H A 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()
H A 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()
/openbmc/linux/sound/core/
H A Dpcm_local.h38 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_avail()
47 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_hw_avail()
/openbmc/linux/sound/pci/nm256/
H A 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()
729 s = &chip->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_nm256_playback_update()
834 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK], in snd_nm256_playback_open()
962 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_intr_check()
1413 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_free()
1496 chip->buffer_size = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].bufsize + in snd_nm256_create()
1528 chip->streams[SNDRV_PCM_STREAM_PLAYBACK].buf = addr; in snd_nm256_create()
1529 addr += chip->streams[SNDRV_PCM_STREAM_PLAYBACK].bufsize; in snd_nm256_create()
[all …]

12345678910>>...16