Home
last modified time | relevance | path

Searched refs:SNDRV_PCM_STREAM_PLAYBACK (Results 1 – 200 of 245) sorted by relevance

12

/linux-4.4.14/sound/soc/blackfin/
Dbf5xx-ac97-pcm.c61 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_mmap_copy()
87 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_dma_irq()
135 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_hw_free()
158 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_prepare()
168 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_prepare()
190 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_trigger()
202 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_trigger()
227 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in bf5xx_pcm_pointer()
233 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in bf5xx_pcm_pointer()
291 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in bf5xx_pcm_copy()
[all …]
Dbf5xx-i2s-pcm.c99 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_prepare()
121 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in bf5xx_pcm_trigger()
129 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in bf5xx_pcm_trigger()
153 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_pointer()
200 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in bf5xx_pcm_open()
241 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_copy()
269 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bf5xx_pcm_copy()
Dbf6xx-i2s.c106 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bfin_i2s_hw_params()
/linux-4.4.14/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()
221 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].filter_data = in davinci_vcif_probe()
223 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr = in davinci_vcif_probe()
Ddavinci-i2s.c188 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_mcbsp_start()
557 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_i2s_hw_params()
572 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_prepare()
582 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_trigger()
605 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_shutdown()
625 dai->playback_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_dai_probe()
676 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr = in davinci_i2s_probe()
689 dma = &dev->dma_request[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_probe()
691 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].filter_data = dma; in davinci_i2s_probe()
Ddavinci-mcasp.c237 mcasp->irq_request[SNDRV_PCM_STREAM_PLAYBACK]); in mcasp_start_tx()
244 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_mcasp_start()
279 mcasp->irq_request[SNDRV_PCM_STREAM_PLAYBACK]); in mcasp_stop_tx()
302 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_mcasp_stop()
312 u32 irq_mask = mcasp->irq_request[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_tx_irq_handler()
321 substream = mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_tx_irq_handler()
383 if (mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]) in davinci_mcasp_common_irq_handler()
646 ret = davinci_mcasp_ch_constraint(mcasp, SNDRV_PCM_STREAM_PLAYBACK, in davinci_mcasp_set_ch_constraints()
684 mcasp->tdm_mask[SNDRV_PCM_STREAM_PLAYBACK] = tx_mask; in davinci_mcasp_set_tdm_slot()
764 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in mcasp_common_hw_param()
[all …]
/linux-4.4.14/sound/soc/cirrus/
Dep93xx-i2s.c72 [SNDRV_PCM_STREAM_PLAYBACK] = {
113 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_enable()
127 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_disable()
151 &ep93xx_i2s_dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in ep93xx_i2s_dai_probe()
270 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_hw_params()
324 ep93xx_i2s_disable(info, SNDRV_PCM_STREAM_PLAYBACK); in ep93xx_i2s_suspend()
337 ep93xx_i2s_enable(info, SNDRV_PCM_STREAM_PLAYBACK); in ep93xx_i2s_resume()
Dep93xx-ac97.c262 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in ep93xx_ac97_trigger()
286 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in ep93xx_ac97_trigger()
/linux-4.4.14/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()
269 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in imx_pcm_new()
271 SNDRV_PCM_STREAM_PLAYBACK); in imx_pcm_new()
298 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in imx_pcm_fiq_new()
Dfsl_dma.c172 if (dma_private->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_dma_update_pointers()
299 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in fsl_dma_new()
302 &pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in fsl_dma_new()
315 snd_dma_free_pages(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in fsl_dma_new()
413 channel = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0 : 1; in fsl_dma_open()
426 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in fsl_dma_open()
505 mr |= (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in fsl_dma_open()
665 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_dma_hw_params()
715 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_dma_pointer()
Dfsl_asrc_dma.c63 u8 dir = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? OUT : IN; in fsl_asrc_dma_prepare_and_submit()
137 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_asrc_dma_hw_params()
348 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_LAST; i++) { in fsl_asrc_dma_pcm_new()
375 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_LAST; i++) { in fsl_asrc_dma_pcm_free()
Dmpc5200_dma.c316 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in psc_dma_new()
318 size, &pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in psc_dma_new()
333 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in psc_dma_new()
334 snd_dma_free_pages(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in psc_dma_new()
Dfsl_sai.c382 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_hw_params()
433 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_hw_free()
449 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_trigger()
539 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_startup()
562 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_shutdown()
Dimx-ssi.c247 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in imx_ssi_hw_params()
285 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_ssi_trigger()
301 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in imx_ssi_trigger()
314 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in imx_ssi_trigger()
Dfsl_ssi.c725 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || synchronous) in fsl_ssi_set_bclk()
830 if ((substream->stream == SNDRV_PCM_STREAM_PLAYBACK) || in fsl_ssi_hw_params()
1095 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in fsl_ssi_trigger()
1104 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in fsl_ssi_trigger()
1115 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in fsl_ssi_trigger()
Dfsl_spdif.c487 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_spdif_startup()
531 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_spdif_shutdown()
566 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_spdif_hw_params()
590 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_spdif_trigger()
Dfsl_esai.c512 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_esai_hw_params()
574 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_esai_trigger()
Dfsl-asoc-card.c131 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_asoc_card_hw_params()
/linux-4.4.14/sound/soc/sh/
Ddma-sh7760.c124 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()
178 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_hw_params()
210 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in camelot_prepare()
253 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_trigger()
280 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pos()
Dsiu_pcm.c319 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_hw_free()
357 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) { in siu_pcm_open()
390 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_close()
412 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_prepare()
461 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_trigger()
472 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_trigger()
501 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_pointer_dma()
Dhac.c242 int d = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0 : 1; in hac_hw_params()
Dssi.c141 recv = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 0 : 1; in ssi_hw_params()
Dsiu_dai.c538 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_dai_shutdown()
567 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in siu_dai_prepare()
/linux-4.4.14/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()
Dkirkwood-i2s.c148 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_i2s_hw_params()
204 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_i2s_hw_params()
391 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_i2s_trigger()
/linux-4.4.14/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()
Di2sc.c258 ctx->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xi2s_drvprobe()
Dac97c.c258 ctx->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xac97c_drvprobe()
Ddma.c198 name = (s == SNDRV_PCM_STREAM_PLAYBACK) ? "audio-tx" : "audio-rx"; in alchemy_pcm_open()
/linux-4.4.14/sound/soc/codecs/
Dadau17x1.c180 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_put()
209 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_get()
243 SNDRV_PCM_STREAM_PLAYBACK, adau17x1_dac_mux_text);
630 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 0; in adau17x1_set_dai_tdm_slot()
634 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 1; in adau17x1_set_dai_tdm_slot()
638 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 2; in adau17x1_set_dai_tdm_slot()
642 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 3; in adau17x1_set_dai_tdm_slot()
660 if (adau->dsp_bypass[SNDRV_PCM_STREAM_PLAYBACK]) { in adau17x1_set_dai_tdm_slot()
662 (adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] * 2) + 1); in adau17x1_set_dai_tdm_slot()
Dac97.c42 int reg = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in ac97_prepare()
Dwl1273.c316 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in wl1273_startup()
373 substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in wl1273_hw_params()
Dtlv320aic23.c351 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in tlv320aic23_hw_params()
407 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tlv320aic23_shutdown()
Dak4642.c284 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in ak4642_dai_startup()
327 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in ak4642_dai_shutdown()
Dcs4271.c361 if ((substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in cs4271_hw_params()
418 if (stream != SNDRV_PCM_STREAM_PLAYBACK) in cs4271_mute_stream()
Des8328.c453 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in es8328_hw_params()
475 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in es8328_hw_params()
Dwm9712.c533 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ac97_prepare()
553 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in ac97_aux_prepare()
Dsta529.c235 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in sta529_hw_params()
Duda1380.c555 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in uda1380_pcm_hw_params()
576 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in uda1380_pcm_shutdown()
Dstac9766.c201 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ac97_analog_prepare()
Dwm9705.c251 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ac97_prepare()
Dak4613.c279 int is_play = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in ak4613_dai_hw_params()
Dml26124.c397 case SNDRV_PCM_STREAM_PLAYBACK: in ml26124_mute()
Dwm8960.c709 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in wm8960_hw_params()
767 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in wm8960_hw_free()
Dwm9713.c1019 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ac97_hifi_prepare()
1039 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in ac97_aux_prepare()
Dcs42xx8.c256 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in cs42xx8_hw_params()
Dsirf-audio-codec.c338 int playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in sirf_audio_codec_trigger()
Dak4641.c330 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in ak4641_i2s_hw_params()
Dwm8770.c440 case SNDRV_PCM_STREAM_PLAYBACK: in wm8770_hw_params()
Dmc13783.c154 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mc13783_pcm_hw_params_sync()
Dwm8580.c548 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in wm8580_paif_hw_params()
Dadav80x.c524 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in adav80x_hw_params()
Dadau1701.c472 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in adau1701_hw_params()
Dwm8995.c1568 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK /* || in wm8995_hw_params()
1580 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK /* || in wm8995_hw_params()
Dwm8961.c537 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && target < 64) { in wm8961_hw_params()
Dwm2200.c1760 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || in wm2200_hw_params()
1769 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in wm2200_hw_params()
Dtwl4030.c1637 if (direction == SNDRV_PCM_STREAM_PLAYBACK) in twl4030_tdm_enable()
1922 if (direction == SNDRV_PCM_STREAM_PLAYBACK) in twl4030_voice_enable()
/linux-4.4.14/sound/core/
Dpcm_trace.h39 __entry->stream == SNDRV_PCM_STREAM_PLAYBACK ? 'p' : 'c',
74 __entry->stream == SNDRV_PCM_STREAM_PLAYBACK ? 'p' : 'c',
101 __entry->stream == SNDRV_PCM_STREAM_PLAYBACK ? 'p' : 'c',
Dpcm_compat.c51 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_ioctl_rewind_compat()
68 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_ioctl_forward_compat()
390 if (dir == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_ioctl_xferi_compat()
448 if (dir == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_ioctl_xfern_compat()
695 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_ioctl_compat()
714 return snd_pcm_ioctl_xferi_compat(substream, SNDRV_PCM_STREAM_PLAYBACK, argp); in snd_pcm_ioctl_compat()
718 return snd_pcm_ioctl_xfern_compat(substream, SNDRV_PCM_STREAM_PLAYBACK, argp); in snd_pcm_ioctl_compat()
Dpcm.c521 pstr->stream == SNDRV_PCM_STREAM_PLAYBACK ? 'p' : 'c'); in snd_pcm_stream_proc_init()
705 stream == SNDRV_PCM_STREAM_PLAYBACK ? 'p' : 'c'); in snd_pcm_new_stream()
782 if ((err = snd_pcm_new_stream(pcm, SNDRV_PCM_STREAM_PLAYBACK, playback_count)) < 0) { in _snd_pcm_new()
891 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]); in snd_pcm_free()
916 if (snd_BUG_ON(stream != SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_attach_substream()
1081 case SNDRV_PCM_STREAM_PLAYBACK: in snd_pcm_dev_register()
1195 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in snd_pcm_proc_read()
1197 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count); in snd_pcm_proc_read()
Dpcm_dmaengine.c82 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hwparams_to_dma_slave_config()
117 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_dmaengine_pcm_set_config_from_dai_data()
Dpcm_native.c705 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_sw_params()
778 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_status()
1036 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_pre_start()
1065 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_post_start()
1370 substream->stream != SNDRV_PCM_STREAM_PLAYBACK)) in snd_pcm_do_resume()
1488 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_post_reset()
1590 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_do_drain_init()
1705 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_drain()
2332 err = snd_pcm_open(file, pcm, SNDRV_PCM_STREAM_PLAYBACK); in snd_pcm_playback_open()
2675 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_delay()
[all …]
Dpcm_lib.c210 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_update_state()
258 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in update_audio_tstamp()
461 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_update_hw_ptr0()
1905 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in wait_for_avail()
2605 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_add_chmap_ctls()
/linux-4.4.14/sound/drivers/
Daloop.c153 if (dpcm->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_setup()
194 #define CABLE_VALID_PLAYBACK (1 << SNDRV_PCM_STREAM_PLAYBACK)
206 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_check_format()
210 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format()
225 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format()
227 setup = get_setup(cable->streams[SNDRV_PCM_STREAM_PLAYBACK]); in loopback_check_format()
228 card = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]->loopback->card; in loopback_check_format()
275 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger()
284 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger()
332 params_change_substream(cable->streams[SNDRV_PCM_STREAM_PLAYBACK], in params_change()
[all …]
Ddummy.c591 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in dummy_pcm_open()
706 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, ops); in snd_card_dummy_pcm()
/linux-4.4.14/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()
Dpatch_via.c648 if (!info->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams || in vt1708_build_pcms()
651 info->stream[SNDRV_PCM_STREAM_PLAYBACK].formats = in vt1708_build_pcms()
Dpatch_hdmi.c2086 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in generic_hdmi_build_pcms()
2156 SNDRV_PCM_STREAM_PLAYBACK, in generic_hdmi_build_controls()
2446 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in simple_playback_build_pcms()
2913 SNDRV_PCM_STREAM_PLAYBACK, in nvhdmi_7x_8ch_build_controls()
3136 stream = &pcm->stream[SNDRV_PCM_STREAM_PLAYBACK]; in tegra_hdmi_build_pcms()
Dhda_controller.c543 cpcm->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams, in snd_hda_attach_pcm_stream()
1149 return SNDRV_PCM_STREAM_PLAYBACK; in stream_direction()
Dpatch_ca0132.c4069 info->stream[SNDRV_PCM_STREAM_PLAYBACK] = ca0132_pcm_analog_playback; in ca0132_build_pcms()
4070 info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid = spec->dacs[0]; in ca0132_build_pcms()
4071 info->stream[SNDRV_PCM_STREAM_PLAYBACK].channels_max = in ca0132_build_pcms()
4099 info->stream[SNDRV_PCM_STREAM_PLAYBACK] = in ca0132_build_pcms()
4101 info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid = spec->dig_out; in ca0132_build_pcms()
/linux-4.4.14/sound/soc/pxa/
Dpxa2xx-i2s.c174 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_hw_params()
190 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_hw_params()
229 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_i2s_trigger()
251 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in pxa2xx_i2s_shutdown()
Dpxa2xx-pcm.c70 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in pxa2xx_soc_pcm_new()
72 SNDRV_PCM_STREAM_PLAYBACK); in pxa2xx_soc_pcm_new()
Dpxa2xx-ac97.c115 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_hifi_startup()
130 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_aux_startup()
143 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_mic_startup()
Dmmp-sspa.c275 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mmp_sspa_hw_params()
306 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in mmp_sspa_hw_params()
315 dma_params->addr = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in mmp_sspa_hw_params()
342 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mmp_sspa_trigger()
353 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mmp_sspa_trigger()
Dmmp-pcm.c226 mmp_pcm_hardware[SNDRV_PCM_STREAM_PLAYBACK].buffer_bytes_max = in mmp_pcm_probe()
228 mmp_pcm_hardware[SNDRV_PCM_STREAM_PLAYBACK].period_bytes_max = in mmp_pcm_probe()
Dpxa-ssp.c108 dma->filter_data = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in pxa_ssp_startup()
562 substream->stream == SNDRV_PCM_STREAM_PLAYBACK, dma_data); in pxa_ssp_hw_params()
650 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in pxa_ssp_set_running_bit()
/linux-4.4.14/sound/soc/txx9/
Dtxx9aclc.c132 dmadata->substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in txx9aclc_dma_submit()
153 u32 ctlbit = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in txx9aclc_dma_tasklet()
213 u32 ctlbit = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in txx9aclc_pcm_trigger()
299 dev->dmadata[0].stream = SNDRV_PCM_STREAM_PLAYBACK; in txx9aclc_pcm_new()
350 if (dmadata->stream == SNDRV_PCM_STREAM_PLAYBACK) { in txx9aclc_dma_init()
365 dmadata->stream == SNDRV_PCM_STREAM_PLAYBACK ? in txx9aclc_dma_init()
/linux-4.4.14/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()
Dstream.c365 stream == SNDRV_PCM_STREAM_PLAYBACK ? 1 : 0, in snd_usb_add_audio_stream()
366 stream == SNDRV_PCM_STREAM_PLAYBACK ? 0 : 1, in snd_usb_add_audio_stream()
527 SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in snd_usb_parse_audio_interface()
708 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_usb_parse_audio_interface()
Dpcm.c64 if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) in snd_usb_pcm_delay()
131 subs->direction == SNDRV_PCM_STREAM_PLAYBACK) || in find_format()
136 subs->direction == SNDRV_PCM_STREAM_PLAYBACK) || in find_format()
326 if (subs->direction != SNDRV_PCM_STREAM_PLAYBACK) in set_sync_ep_implicit_fb_quirk()
384 int is_playback = subs->direction == SNDRV_PCM_STREAM_PLAYBACK; in set_sync_endpoint()
841 if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) in snd_usb_pcm_prepare()
1604 return snd_usb_pcm_open(substream, SNDRV_PCM_STREAM_PLAYBACK); in snd_usb_playback_open()
1609 return snd_usb_pcm_close(substream, SNDRV_PCM_STREAM_PLAYBACK); in snd_usb_playback_close()
1711 stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_usb_set_pcm_ops()
Dquirks.c169 ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in create_fixed_stream_quirk()
494 ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in create_uaxx_quirk()
1086 if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) { in set_format_emu_quirk()
/linux-4.4.14/sound/soc/
Dsoc-compress.c79 stream = SNDRV_PCM_STREAM_PLAYBACK; in soc_compr_open_fe()
172 snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_PLAYBACK, in close_delayed_work()
190 stream = SNDRV_PCM_STREAM_PLAYBACK; in soc_compr_free()
214 SNDRV_PCM_STREAM_PLAYBACK, in soc_compr_free()
243 stream = SNDRV_PCM_STREAM_PLAYBACK; in soc_compr_free_fe()
326 stream = SNDRV_PCM_STREAM_PLAYBACK; in soc_compr_trigger_fe()
392 snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_PLAYBACK, in soc_compr_set_params()
420 stream = SNDRV_PCM_STREAM_PLAYBACK; in soc_compr_set_params_fe()
697 be_pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->private_data = rtd; in snd_soc_new_compress()
Dsoc-generic-dmaengine-pcm.c159 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in dmaengine_pcm_set_runtime_hwparams()
271 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_CAPTURE; i++) { in dmaengine_pcm_new()
340 [SNDRV_PCM_STREAM_PLAYBACK] = "tx",
368 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_CAPTURE; in dmaengine_pcm_request_chan_of()
398 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_CAPTURE; in dmaengine_pcm_release_chan()
Dsoc-pcm.c46 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_soc_dai_stream_valid()
72 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_soc_runtime_activate()
107 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_soc_runtime_deactivate()
342 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in soc_pcm_apply_msb()
383 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in soc_pcm_init_runtime_hw()
405 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in soc_pcm_init_runtime_hw()
500 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in soc_pcm_open()
637 snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_PLAYBACK, in close_delayed_work()
688 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in soc_pcm_close()
692 SNDRV_PCM_STREAM_PLAYBACK, in soc_pcm_close()
[all …]
Dsoc-dapm.c1173 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_soc_dapm_dai_get_connected_widgets()
3520 substream.stream = SNDRV_PCM_STREAM_PLAYBACK; in snd_soc_dai_link_event()
3537 SNDRV_PCM_STREAM_PLAYBACK); in snd_soc_dai_link_event()
3545 SNDRV_PCM_STREAM_PLAYBACK); in snd_soc_dai_link_event()
3558 substream.stream = SNDRV_PCM_STREAM_PLAYBACK; in snd_soc_dai_link_event()
3874 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in soc_dapm_dai_stream_event()
Dsoc-core.c643 SNDRV_PCM_STREAM_PLAYBACK, in snd_soc_suspend()
760 SNDRV_PCM_STREAM_PLAYBACK, in soc_resume_deferred()
1207 INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_PLAYBACK].be_clients); in soc_post_component_init()
1209 INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_PLAYBACK].fe_clients); in soc_post_component_init()
2296 else if (direction == SNDRV_PCM_STREAM_PLAYBACK && in snd_soc_dai_digital_mute()
/linux-4.4.14/sound/usb/usx2y/
Dusbusx2yaudio.c318 *playbacksubs = usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in i_usX2Y_urb_complete()
399 subs != subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]); in usX2Y_urbs_release()
411 int is_playback = subs == subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in usX2Y_urbs_allocate()
800 if (SNDRV_PCM_STREAM_PLAYBACK == substream->stream) { in snd_usX2Y_pcm_hw_free()
812 struct snd_usX2Y_substream *playback_subs = subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in snd_usX2Y_pcm_hw_free()
928 kfree(usX2Y_substream[SNDRV_PCM_STREAM_PLAYBACK]); in usX2Y_audio_stream_free()
929 usX2Y_substream[SNDRV_PCM_STREAM_PLAYBACK] = NULL; in usX2Y_audio_stream_free()
949 for (i = playback_endpoint ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE; in usX2Y_audio_stream_new()
960 usX2Y_substream[SNDRV_PCM_STREAM_PLAYBACK]->endpoint = playback_endpoint; in usX2Y_audio_stream_new()
972 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_usX2Y_pcm_ops); in usX2Y_audio_stream_new()
[all …]
Dusx2yhwdeppcm.c251 playbacksubs = usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in i_usX2Y_usbpcm_urb_complete()
316 int is_playback = subs == subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in usX2Y_usbpcm_urbs_allocate()
364 if (SNDRV_PCM_STREAM_PLAYBACK == substream->stream) { in snd_usX2Y_usbpcm_hw_free()
380 struct snd_usX2Y_substream *playback_subs = subs->usX2Y->subs[SNDRV_PCM_STREAM_PLAYBACK]; in snd_usX2Y_usbpcm_hw_free()
571 runtime->hw = SNDRV_PCM_STREAM_PLAYBACK == substream->stream ? snd_usX2Y_2c : in snd_usX2Y_usbpcm_open()
733 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_usX2Y_usbpcm_ops); in usX2Y_hwdep_pcm_new()
740 if (0 > (err = snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream, in usX2Y_hwdep_pcm_new()
/linux-4.4.14/sound/soc/dwc/
Ddesignware_i2s.c119 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in i2s_disable_channels()
132 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in i2s_clear_irqs()
147 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in i2s_start()
170 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in i2s_stop()
203 (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)) in dw_i2s_startup()
206 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in dw_i2s_startup()
264 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in dw_i2s_hw_params()
318 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in dw_i2s_prepare()
/linux-4.4.14/sound/arm/
Dpxa2xx-pcm.c47 rtd->params = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in pxa2xx_pcm_open()
103 int stream = SNDRV_PCM_STREAM_PLAYBACK; in pxa2xx_pcm_new()
Dpxa2xx-ac97.c83 r = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in pxa2xx_ac97_pcm_startup()
107 int reg = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in pxa2xx_ac97_pcm_prepare()
Daaci.c409 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in aaci_pcm_open()
421 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in aaci_pcm_open()
942 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &aaci_playback_ops); in aaci_init_pcm()
/linux-4.4.14/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()
/linux-4.4.14/sound/pci/nm256/
Dnm256.c353 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_nm256_load_one_coefficient()
393 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_nm256_load_coefficient()
449 case SNDRV_PCM_STREAM_PLAYBACK: in snd_nm256_set_format()
758 s = &chip->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_nm256_playback_update()
863 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK], in snd_nm256_playback_open()
951 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_nm256_playback_ops); in snd_nm256_pcm()
993 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_intr_check()
1441 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_free()
1496 chip->streams[SNDRV_PCM_STREAM_PLAYBACK].bufsize = playback_bufsize * 1024; in snd_nm256_create()
1560 chip->buffer_size = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].bufsize + in snd_nm256_create()
[all …]
/linux-4.4.14/sound/soc/ux500/
Dux500_pcm.c76 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in ux500_pcm_request_chan()
118 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ux500_pcm_prepare_slave_config()
Dmop500_ab8500.c211 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mop500_ab8500_shutdown()
299 is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in mop500_ab8500_hw_params()
Dux500_msp_dai.c320 msp_config->direction = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in setup_msp_config()
431 bool is_playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in ux500_msp_dai_shutdown()
518 mask = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in ux500_msp_dai_hw_params()
Dux500_msp_i2s.c589 if (direction == SNDRV_PCM_STREAM_PLAYBACK) in ux500_msp_i2s_trigger()
600 if (direction == SNDRV_PCM_STREAM_PLAYBACK) in ux500_msp_i2s_trigger()
/linux-4.4.14/sound/isa/
Dcmi8330.c415 #define CMI_SB_STREAM SNDRV_PCM_STREAM_PLAYBACK
419 #define CMI_AD_STREAM SNDRV_PCM_STREAM_PLAYBACK
427 substream->private_data = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].private_data; in snd_cmi8330_playback_open()
428 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream); in snd_cmi8330_playback_open()
469 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK].ops); in snd_cmi8330_pcm()
/linux-4.4.14/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()
171 int err = 0, play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_trigger()
204 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_delay()
249 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_hw_params()
572 &mcbsp->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in omap_mcbsp_probe()
Domap-mcpdm.c190 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold); in omap_mcpdm_open_streams()
330 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in omap_mcpdm_dai_hw_params()
404 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold = 2; in omap_mcpdm_probe()
409 &mcpdm->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in omap_mcpdm_probe()
Domap-pcm.c226 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in omap_pcm_new()
228 SNDRV_PCM_STREAM_PLAYBACK); in omap_pcm_new()
/linux-4.4.14/sound/usb/line6/
Dpcm.c145 return (direction == SNDRV_PCM_STREAM_PLAYBACK) ? in get_stream()
193 if (direction == SNDRV_PCM_STREAM_PLAYBACK) in line6_stream_start()
252 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_line6_trigger()
258 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_line6_trigger()
471 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_line6_new_pcm()
Dplayback.c205 get_substream(line6pcm, SNDRV_PCM_STREAM_PLAYBACK)->runtime; in submit_audio_out_urb()
307 get_substream(line6pcm, SNDRV_PCM_STREAM_PLAYBACK); in audio_out_callback()
/linux-4.4.14/sound/core/oss/
Dpcm_plugin.c57 if (plugin->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plugin_alloc()
109 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_alloc()
173 if (plugin->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_plugin_build()
209 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_client_size()
242 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_slave_size()
376 case SNDRV_PCM_STREAM_PLAYBACK: in snd_pcm_plug_format_plugins()
560 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_client_channels_buf()
Dpcm_oss.c961 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_oss_change_params()
1008 sw_params->avail_min = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pcm_oss_change_params()
1539 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_post()
1608 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_sync()
1939 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_oss_get_caps1()
1988 psubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_set_trigger()
2052 psubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_get_trigger()
2068 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_get_odelay()
2107 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_oss_get_ptr()
2131 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_oss_get_ptr()
[all …]
Dio.c131 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plugin_build_io()
/linux-4.4.14/sound/usb/caiaq/
Daudio.c69 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in activate_substream()
84 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in deactivate_substream()
215 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_usb_caiaq_pcm_prepare()
328 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_usb_caiaq_pcm_pointer()
366 cnt = (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in check_for_elapsed_periods()
728 pipe = (dir == SNDRV_PCM_STREAM_PLAYBACK) ? in alloc_urbs()
858 snd_pcm_set_ops(cdev->pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_usb_caiaq_audio_init()
885 cdev->data_urbs_out = alloc_urbs(cdev, SNDRV_PCM_STREAM_PLAYBACK, &ret); in snd_usb_caiaq_audio_init()
/linux-4.4.14/sound/soc/nuc900/
Dnuc900-pcm.c54 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in nuc900_update_dma_register()
160 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in nuc900_dma_prepare()
170 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in nuc900_dma_prepare()
Dnuc900-ac97.c221 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in nuc900_ac97_trigger()
244 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in nuc900_ac97_trigger()
/linux-4.4.14/sound/soc/bcm/
Dbcm2835-i2s.c579 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK in bcm2835_i2s_prepare()
703 &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in bcm2835_i2s_dai_probe()
819 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr = in bcm2835_i2s_probe()
828 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr_width = in bcm2835_i2s_probe()
834 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].maxburst = 2; in bcm2835_i2s_probe()
/linux-4.4.14/include/sound/
Dsoc-dai.h299 return (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in snd_soc_dai_get_dma_data()
307 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_soc_dai_set_dma_data()
Ddmaengine_pcm.h30 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_substream_to_dma_direction()
Dpcm.h656 substream->stream == SNDRV_PCM_STREAM_PLAYBACK)); in snd_pcm_running()
1336 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_stream_str()
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_pcm.c182 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_vortex_pcm_open()
331 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_vortex_pcm_prepare()
641 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_vortex_new_pcm()
655 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_vortex_new_pcm()
668 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_vortex_new_pcm()
/linux-4.4.14/sound/soc/sirf/
Dsirf-usp.c218 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in sirf_usp_pcm_hw_params()
247 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in sirf_usp_pcm_trigger()
255 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in sirf_usp_pcm_trigger()
/linux-4.4.14/sound/soc/samsung/
Didma.c346 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in idma_free()
387 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in idma_new()
389 SNDRV_PCM_STREAM_PLAYBACK); in idma_new()
Ds3c-i2s-v2.c310 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in s3c_i2sv2_hw_params()
539 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in s3c2412_i2s_delay()
Dspdif.c189 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in spdif_hw_params()
Di2s.c692 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in i2s_hw_params()
698 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in i2s_hw_params()
/linux-4.4.14/sound/soc/atmel/
Datmel-pcm-pdc.c90 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in atmel_pcm_new()
93 SNDRV_PCM_STREAM_PLAYBACK); in atmel_pcm_new()
174 substream->stream == SNDRV_PCM_STREAM_PLAYBACK in atmel_pcm_dma_irq()
Datmel_ssc_dai.c304 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in atmel_ssc_startup()
353 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in atmel_ssc_shutdown()
462 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in atmel_ssc_hw_params()
779 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in atmel_ssc_prepare()
802 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in atmel_ssc_trigger()
Datmel-pcm-dma.c77 substream->stream == SNDRV_PCM_STREAM_PLAYBACK in atmel_pcm_dma_irq()
/linux-4.4.14/sound/isa/sb/
Dsb8_main.c505 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_sb8_open()
533 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_sb8_open()
563 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_sb8_close()
610 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_sb8_playback_ops); in snd_sb8dsp_pcm()
Dsb16_main.c231 if (chip->mode & (channel == SNDRV_PCM_STREAM_PLAYBACK ? SB_MODE_PLAYBACK_16 : SB_MODE_CAPTURE_16)) in snd_sb16_setup_rate()
274 snd_sb16_setup_rate(chip, runtime->rate, SNDRV_PCM_STREAM_PLAYBACK); in snd_sb16_playback_prepare()
876 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_sb16_playback_ops); in snd_sb16dsp_pcm()
892 return direction == SNDRV_PCM_STREAM_PLAYBACK ? in snd_sb16dsp_get_pcm_ops()
Demu8000_pcm.c695 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &emu8k_pcm_ops); in snd_emu8000_pcm_new()
/linux-4.4.14/sound/soc/sunxi/
Dsun4i-codec.c146 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in sun4i_codec_trigger()
176 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in sun4i_codec_prepare()
290 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in sun4i_codec_hw_params()
/linux-4.4.14/drivers/usb/gadget/function/
Df_uac2.c203 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in agdev_iso_complete()
240 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in agdev_iso_complete()
276 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in uac2_pcm_trigger()
302 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && !prm->ss) in uac2_pcm_trigger()
313 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in uac2_pcm_pointer()
328 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in uac2_pcm_hw_params()
349 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in uac2_pcm_hw_free()
383 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in uac2_pcm_open()
480 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &uac2_pcm_ops); in snd_uac2_probe()
/linux-4.4.14/sound/soc/tegra/
Dtegra30_i2s.c192 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in tegra30_i2s_hw_params()
248 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tegra30_i2s_trigger()
256 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tegra30_i2s_trigger()
Dtegra20_i2s.c224 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tegra20_i2s_trigger()
232 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tegra20_i2s_trigger()
Dtegra20_ac97.c195 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tegra20_ac97_trigger()
203 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tegra20_ac97_trigger()
/linux-4.4.14/sound/usb/hiface/
Dpcm.c181 if (alsa_sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in hiface_pcm_get_substream()
368 if (alsa_sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in hiface_pcm_open()
615 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcm_ops); in hiface_pcm_init()
/linux-4.4.14/sound/pci/oxygen/
Doxygen_pcm.c715 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in oxygen_pcm_init()
726 snd_pcm_lib_preallocate_pages(pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream, in oxygen_pcm_init()
746 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in oxygen_pcm_init()
772 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in oxygen_pcm_init()
/linux-4.4.14/sound/soc/intel/skylake/
Dskl-topology.c177 if (params->stream == SNDRV_PCM_STREAM_PLAYBACK) { in skl_tplg_update_params_fixup()
792 if (params->stream == SNDRV_PCM_STREAM_PLAYBACK) in skl_tplg_update_pipe_params()
821 if (params->stream == SNDRV_PCM_STREAM_PLAYBACK) { in skl_tplg_update_pipe_params()
845 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in skl_tplg_fe_get_cpr_module()
1013 if (params->stream == SNDRV_PCM_STREAM_PLAYBACK) { in skl_tplg_be_update_params()
Dskl.c425 (ebus, start_idx, pb_streams, SNDRV_PCM_STREAM_PLAYBACK); in skl_first_init()
/linux-4.4.14/sound/ppc/
Dpmac.c120 return (stream == SNDRV_PCM_STREAM_PLAYBACK) ? in another_stream()
121 SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in another_stream()
148 case SNDRV_PCM_STREAM_PLAYBACK: in snd_pmac_get_stream()
286 command = (subs->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pmac_pcm_trigger()
719 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_pmac_playback_ops); in snd_pmac_pcm_new()
1198 chip->playback.stream = SNDRV_PCM_STREAM_PLAYBACK; in snd_pmac_new()
Dsnd_ps3.c1019 snd_pcm_set_ops(the_card.pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_ps3_driver_probe()
/linux-4.4.14/sound/pci/ca0106/
Dca0106_main.c986 s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_ca0106_pcm_trigger_playback()
1380 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ca0106_playback_front_ops); in snd_ca0106_pcm()
1385 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ca0106_playback_rear_ops); in snd_ca0106_pcm()
1390 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ca0106_playback_center_lfe_ops); in snd_ca0106_pcm()
1395 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ca0106_playback_unknown_ops); in snd_ca0106_pcm()
1404 for(substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in snd_ca0106_pcm()
1424 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, 2, in snd_ca0106_pcm()
/linux-4.4.14/sound/mips/
Dsgio2audio.c465 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_sgio2audio_dma_start()
628 case SNDRV_PCM_STREAM_PLAYBACK: in snd_sgio2audio_pcm_prepare()
736 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_sgio2audio_new_pcm()
750 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_sgio2audio_new_pcm()
Dau1x00.c457 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_au1000_pcm_new()
/linux-4.4.14/sound/soc/intel/haswell/
Dsst-haswell-pcm.c515 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in hsw_pcm_hw_params()
523 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in hsw_pcm_hw_params()
952 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream || in hsw_pcm_new()
965 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in hsw_pcm_new()
966 priv_data->pcm[rtd->cpu_dai->id][SNDRV_PCM_STREAM_PLAYBACK].hsw_pcm = pcm; in hsw_pcm_new()
1079 mutex_init(&priv_data->pcm[i][SNDRV_PCM_STREAM_PLAYBACK].mutex); in hsw_pcm_probe()
/linux-4.4.14/sound/pci/ctxfi/
Dctpcm.c450 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &ct_pcm_playback_ops); in ct_alsa_pcm_create()
478 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, chs, in ct_alsa_pcm_create()
/linux-4.4.14/sound/pci/
Dvia82xx.c1462 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_via8233_playback_ops); in snd_via8233_pcm_new()
1477 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_via8233_pcm_new()
1487 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_via8233_multi_ops); in snd_via8233_pcm_new()
1501 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_via8233_pcm_new()
1506 chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_via8233_pcm_new()
1530 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_via8233_multi_ops); in snd_via8233a_pcm_new()
1544 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_via8233a_pcm_new()
1549 chip->ac97->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_via8233a_pcm_new()
1559 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_via8233_playback_ops); in snd_via8233a_pcm_new()
1588 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_via686_playback_ops); in snd_via686_pcm_new()
Dens1370.c1281 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ensoniq_playback2_ops); in snd_ensoniq_pcm()
1283 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ensoniq_playback1_ops); in snd_ensoniq_pcm()
1296 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_ensoniq_pcm()
1299 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_ensoniq_pcm()
1315 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ensoniq_playback1_ops); in snd_ensoniq_pcm2()
1317 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ensoniq_playback2_ops); in snd_ensoniq_pcm2()
1328 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_ensoniq_pcm2()
1331 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_ensoniq_pcm2()
Datiixp.c1287 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_atiixp_playback_ops); in snd_atiixp_pcm_new()
1297 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_atiixp_pcm_new()
1303 chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_atiixp_pcm_new()
1318 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_atiixp_spdif_ops); in snd_atiixp_pcm_new()
Dmaestro3.c1068 case SNDRV_PCM_STREAM_PLAYBACK: in snd_m3_pcm_start()
1097 case SNDRV_PCM_STREAM_PLAYBACK: in snd_m3_pcm_stop()
1155 if (subs->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_m3_pcm_setup1()
1445 if (subs->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_m3_pcm_prepare()
1753 if (subs->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_m3_substream_open()
1870 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_m3_playback_ops); in snd_m3_pcm()
Drme32.c1375 snd_pcm_set_ops(rme32->spdif_pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_rme32_create()
1384 snd_pcm_set_ops(rme32->spdif_pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_rme32_create()
1407 snd_pcm_set_ops(rme32->adat_pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_rme32_create()
1416 snd_pcm_set_ops(rme32->adat_pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_rme32_create()
Dfm801.c709 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_fm801_playback_ops); in snd_fm801_pcm()
721 return snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_fm801_pcm()
Dintel8x0.c902 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_intel8x0_ali_trigger()
1535 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, rec->playback_ops); in snd_intel8x0_pcm1()
1561 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_intel8x0_pcm1()
1567 chip->ac97[0]->chmaps[SNDRV_PCM_STREAM_PLAYBACK] = chmap; in snd_intel8x0_pcm1()
Dals300.c601 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_als300_new_pcm()
Dcmipci.c1909 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_cmipci_playback_ops); in snd_cmipci_pcm_new()
1932 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_cmipci_playback2_ops); in snd_cmipci_pcm2_new()
1954 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_cmipci_playback_spdif_ops); in snd_cmipci_pcm_spdif_new()
1965 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_cmipci_pcm_spdif_new()
Dals4000.c707 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_als4000_playback_ops); in snd_als4000_pcm()
/linux-4.4.14/sound/soc/jz4740/
Djz4740-i2s.c177 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in jz4740_i2s_trigger()
279 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in jz4740_i2s_hw_params()
/linux-4.4.14/arch/arm/mach-pxa/
Dmainstone.c157 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mst_audio_startup()
164 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mst_audio_shutdown()
/linux-4.4.14/sound/soc/intel/baytrail/
Dsst-baytrail-pcm.c78 int ret, playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in sst_byt_pcm_hw_params()
331 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream || in sst_byt_pcm_new()
/linux-4.4.14/sound/pci/emu10k1/
Dp16v.c489 s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_p16v_pcm_trigger_playback()
656 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_p16v_playback_front_ops); in snd_p16v_pcm()
664 for(substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in snd_p16v_pcm()
Demupcm.c1414 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_emu10k1_playback_ops); in snd_emu10k1_pcm()
1422 …for (substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; substream; substream = substre… in snd_emu10k1_pcm()
1443 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_emu10k1_efx_playback_ops); in snd_emu10k1_pcm_multi()
1450 …for (substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; substream; substream = substre… in snd_emu10k1_pcm_multi()
1817 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_emu10k1_fx8010_playback_ops); in snd_emu10k1_pcm_efx()
Demu10k1x.c867 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_emu10k1x_playback_ops); in snd_emu10k1x_pcm()
872 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_emu10k1x_playback_ops); in snd_emu10k1x_pcm()
897 return snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, 2, in snd_emu10k1x_pcm()
/linux-4.4.14/sound/usb/6fire/
Dpcm.c126 if (alsa_sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in usb6fire_pcm_get_substream()
402 if (alsa_sub->stream == SNDRV_PCM_STREAM_PLAYBACK) { in usb6fire_pcm_open()
663 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcm_ops); in usb6fire_pcm_init()
/linux-4.4.14/sound/pci/rme9652/
Drme9652.c1852 snd_pcm_period_elapsed(rme9652->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream); in snd_rme9652_interrupt()
1944 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_rme9652_reset()
1975 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_rme9652_hw_params()
2094 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_rme9652_trigger()
2112 if (!(running & (1 << SNDRV_PCM_STREAM_PLAYBACK)) && in snd_rme9652_trigger()
2117 substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_rme9652_trigger()
2410 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_rme9652_playback_ops); in snd_rme9652_create_pcm()
Dhdspm.c5486 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hdspm_reset()
5520 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdspm_hw_params()
5591 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdspm_hw_params()
5669 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdspm_hw_free()
5696 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdspm_channel_info()
5777 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hdspm_trigger()
5795 if (!(running & (1 << SNDRV_PCM_STREAM_PLAYBACK)) in snd_hdspm_trigger()
5801 substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hdspm_trigger()
6058 bool playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in snd_hdspm_open()
6133 bool playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in snd_hdspm_release()
[all …]
Dhdsp.c3861 snd_pcm_period_elapsed(hdsp->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream); in snd_hdsp_interrupt()
3968 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hdsp_reset()
4005 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdsp_hw_params()
4123 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hdsp_trigger()
4141 if (!(running & (1 << SNDRV_PCM_STREAM_PLAYBACK)) && in snd_hdsp_trigger()
4146 substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hdsp_trigger()
4917 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_hdsp_playback_ops); in snd_hdsp_create_pcm()
/linux-4.4.14/sound/soc/qcom/
Dlpass-platform.c479 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in lpass_platform_pcm_new()
527 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in lpass_platform_pcm_free()
/linux-4.4.14/sound/pci/mixart/
Dmixart.c407 if (stream->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mixart_set_stream_state()
624 if( subs->stream == SNDRV_PCM_STREAM_PLAYBACK ) in snd_mixart_hw_params()
985 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_mixart_playback_ops); in snd_mixart_pcm_analog()
1018 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_mixart_playback_ops); in snd_mixart_pcm_digital()
/linux-4.4.14/sound/pci/ac97/
Dac97_pcm.c168 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_slot_reg()
530 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_ac97_pcm_assign()
/linux-4.4.14/sound/soc/mxs/
Dmxs-saif.c467 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in mxs_saif_hw_params()
538 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in mxs_saif_trigger()
/linux-4.4.14/sound/pci/aw2/
Daw2-alsa.c615 snd_pcm_set_ops(pcm_playback_ana, SNDRV_PCM_STREAM_PLAYBACK, in snd_aw2_new_pcm()
652 snd_pcm_set_ops(pcm_playback_num, SNDRV_PCM_STREAM_PLAYBACK, in snd_aw2_new_pcm()
/linux-4.4.14/sound/aoa/soundbus/i2sbus/
Dpcm.c985 err = snd_pcm_new_stream(dev->pcm, SNDRV_PCM_STREAM_PLAYBACK, 1); in i2sbus_attach_codec()
988 snd_pcm_set_ops(dev->pcm, SNDRV_PCM_STREAM_PLAYBACK, in i2sbus_attach_codec()
990 dev->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].dev.parent = in i2sbus_attach_codec()
/linux-4.4.14/sound/firewire/tascam/
Dtascam-pcm.c308 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcm_playback_ops); in snd_tscm_create_pcm_devices()
/linux-4.4.14/sound/drivers/pcsp/
Dpcsp_lib.c345 snd_pcm_set_ops(chip->pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_pcsp_new_pcm()
/linux-4.4.14/sound/sh/
Dsh_dac_audio.c276 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_sh_dac_pcm_ops); in snd_sh_dac_pcm()
Daica.c467 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_aicapcmchip()
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-pcm.c369 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcm_playback_ops); in snd_dg00x_create_pcm_devices()
/linux-4.4.14/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c98 {MERR_DPCM_AUDIO, 0, SNDRV_PCM_STREAM_PLAYBACK, PIPE_MEDIA1_IN, SST_TASK_ID_MEDIA, 0},
99 {MERR_DPCM_COMPR, 0, SNDRV_PCM_STREAM_PLAYBACK, PIPE_MEDIA0_IN, SST_TASK_ID_MEDIA, 0},
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_pcm.c410 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcm_playback_ops); in snd_efw_create_pcm_devices()
/linux-4.4.14/sound/firewire/bebob/
Dbebob_pcm.c386 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcm_playback_ops); in snd_bebob_create_pcm_devices()
/linux-4.4.14/sound/pci/lola/
Dlola.h314 #define PLAY SNDRV_PCM_STREAM_PLAYBACK
Dlola_pcm.c615 chip->pcm[SNDRV_PCM_STREAM_PLAYBACK].num_streams, in lola_create_pcm()
/linux-4.4.14/sound/pci/ymfpci/
Dymfpci_main.c1157 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ymfpci_playback_ops); in snd_ymfpci_pcm()
1168 return snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_ymfpci_pcm()
1226 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ymfpci_playback_spdif_ops); in snd_ymfpci_pcm_spdif()
1267 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ymfpci_playback_4ch_ops); in snd_ymfpci_pcm_4ch()
1277 return snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_ymfpci_pcm_4ch()
1872 substream = chip->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in snd_ymfpci_mixer()
/linux-4.4.14/sound/pci/cs5535audio/
Dcs5535audio_pcm.c438 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_cs5535audio_pcm()
/linux-4.4.14/sound/firewire/dice/
Ddice-pcm.c427 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &playback_ops); in snd_dice_create_pcm()
/linux-4.4.14/sound/firewire/oxfw/
Doxfw-pcm.c428 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &playback_ops); in snd_oxfw_create_pcm()
/linux-4.4.14/sound/isa/ad1816a/
Dad1816a_lib.c210 SNDRV_PCM_STREAM_PLAYBACK, cmd, 0); in snd_ad1816a_playback_trigger()
686 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ad1816a_playback_ops); in snd_ad1816a_pcm()
/linux-4.4.14/sound/pci/asihpi/
Dasihpi.c624 if (s->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_card_asihpi_trigger()
685 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_card_asihpi_trigger()
798 if (s->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_card_asihpi_timer_function()
898 if (s->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_card_asihpi_timer_function()
1336 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_card_asihpi_pcm_new()
/linux-4.4.14/sound/pci/ice1712/
Djuli.c187 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || in juli_spdif_in_open()
Dice1712.c892 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ice1712_playback_ops); in snd_ice1712_pcm()
918 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ice1712_playback_ds_ops); in snd_ice1712_pcm_ds()
954 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_ice1712_pro_trigger()
1262 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ice1712_playback_pro_ops); in snd_ice1712_pcm_profi()
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-alsa-pcm.c592 snd_pcm_set_ops(sp, SNDRV_PCM_STREAM_PLAYBACK, in snd_cobalt_pcm_create()
/linux-4.4.14/sound/isa/gus/
Dgus_pcm.c872 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_gf1_pcm_playback_ops); in snd_gf1_pcm_new()
874 …for (substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; substream; substream = substre… in snd_gf1_pcm_new()
/linux-4.4.14/sound/hda/
Dhdac_stream.c186 if (azx_dev->direction == SNDRV_PCM_STREAM_PLAYBACK) in snd_hdac_stream_setup()
/linux-4.4.14/drivers/gpu/drm/bridge/
Ddw_hdmi-ahb-audio.c576 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_dw_hdmi_ops); in snd_dw_hdmi_probe()
/linux-4.4.14/sound/atmel/
Dabdac.c330 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &atmel_abdac_ops); in atmel_abdac_pcm_new()
/linux-4.4.14/drivers/staging/most/aim-sound/
Dsound.c590 direction = SNDRV_PCM_STREAM_PLAYBACK; in audio_probe_channel()
/linux-4.4.14/include/uapi/sound/
Dasound.h170 SNDRV_PCM_STREAM_PLAYBACK = 0, enumerator
/linux-4.4.14/sound/soc/intel/atom/sst/
Dsst_drv_interface.c524 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in sst_calc_tstamp()
/linux-4.4.14/sound/isa/msnd/
Dmsnd.c692 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_msnd_playback_ops); in snd_msnd_pcm()
/linux-4.4.14/sound/pci/echoaudio/
Dechoaudio.c922 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &analog_playback_ops); in snd_echo_new_pcm()
955 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &analog_playback_ops); in snd_echo_new_pcm()
969 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &digital_playback_ops); in snd_echo_new_pcm()
/linux-4.4.14/sound/pci/trident/
Dtrident_main.c2185 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_trident_nx_playback_ops); in snd_trident_pcm()
2187 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_trident_playback_ops); in snd_trident_pcm()
2201 …for (substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; substream; substream = substre… in snd_trident_pcm()
2289 snd_pcm_set_ops(spdif, SNDRV_PCM_STREAM_PLAYBACK, &snd_trident_spdif_ops); in snd_trident_spdif_pcm()
2291 snd_pcm_set_ops(spdif, SNDRV_PCM_STREAM_PLAYBACK, &snd_trident_spdif_7018_ops); in snd_trident_spdif_pcm()
/linux-4.4.14/sound/pci/pcxhr/
Dpcxhr.c1029 if( subs->stream == SNDRV_PCM_STREAM_PLAYBACK ) { in pcxhr_open()
1178 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcxhr_ops); in pcxhr_create_pcm()
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx_lib.c1790 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_cs46xx_playback_ops); in snd_cs46xx_pcm()
1816 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_cs46xx_playback_rear_ops); in snd_cs46xx_pcm_rear()
1839 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_cs46xx_playback_clfe_ops); in snd_cs46xx_pcm_center_lfe()
1862 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_cs46xx_playback_iec958_ops); in snd_cs46xx_pcm_iec958()

12