| /linux-6.15/sound/soc/intel/keembay/ |
| H A D | kmb_platform.c | 173 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in kmb_i2s_disable_channels() 187 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in kmb_i2s_clear_irqs() 202 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_i2s_irq_trigger() 282 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_pcm_trigger() 381 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_pcm_pointer() 422 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_i2s_enable_dma() 436 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in kmb_i2s_disable_dma() 454 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_i2s_start() 477 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kmb_i2s_stop() 559 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in kmb_i2s_config() [all …]
|
| /linux-6.15/sound/soc/amd/acp/ |
| H A D | acp-i2s.c | 161 if (tx_mask && stream->dir == SNDRV_PCM_STREAM_PLAYBACK) in acp_i2s_set_tdm_slot() 221 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_hwparams() 269 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp_i2s_hwparams() 398 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_trigger() 460 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_trigger() 526 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_prepare() 553 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_prepare() 580 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_prepare() 639 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_startup() 650 if (dir == SNDRV_PCM_STREAM_PLAYBACK) { in acp_i2s_startup() [all …]
|
| H A D | acp-platform.c | 145 if (stream->dir == SNDRV_PCM_STREAM_PLAYBACK) in config_acp_dma() 151 if (stream->dir == SNDRV_PCM_STREAM_PLAYBACK) in config_acp_dma() 157 if (stream->dir == SNDRV_PCM_STREAM_PLAYBACK) in config_acp_dma() 208 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp_dma_open() 214 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp_dma_open()
|
| /linux-6.15/sound/soc/qcom/ |
| H A D | sdm845.c | 88 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in sdm845_slim_snd_hw_params() 119 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in sdm845_tdm_snd_hw_params() 311 SNDRV_PCM_STREAM_PLAYBACK); in sdm845_dai_init() 351 DEFAULT_MCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup() 354 MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup() 374 MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup() 383 TDM_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_startup() 437 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown() 440 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown() 458 0, SNDRV_PCM_STREAM_PLAYBACK); in sdm845_snd_shutdown()
|
| H A D | sc7180.c | 215 SNDRV_PCM_STREAM_PLAYBACK); in sc7180_snd_startup() 251 SNDRV_PCM_STREAM_PLAYBACK); in sc7180_qdsp_snd_startup() 255 SNDRV_PCM_STREAM_PLAYBACK); in sc7180_qdsp_snd_startup() 269 SNDRV_PCM_STREAM_PLAYBACK); in sc7180_qdsp_snd_startup() 321 SNDRV_PCM_STREAM_PLAYBACK); in sc7180_snd_shutdown() 349 SNDRV_PCM_STREAM_PLAYBACK); in sc7180_qdsp_snd_shutdown() 353 SNDRV_PCM_STREAM_PLAYBACK); in sc7180_qdsp_snd_shutdown() 360 SNDRV_PCM_STREAM_PLAYBACK); in sc7180_qdsp_snd_shutdown()
|
| /linux-6.15/sound/soc/ti/ |
| H A D | omap-mcpdm.c | 185 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold); in omap_mcpdm_open_streams() 268 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcpdm_dai_shutdown() 269 int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE; in omap_mcpdm_dai_shutdown() 270 int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in omap_mcpdm_dai_shutdown() 337 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in omap_mcpdm_dai_hw_params() 380 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcpdm_prepare() 381 int stream1 = tx ? SNDRV_PCM_STREAM_PLAYBACK : SNDRV_PCM_STREAM_CAPTURE; in omap_mcpdm_prepare() 382 int stream2 = tx ? SNDRV_PCM_STREAM_CAPTURE : SNDRV_PCM_STREAM_PLAYBACK; in omap_mcpdm_prepare() 429 mcpdm->config[SNDRV_PCM_STREAM_PLAYBACK].threshold = 2; in omap_mcpdm_probe() 434 &mcpdm->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in omap_mcpdm_probe()
|
| H A D | omap-mcbsp.c | 220 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in omap_mcbsp_dma_reg_params() 416 int tx = (stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_start() 475 int tx = (stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_stop() 682 SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_init() 745 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_set_threshold() 800 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_startup() 819 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_shutdown() 842 int tx = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in omap_mcbsp_dai_prepare() 899 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_delay() 947 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in omap_mcbsp_dai_hw_params() [all …]
|
| /linux-6.15/sound/soc/renesas/ |
| H A D | dma-sh7760.c | 123 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_open() 157 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_close() 179 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_hw_params() 201 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in camelot_prepare() 245 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_trigger() 273 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pos()
|
| /linux-6.15/sound/soc/cirrus/ |
| H A D | ep93xx-i2s.c | 110 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_enable() 118 stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_enable() 130 stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_disable() 134 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_disable() 312 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ep93xx_i2s_hw_params() 367 ep93xx_i2s_disable(info, SNDRV_PCM_STREAM_PLAYBACK); in ep93xx_i2s_suspend() 380 ep93xx_i2s_enable(info, SNDRV_PCM_STREAM_PLAYBACK); in ep93xx_i2s_resume()
|
| /linux-6.15/sound/soc/kirkwood/ |
| H A D | kirkwood-dma.c | 143 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_dma_open() 164 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_close() 188 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_hw_params() 209 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in kirkwood_dma_prepare() 230 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in kirkwood_dma_pointer()
|
| /linux-6.15/sound/soc/bcm/ |
| H A D | cygnus-pcm.c | 255 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in configure_ringbuf_regs() 302 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_ringbuf() 320 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in enable_intr() 357 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in disable_intr() 407 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in cygnus_pcm_period_elapsed() 600 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_open() 618 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_close() 655 is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 1 : 0; in cygnus_pcm_prepare() 677 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_pointer()
|
| /linux-6.15/sound/soc/fsl/ |
| H A D | imx-pcm-fiq.c | 56 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_hrtimer_callback() 96 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_imx_pcm_prepare() 118 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_imx_pcm_trigger() 130 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_imx_pcm_trigger() 242 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in snd_imx_pcm_new()
|
| H A D | imx-pcm-rpmsg.c | 145 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_pcm_hw_params() 198 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in imx_rpmsg_pcm_pointer() 217 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_timer_callback() 240 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_pcm_open() 294 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_pcm_close() 356 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_prepare_and_submit() 385 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_async_issue_pending() 402 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_restart() 419 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_pause() 437 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in imx_rpmsg_terminate_all() [all …]
|
| H A D | lpc3xxx-i2s.c | 78 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in lpc3xxx_i2s_startup() 110 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in lpc3xxx_i2s_shutdown() 200 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in lpc3xxx_i2s_hw_params() 226 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in lpc3xxx_i2s_trigger() 237 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in lpc3xxx_i2s_trigger()
|
| /linux-6.15/sound/soc/sti/ |
| H A D | sti_uniperif.c | 34 .stream = SNDRV_PCM_STREAM_PLAYBACK, 42 .stream = SNDRV_PCM_STREAM_PLAYBACK, 50 .stream = SNDRV_PCM_STREAM_PLAYBACK, 58 .stream = SNDRV_PCM_STREAM_PLAYBACK, 340 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) { in sti_uniperiph_resume() 361 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) in sti_uniperiph_dai_probe() 443 if (priv->dai_data.stream == SNDRV_PCM_STREAM_PLAYBACK) { in sti_uniperiph_cpu_dai_of()
|
| /linux-6.15/sound/soc/au1x/ |
| H A D | psc-ac97.c | 40 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TS : PSC_AC97PCR_RS) 42 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TP : PSC_AC97PCR_RP) 44 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97PCR_TC : PSC_AC97PCR_RC) 47 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_AC97STAT_TB : PSC_AC97STAT_RB) 233 if (stype == SNDRV_PCM_STREAM_PLAYBACK) { in au1xpsc_ac97_hw_params() 384 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_ac97_drvprobe()
|
| H A D | psc-i2s.c | 42 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SSTAT_TB : PSC_I2SSTAT_RB) 44 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TS : PSC_I2SPCR_RS) 46 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TP : PSC_I2SPCR_RP) 48 ((stype) == SNDRV_PCM_STREAM_PLAYBACK ? PSC_I2SPCR_TC : PSC_I2SPCR_RC) 311 wd->dmaids[SNDRV_PCM_STREAM_PLAYBACK] = dmares->start; in au1xpsc_i2s_drvprobe()
|
| /linux-6.15/sound/usb/line6/ |
| H A D | pcm.c | 140 return (direction == SNDRV_PCM_STREAM_PLAYBACK) ? in get_stream() 151 (direction == SNDRV_PCM_STREAM_PLAYBACK) ? in line6_buffer_acquire() 194 if (direction == SNDRV_PCM_STREAM_PLAYBACK) in line6_stream_start() 246 err = line6_stream_start(line6pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_line6_trigger() 262 line6_stream_stop(line6pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_line6_trigger() 270 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_line6_trigger() 276 if (s->stream != SNDRV_PCM_STREAM_PLAYBACK) in snd_line6_trigger() 492 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, in snd_line6_new_pcm()
|
| /linux-6.15/sound/soc/spear/ |
| H A 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() 233 SNDRV_PCM_STREAM_PLAYBACK); in spdif_mute_put()
|
| /linux-6.15/sound/soc/sof/intel/ |
| H A D | hda-sdw-bpt.c | 132 if (hdac_stream(bpt_stream)->direction == SNDRV_PCM_STREAM_PLAYBACK) { in hda_sdw_bpt_dma_prepare() 160 if (hdac_stream(sdw_bpt_stream)->direction == SNDRV_PCM_STREAM_PLAYBACK) { in hda_sdw_bpt_dma_deprepare() 254 num_channels_tx, SNDRV_PCM_STREAM_PLAYBACK); in hda_sdw_bpt_open() 281 SNDRV_PCM_STREAM_PLAYBACK); in hda_sdw_bpt_open() 363 SNDRV_PCM_STREAM_PLAYBACK, false); in hda_sdw_bpt_wait() 374 SNDRV_PCM_STREAM_PLAYBACK, false); in hda_sdw_bpt_wait()
|
| /linux-6.15/sound/pci/hda/ |
| H A D | patch_si3054.c | 145 val &= 0xff << (8 * (substream->stream != SNDRV_PCM_STREAM_PLAYBACK)); in si3054_pcm_prepare() 146 val |= ((stream_tag & 0xf) << 4) << (8 * (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)); in si3054_pcm_prepare() 192 info->stream[SNDRV_PCM_STREAM_PLAYBACK] = si3054_pcm; in si3054_build_pcms() 194 info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid = codec->core.mfg; in si3054_build_pcms()
|
| /linux-6.15/sound/soc/mediatek/mt8365/ |
| H A D | mt8365-dai-adda.c | 142 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in mt8365_dai_int_adda_startup() 162 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in mt8365_dai_int_adda_shutdown() 171 if (stream == SNDRV_PCM_STREAM_PLAYBACK) { in mt8365_dai_int_adda_shutdown() 201 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in mt8365_dai_int_adda_prepare()
|
| /linux-6.15/sound/soc/amd/vangogh/ |
| H A D | acp5x-pcm-dma.c | 111 if (direction == SNDRV_PCM_STREAM_PLAYBACK) { in config_acp5x_dma() 149 if (direction == SNDRV_PCM_STREAM_PLAYBACK) { in config_acp5x_dma() 220 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp5x_dma_open() 258 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp5x_dma_hw_params() 331 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp5x_dma_close() 433 config_acp5x_dma(rtd, SNDRV_PCM_STREAM_PLAYBACK); in acp5x_pcm_resume() 443 config_acp5x_dma(rtd, SNDRV_PCM_STREAM_PLAYBACK); in acp5x_pcm_resume()
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | adau17x1.c | 211 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_put() 240 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in adau17x1_dsp_mux_enum_get() 274 SNDRV_PCM_STREAM_PLAYBACK, adau17x1_dac_mux_text); 725 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 0; in adau17x1_set_dai_tdm_slot() 729 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 1; in adau17x1_set_dai_tdm_slot() 733 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 2; in adau17x1_set_dai_tdm_slot() 737 adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] = 3; in adau17x1_set_dai_tdm_slot() 755 if (adau->dsp_bypass[SNDRV_PCM_STREAM_PLAYBACK]) { in adau17x1_set_dai_tdm_slot() 757 (adau->tdm_slot[SNDRV_PCM_STREAM_PLAYBACK] * 2) + 1); in adau17x1_set_dai_tdm_slot()
|
| /linux-6.15/sound/drivers/ |
| H A D | aloop.c | 344 if (stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_check_format() 348 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format() 365 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format() 421 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger() 430 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger() 439 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger() 449 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in loopback_trigger() 516 substream->stream == SNDRV_PCM_STREAM_PLAYBACK)) in loopback_prepare() 649 cable->streams[SNDRV_PCM_STREAM_PLAYBACK]; in loopback_jiffies_timer_pos_update() 657 if (running & (1 << SNDRV_PCM_STREAM_PLAYBACK)) { in loopback_jiffies_timer_pos_update() [all …]
|