/linux-4.1.27/sound/soc/blackfin/ |
D | bf5xx-ac97-pcm.c | 61 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 …]
|
D | bf5xx-i2s-pcm.c | 99 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()
|
D | bf6xx-i2s.c | 106 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in bfin_i2s_hw_params()
|
/linux-4.1.27/sound/soc/davinci/ |
D | davinci-vcif.c | 66 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()
|
D | davinci-i2s.c | 188 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() 689 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr = in davinci_i2s_probe() 702 dma = &dev->dma_request[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_probe() 704 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].filter_data = dma; in davinci_i2s_probe()
|
D | davinci-mcasp.c | 235 mcasp->irq_request[SNDRV_PCM_STREAM_PLAYBACK]); in mcasp_start_tx() 242 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_mcasp_start() 277 mcasp->irq_request[SNDRV_PCM_STREAM_PLAYBACK]); in mcasp_stop_tx() 300 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_mcasp_stop() 310 u32 irq_mask = mcasp->irq_request[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_tx_irq_handler() 319 substream = mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_tx_irq_handler() 381 if (mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]) in davinci_mcasp_common_irq_handler() 674 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in mcasp_common_hw_param() 699 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in mcasp_common_hw_param() 1145 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_mcasp_startup() [all …]
|
/linux-4.1.27/sound/soc/fsl/ |
D | imx-pcm-fiq.c | 61 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()
|
D | fsl_dma.c | 172 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()
|
D | fsl_asrc_dma.c | 63 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()
|
D | mpc5200_dma.c | 316 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()
|
D | imx-ssi.c | 248 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in imx_ssi_hw_params() 286 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_ssi_trigger() 302 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in imx_ssi_trigger() 315 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in imx_ssi_trigger()
|
D | fsl_sai.c | 296 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_hw_params() 329 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_trigger() 400 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_startup() 420 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_shutdown()
|
D | fsl_ssi.c | 658 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || synchronous) in fsl_ssi_set_bclk() 763 if ((substream->stream == SNDRV_PCM_STREAM_PLAYBACK) || in fsl_ssi_hw_params() 1026 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in fsl_ssi_trigger() 1035 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in fsl_ssi_trigger() 1046 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in fsl_ssi_trigger()
|
D | fsl_spdif.c | 480 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_spdif_startup() 516 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_spdif_shutdown() 551 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_spdif_hw_params() 575 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_spdif_trigger()
|
D | fsl_esai.c | 512 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()
|
D | fsl-asoc-card.c | 122 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_asoc_card_hw_params()
|
D | fsl_asrc.c | 481 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_asrc_dai_hw_params()
|
/linux-4.1.27/sound/soc/cirrus/ |
D | ep93xx-i2s.c | 72 [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()
|
D | ep93xx-ac97.c | 262 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.1.27/sound/soc/sh/ |
D | dma-sh7760.c | 124 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()
|
D | siu_pcm.c | 319 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()
|
D | ssi.c | 141 recv = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 0 : 1; in ssi_hw_params()
|
D | hac.c | 242 int d = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0 : 1; in hac_hw_params()
|
D | siu_dai.c | 538 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.1.27/sound/soc/kirkwood/ |
D | kirkwood-dma.c | 150 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_dma_open() 170 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_close() 211 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_dma_prepare() 231 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_pointer() 280 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in kirkwood_dma_new() 282 SNDRV_PCM_STREAM_PLAYBACK); in kirkwood_dma_new()
|
D | kirkwood-i2s.c | 148 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.1.27/sound/soc/au1x/ |
D | psc-ac97.c | 44 ((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()
|
D | psc-i2s.c | 45 ((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) 325 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_i2s_drvprobe()
|
D | i2sc.c | 258 ctx->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xi2s_drvprobe()
|
D | ac97c.c | 258 ctx->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xac97c_drvprobe()
|
D | dma.c | 198 name = (s == SNDRV_PCM_STREAM_PLAYBACK) ? "audio-tx" : "audio-rx"; in alchemy_pcm_open()
|
/linux-4.1.27/sound/soc/codecs/ |
D | adau17x1.c | 179 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_put() 208 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_get() 242 SNDRV_PCM_STREAM_PLAYBACK, adau17x1_dac_mux_text); 629 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 0; in adau17x1_set_dai_tdm_slot() 633 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 1; in adau17x1_set_dai_tdm_slot() 637 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 2; in adau17x1_set_dai_tdm_slot() 641 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 3; in adau17x1_set_dai_tdm_slot() 659 if (adau->dsp_bypass[SNDRV_PCM_STREAM_PLAYBACK]) { in adau17x1_set_dai_tdm_slot() 661 (adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] * 2) + 1); in adau17x1_set_dai_tdm_slot()
|
D | ac97.c | 42 int reg = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in ac97_prepare()
|
D | ak4642.c | 284 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()
|
D | wl1273.c | 317 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in wl1273_startup() 374 substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in wl1273_hw_params()
|
D | tlv320aic23.c | 351 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in tlv320aic23_hw_params() 407 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tlv320aic23_shutdown()
|
D | cs4271.c | 361 if ((substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in cs4271_hw_params() 418 if (stream != SNDRV_PCM_STREAM_PLAYBACK) in cs4271_mute_stream()
|
D | es8328.c | 453 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in es8328_hw_params() 475 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in es8328_hw_params()
|
D | sta529.c | 241 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in sta529_hw_params()
|
D | wm9712.c | 530 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ac97_prepare() 550 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in ac97_aux_prepare()
|
D | uda1380.c | 557 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in uda1380_pcm_hw_params() 578 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in uda1380_pcm_shutdown()
|
D | wm9705.c | 248 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ac97_prepare()
|
D | stac9766.c | 198 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ac97_analog_prepare()
|
D | ml26124.c | 433 case SNDRV_PCM_STREAM_PLAYBACK: in ml26124_mute()
|
D | cs42xx8.c | 256 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in cs42xx8_hw_params()
|
D | sirf-audio-codec.c | 338 int playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in sirf_audio_codec_trigger()
|
D | ak4641.c | 330 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in ak4641_i2s_hw_params()
|
D | wm9713.c | 1017 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ac97_hifi_prepare() 1037 if (substream->stream != SNDRV_PCM_STREAM_PLAYBACK) in ac97_aux_prepare()
|
D | wm8770.c | 440 case SNDRV_PCM_STREAM_PLAYBACK: in wm8770_hw_params()
|
D | mc13783.c | 154 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mc13783_pcm_hw_params_sync()
|
D | adau1701.c | 466 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in adau1701_hw_params()
|
D | wm8580.c | 548 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in wm8580_paif_hw_params()
|
D | adav80x.c | 524 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in adav80x_hw_params()
|
D | wm8995.c | 1567 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK /* || in wm8995_hw_params() 1579 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK /* || in wm8995_hw_params()
|
D | wm8961.c | 538 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && target < 64) { in wm8961_hw_params()
|
D | twl4030.c | 1642 if (direction == SNDRV_PCM_STREAM_PLAYBACK) in twl4030_tdm_enable() 1927 if (direction == SNDRV_PCM_STREAM_PLAYBACK) in twl4030_voice_enable()
|
D | wm2200.c | 1760 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || in wm2200_hw_params() 1769 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in wm2200_hw_params()
|
D | wm8960.c | 592 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in wm8960_hw_params()
|
D | wm8900.c | 661 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in wm8900_hw_params()
|
/linux-4.1.27/sound/core/ |
D | pcm_trace.h | 39 __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',
|
D | pcm_compat.c | 51 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()
|
D | pcm.c | 521 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() 1084 case SNDRV_PCM_STREAM_PLAYBACK: in snd_pcm_dev_register() 1198 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in snd_pcm_proc_read() 1200 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream_count); in snd_pcm_proc_read()
|
D | pcm_dmaengine.c | 82 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()
|
D | pcm_native.c | 694 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_sw_params() 767 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_status() 1025 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_pre_start() 1054 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_post_start() 1371 substream->stream != SNDRV_PCM_STREAM_PLAYBACK)) in snd_pcm_do_resume() 1491 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_post_reset() 1593 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_do_drain_init() 1708 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_drain() 2334 err = snd_pcm_open(file, pcm, SNDRV_PCM_STREAM_PLAYBACK); in snd_pcm_playback_open() 2677 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_delay() [all …]
|
D | pcm_lib.c | 210 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() 1907 int is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in wait_for_avail() 2607 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_add_chmap_ctls()
|
/linux-4.1.27/sound/drivers/ |
D | aloop.c | 153 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 …]
|
D | dummy.c | 591 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.1.27/sound/soc/pxa/ |
D | pxa2xx-i2s.c | 174 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()
|
D | pxa2xx-ac97.c | 98 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_hw_params() 114 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_hw_aux_params() 128 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in pxa2xx_ac97_hw_mic_params()
|
D | mmp-sspa.c | 275 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()
|
D | pxa2xx-pcm.c | 102 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in pxa2xx_soc_pcm_new() 104 SNDRV_PCM_STREAM_PLAYBACK); in pxa2xx_soc_pcm_new()
|
D | mmp-pcm.c | 226 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()
|
D | pxa-ssp.c | 108 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.1.27/sound/soc/txx9/ |
D | txx9aclc.c | 132 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.1.27/sound/soc/dwc/ |
D | designware_i2s.c | 119 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() 161 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in i2s_stop() 194 (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)) in dw_i2s_startup() 197 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in dw_i2s_startup() 255 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in dw_i2s_hw_params() 307 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in dw_i2s_prepare()
|
/linux-4.1.27/sound/usb/ |
D | proc.c | 156 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()
|
D | pcm.c | 64 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() 813 if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) in snd_usb_pcm_prepare() 1536 return snd_usb_pcm_open(substream, SNDRV_PCM_STREAM_PLAYBACK); in snd_usb_playback_open() 1541 return snd_usb_pcm_close(substream, SNDRV_PCM_STREAM_PLAYBACK); in snd_usb_playback_close() 1643 stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_usb_set_pcm_ops()
|
D | stream.c | 362 stream == SNDRV_PCM_STREAM_PLAYBACK ? 1 : 0, in snd_usb_add_audio_stream() 363 stream == SNDRV_PCM_STREAM_PLAYBACK ? 0 : 1, in snd_usb_add_audio_stream() 516 SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in snd_usb_parse_audio_interface() 696 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_usb_parse_audio_interface()
|
D | quirks.c | 165 ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in create_fixed_stream_quirk() 488 ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in create_uaxx_quirk() 1079 if (subs->direction == SNDRV_PCM_STREAM_PLAYBACK) { in set_format_emu_quirk()
|
D | endpoint.c | 427 int is_playback = direction == SNDRV_PCM_STREAM_PLAYBACK; in snd_usb_add_endpoint()
|
/linux-4.1.27/sound/pci/hda/ |
D | patch_si3054.c | 159 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()
|
D | patch_via.c | 646 if (!info->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams || in vt1708_build_pcms() 649 info->stream[SNDRV_PCM_STREAM_PLAYBACK].formats = in vt1708_build_pcms()
|
D | hda_controller.c | 178 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in azx_assign_device() 539 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in azx_pcm_prepare() 949 cpcm->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams, in azx_attach_pcm_stream()
|
D | patch_ca0132.c | 4043 info->stream[SNDRV_PCM_STREAM_PLAYBACK] = ca0132_pcm_analog_playback; in ca0132_build_pcms() 4044 info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid = spec->dacs[0]; in ca0132_build_pcms() 4045 info->stream[SNDRV_PCM_STREAM_PLAYBACK].channels_max = in ca0132_build_pcms() 4073 info->stream[SNDRV_PCM_STREAM_PLAYBACK] = in ca0132_build_pcms() 4075 info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid = spec->dig_out; in ca0132_build_pcms()
|
D | patch_hdmi.c | 2067 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in generic_hdmi_build_pcms() 2134 SNDRV_PCM_STREAM_PLAYBACK, in generic_hdmi_build_controls() 2385 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in simple_playback_build_pcms() 2852 SNDRV_PCM_STREAM_PLAYBACK, in nvhdmi_7x_8ch_build_controls()
|
D | hda_intel.c | 513 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in azx_get_delay_from_lpib() 687 if (azx_dev->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in azx_via_get_position()
|
D | hda_generic.c | 5546 setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_PLAYBACK], in snd_hda_gen_build_pcms() 5550 info->stream[SNDRV_PCM_STREAM_PLAYBACK].channels_max = in snd_hda_gen_build_pcms() 5554 info->stream[SNDRV_PCM_STREAM_PLAYBACK].chmap = in snd_hda_gen_build_pcms() 5582 setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_PLAYBACK], in snd_hda_gen_build_pcms() 5612 setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_PLAYBACK], in snd_hda_gen_build_pcms() 5617 setup_pcm_stream(&info->stream[SNDRV_PCM_STREAM_PLAYBACK], in snd_hda_gen_build_pcms()
|
/linux-4.1.27/sound/soc/ |
D | soc-generic-dmaengine-pcm.c | 153 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in dmaengine_pcm_set_runtime_hwparams() 261 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_CAPTURE; i++) { in dmaengine_pcm_new() 337 [SNDRV_PCM_STREAM_PLAYBACK] = "tx", 365 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_CAPTURE; in dmaengine_pcm_request_chan_of() 395 for (i = SNDRV_PCM_STREAM_PLAYBACK; i <= SNDRV_PCM_STREAM_CAPTURE; in dmaengine_pcm_release_chan()
|
D | soc-compress.c | 79 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() 690 be_pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->private_data = rtd; in soc_new_compress()
|
D | soc-pcm.c | 54 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_soc_runtime_activate() 89 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_soc_runtime_deactivate() 326 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in soc_pcm_apply_msb() 367 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in soc_pcm_init_runtime_hw() 375 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in soc_pcm_init_runtime_hw() 470 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in soc_pcm_open() 607 snd_soc_dapm_stream_event(rtd, SNDRV_PCM_STREAM_PLAYBACK, in close_delayed_work() 658 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in soc_pcm_close() 662 SNDRV_PCM_STREAM_PLAYBACK, in soc_pcm_close() 750 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in soc_pcm_prepare() [all …]
|
D | soc-core.c | 651 SNDRV_PCM_STREAM_PLAYBACK, in snd_soc_suspend() 779 SNDRV_PCM_STREAM_PLAYBACK, in soc_resume_deferred() 1211 INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_PLAYBACK].be_clients); in soc_post_component_init() 1213 INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_PLAYBACK].fe_clients); in soc_post_component_init() 2299 else if (direction == SNDRV_PCM_STREAM_PLAYBACK && in snd_soc_dai_digital_mute()
|
D | soc-dapm.c | 1081 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_soc_dapm_dai_get_connected_widgets() 3290 substream.stream = SNDRV_PCM_STREAM_PLAYBACK; in snd_soc_dai_link_event() 3298 SNDRV_PCM_STREAM_PLAYBACK); in snd_soc_dai_link_event() 3306 SNDRV_PCM_STREAM_PLAYBACK); in snd_soc_dai_link_event() 3627 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in soc_dapm_dai_stream_event()
|
/linux-4.1.27/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 318 *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 …]
|
D | usx2yhwdeppcm.c | 251 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.1.27/sound/soc/spear/ |
D | spdif_out.c | 66 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.1.27/sound/arm/ |
D | pxa2xx-pcm.c | 47 rtd->params = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in pxa2xx_pcm_open() 109 int stream = SNDRV_PCM_STREAM_PLAYBACK; in pxa2xx_pcm_new()
|
D | pxa2xx-ac97.c | 74 r = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in pxa2xx_ac97_pcm_startup() 98 int reg = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in pxa2xx_ac97_pcm_prepare()
|
D | pxa2xx-pcm-lib.c | 87 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in __pxa2xx_pcm_hw_params() 159 dma_addr_t ptr = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in pxa2xx_pcm_pointer()
|
D | aaci.c | 409 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.1.27/sound/pci/nm256/ |
D | nm256.c | 353 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.1.27/sound/soc/ux500/ |
D | ux500_pcm.c | 76 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()
|
D | mop500_ab8500.c | 211 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()
|
D | ux500_msp_dai.c | 320 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()
|
D | ux500_msp_i2s.c | 589 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.1.27/sound/isa/ |
D | cmi8330.c | 415 #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.1.27/sound/soc/omap/ |
D | omap-mcbsp.c | 86 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()
|
D | omap-mcpdm.c | 190 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()
|
D | omap-pcm.c | 226 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in omap_pcm_new() 228 SNDRV_PCM_STREAM_PLAYBACK); in omap_pcm_new()
|
/linux-4.1.27/sound/usb/line6/ |
D | pcm.c | 145 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()
|
D | playback.c | 205 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.1.27/sound/core/oss/ |
D | pcm_plugin.c | 57 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()
|
D | pcm_oss.c | 961 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 …]
|
D | io.c | 131 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plugin_build_io()
|
/linux-4.1.27/sound/usb/caiaq/ |
D | audio.c | 69 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.1.27/sound/soc/nuc900/ |
D | nuc900-pcm.c | 54 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()
|
D | nuc900-ac97.c | 221 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.1.27/sound/soc/bcm/ |
D | bcm2835-i2s.c | 579 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.1.27/include/sound/ |
D | soc-dai.h | 284 return (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in snd_soc_dai_get_dma_data() 292 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_soc_dai_set_dma_data()
|
D | dmaengine_pcm.h | 30 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_substream_to_dma_direction()
|
D | pcm.h | 665 substream->stream == SNDRV_PCM_STREAM_PLAYBACK)); in snd_pcm_running() 1323 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_stream_str()
|
/linux-4.1.27/sound/pci/au88x0/ |
D | au88x0_pcm.c | 182 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.1.27/sound/soc/sirf/ |
D | sirf-usp.c | 218 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.1.27/sound/soc/atmel/ |
D | atmel-pcm-pdc.c | 90 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()
|
D | atmel_ssc_dai.c | 304 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()
|
D | atmel-pcm-dma.c | 77 substream->stream == SNDRV_PCM_STREAM_PLAYBACK in atmel_pcm_dma_irq()
|
/linux-4.1.27/sound/soc/samsung/ |
D | idma.c | 346 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()
|
D | s3c-i2s-v2.c | 310 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in s3c_i2sv2_hw_params() 539 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in s3c2412_i2s_delay()
|
D | spdif.c | 189 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in spdif_hw_params()
|
D | i2s.c | 692 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.1.27/sound/isa/sb/ |
D | sb8_main.c | 505 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()
|
D | sb16_main.c | 231 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()
|
D | emu8000_pcm.c | 695 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &emu8k_pcm_ops); in snd_emu8000_pcm_new()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_uac2.c | 203 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.1.27/sound/soc/tegra/ |
D | tegra30_i2s.c | 192 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()
|
D | tegra20_ac97.c | 195 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tegra20_ac97_trigger() 203 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tegra20_ac97_trigger()
|
D | tegra20_i2s.c | 224 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tegra20_i2s_trigger() 232 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in tegra20_i2s_trigger()
|
/linux-4.1.27/sound/usb/hiface/ |
D | pcm.c | 181 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.1.27/sound/pci/oxygen/ |
D | oxygen_pcm.c | 715 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.1.27/sound/ppc/ |
D | pmac.c | 120 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()
|
D | snd_ps3.c | 1019 snd_pcm_set_ops(the_card.pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_ps3_driver_probe()
|
/linux-4.1.27/sound/pci/ca0106/ |
D | ca0106_main.c | 986 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.1.27/sound/mips/ |
D | sgio2audio.c | 465 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()
|
D | au1x00.c | 457 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_au1000_pcm_new()
|
D | hal2.c | 750 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in hal2_pcm_create()
|
/linux-4.1.27/sound/soc/intel/haswell/ |
D | sst-haswell-pcm.c | 515 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() 947 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream || in hsw_pcm_new() 960 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in hsw_pcm_new() 961 priv_data->pcm[rtd->cpu_dai->id][SNDRV_PCM_STREAM_PLAYBACK].hsw_pcm = pcm; in hsw_pcm_new() 1074 mutex_init(&priv_data->pcm[i][SNDRV_PCM_STREAM_PLAYBACK].mutex); in hsw_pcm_probe()
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | mainstone.c | 156 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mst_audio_startup() 163 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in mst_audio_shutdown()
|
/linux-4.1.27/sound/pci/ctxfi/ |
D | ctpcm.c | 450 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.1.27/sound/pci/ |
D | via82xx.c | 1462 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()
|
D | ens1370.c | 1281 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()
|
D | atiixp.c | 1287 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()
|
D | maestro3.c | 1068 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()
|
D | rme32.c | 1375 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()
|
D | fm801.c | 709 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()
|
D | intel8x0.c | 902 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()
|
D | als300.c | 601 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_als300_new_pcm()
|
D | cmipci.c | 1909 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()
|
D | als4000.c | 707 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_als4000_playback_ops); in snd_als4000_pcm()
|
D | ad1889.c | 634 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_ad1889_pcm_init()
|
/linux-4.1.27/sound/soc/qcom/ |
D | lpass-platform.c | 450 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in lpass_platform_pcm_new() 497 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in lpass_platform_pcm_free()
|
/linux-4.1.27/sound/soc/jz4740/ |
D | jz4740-i2s.c | 177 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.1.27/sound/soc/intel/baytrail/ |
D | sst-baytrail-pcm.c | 78 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.1.27/sound/usb/6fire/ |
D | pcm.c | 126 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.1.27/sound/pci/emu10k1/ |
D | p16v.c | 489 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()
|
D | emupcm.c | 1414 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()
|
D | emu10k1x.c | 867 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.1.27/sound/pci/rme9652/ |
D | rme9652.c | 1852 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()
|
D | hdspm.c | 5486 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() 6134 bool playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in snd_hdspm_release() [all …]
|
D | hdsp.c | 3860 snd_pcm_period_elapsed(hdsp->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream); in snd_hdsp_interrupt() 3967 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hdsp_reset() 4004 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdsp_hw_params() 4122 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hdsp_trigger() 4140 if (!(running & (1 << SNDRV_PCM_STREAM_PLAYBACK)) && in snd_hdsp_trigger() 4145 substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hdsp_trigger() 4916 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_hdsp_playback_ops); in snd_hdsp_create_pcm()
|
/linux-4.1.27/sound/pci/mixart/ |
D | mixart.c | 407 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.1.27/sound/pci/aw2/ |
D | aw2-alsa.c | 615 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.1.27/sound/pci/ac97/ |
D | ac97_pcm.c | 168 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.1.27/sound/soc/mxs/ |
D | mxs-saif.c | 467 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.1.27/sound/aoa/soundbus/i2sbus/ |
D | pcm.c | 985 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.1.27/sound/drivers/pcsp/ |
D | pcsp_lib.c | 345 snd_pcm_set_ops(chip->pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_pcsp_new_pcm()
|
/linux-4.1.27/sound/sh/ |
D | sh_dac_audio.c | 276 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_sh_dac_pcm_ops); in snd_sh_dac_pcm()
|
D | aica.c | 467 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_aicapcmchip()
|
/linux-4.1.27/sound/soc/intel/atom/ |
D | sst-mfld-platform-pcm.c | 99 {MERR_DPCM_AUDIO, 0, SNDRV_PCM_STREAM_PLAYBACK, PIPE_MEDIA1_IN, SST_TASK_ID_MEDIA, 0}, 100 {MERR_DPCM_COMPR, 0, SNDRV_PCM_STREAM_PLAYBACK, PIPE_MEDIA0_IN, SST_TASK_ID_MEDIA, 0},
|
/linux-4.1.27/sound/firewire/fireworks/ |
D | fireworks_pcm.c | 398 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcm_playback_ops); in snd_efw_create_pcm_devices()
|
/linux-4.1.27/sound/pci/lola/ |
D | lola.h | 314 #define PLAY SNDRV_PCM_STREAM_PLAYBACK
|
D | lola_pcm.c | 615 chip->pcm[SNDRV_PCM_STREAM_PLAYBACK].num_streams, in lola_create_pcm()
|
/linux-4.1.27/sound/firewire/bebob/ |
D | bebob_pcm.c | 374 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcm_playback_ops); in snd_bebob_create_pcm_devices()
|
/linux-4.1.27/sound/pci/ymfpci/ |
D | ymfpci_main.c | 1157 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.1.27/sound/firewire/dice/ |
D | dice-pcm.c | 419 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &playback_ops); in snd_dice_create_pcm()
|
/linux-4.1.27/sound/pci/cs5535audio/ |
D | cs5535audio_pcm.c | 438 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_cs5535audio_pcm()
|
/linux-4.1.27/sound/firewire/oxfw/ |
D | oxfw-pcm.c | 419 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &playback_ops); in snd_oxfw_create_pcm()
|
/linux-4.1.27/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 210 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.1.27/sound/pci/asihpi/ |
D | asihpi.c | 624 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.1.27/sound/pci/ice1712/ |
D | juli.c | 187 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || in juli_spdif_in_open()
|
D | ice1712.c | 892 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()
|
D | ice1724.c | 1152 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_vt1724_playback_pro_ops); in snd_vt1724_pcm_profi() 1349 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_vt1724_pcm_spdif() 1466 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_vt1724_pcm_indep()
|
/linux-4.1.27/sound/isa/gus/ |
D | gus_pcm.c | 872 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.1.27/sound/atmel/ |
D | abdac.c | 330 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &atmel_abdac_ops); in atmel_abdac_pcm_new()
|
/linux-4.1.27/sound/isa/msnd/ |
D | msnd.c | 692 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_msnd_playback_ops); in snd_msnd_pcm()
|
/linux-4.1.27/include/uapi/sound/ |
D | asound.h | 168 SNDRV_PCM_STREAM_PLAYBACK = 0, enumerator
|
/linux-4.1.27/sound/soc/intel/atom/sst/ |
D | sst_drv_interface.c | 521 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in sst_calc_tstamp()
|
/linux-4.1.27/sound/pci/echoaudio/ |
D | echoaudio.c | 922 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.1.27/sound/pci/trident/ |
D | trident_main.c | 2185 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.1.27/sound/pci/pcxhr/ |
D | pcxhr.c | 1029 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.1.27/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 1790 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()
|
/linux-4.1.27/sound/sparc/ |
D | amd7930.c | 770 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_amd7930_playback_ops); in snd_amd7930_pcm()
|