/sound/soc/fsl/ |
D | mpc5200_dma.c | 39 if (psc_dma->playback.active && (isr & MPC52xx_PSC_IMR_TXEMP)) in psc_dma_status_irq() 181 if (psc_dma->playback.active) in psc_dma_trigger() 226 s = &psc_dma->playback; in psc_dma_open() 252 s = &psc_dma->playback; in psc_dma_close() 254 if (!psc_dma->playback.active && in psc_dma_close() 276 s = &psc_dma->playback; in psc_dma_pointer() 413 psc_dma->playback.psc_dma = psc_dma; in mpc5200_audio_dma_create() 422 psc_dma->playback.bcom_task = in mpc5200_audio_dma_create() 425 !psc_dma->playback.bcom_task) { in mpc5200_audio_dma_create() 456 psc_dma->playback.irq = in mpc5200_audio_dma_create() [all …]
|
D | mpc5200_dma.h | 66 struct psc_dma_stream playback; member 82 return &psc_dma->playback; in to_psc_dma_stream()
|
/sound/i2c/ |
D | cs8427.c | 41 struct cs8427_stream playback; member 105 chip->playback.hw_udata : chip->playback.hw_status; in snd_cs8427_send_corudata() 233 memcpy(chip->playback.def_status, buf, 24); in snd_cs8427_init() 234 memcpy(chip->playback.pcm_status, buf, 24); in snd_cs8427_init() 418 memcpy(ucontrol->value.iec958.status, chip->playback.def_status, 24); in snd_cs8427_spdif_get() 429 chip->playback.pcm_status : chip->playback.def_status; in snd_cs8427_spdif_put() 430 struct snd_pcm_runtime *runtime = chip->playback.substream ? in snd_cs8427_spdif_put() 431 chip->playback.substream->runtime : NULL; in snd_cs8427_spdif_put() 537 chip->playback.pcm_ctl = kctl; in snd_cs8427_iec958_build() 540 chip->playback.substream = play_substream; in snd_cs8427_iec958_build() [all …]
|
/sound/pci/emu10k1/ |
D | emufx.c | 1191 const int playback = 10; in _snd_emu10k1_audigy_init_efx() local 1192 const int capture = playback + (SND_EMU10K1_PLAYBACK_CHANNELS * 2); /* we reserve 10 voices */ in _snd_emu10k1_audigy_init_efx() 1246 A_OP(icode, &ptr, iMAC0, A_GPR(playback), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT_FRONT)); in _snd_emu10k1_audigy_init_efx() 1247 …A_OP(icode, &ptr, iMAC0, A_GPR(playback+1), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT_FR… in _snd_emu10k1_audigy_init_efx() 1252 …A_OP(icode, &ptr, iMAC0, A_GPR(playback+2), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT_REAR)… in _snd_emu10k1_audigy_init_efx() 1253 …A_OP(icode, &ptr, iMAC0, A_GPR(playback+3), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT_RE… in _snd_emu10k1_audigy_init_efx() 1259 …A_OP(icode, &ptr, iMAC0, A_GPR(playback+6), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LEFT_SIDE)… in _snd_emu10k1_audigy_init_efx() 1260 …A_OP(icode, &ptr, iMAC0, A_GPR(playback+7), A_C_00000000, A_GPR(gpr+1), A_FXBUS(FXBUS_PCM_RIGHT_SI… in _snd_emu10k1_audigy_init_efx() 1266 A_OP(icode, &ptr, iMAC0, A_GPR(playback+4), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_CENTER)); in _snd_emu10k1_audigy_init_efx() 1271 A_OP(icode, &ptr, iMAC0, A_GPR(playback+5), A_C_00000000, A_GPR(gpr), A_FXBUS(FXBUS_PCM_LFE)); in _snd_emu10k1_audigy_init_efx() [all …]
|
/sound/soc/ti/ |
D | davinci-i2s.c | 177 static void toggle_clock(struct davinci_mcbsp_dev *dev, int playback) in toggle_clock() argument 179 u32 m = playback ? DAVINCI_MCBSP_PCR_CLKXP : DAVINCI_MCBSP_PCR_CLKRP; in toggle_clock() 190 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_mcbsp_start() local 192 u32 mask = playback ? DAVINCI_MCBSP_SPCR_XRST : DAVINCI_MCBSP_SPCR_RRST; in davinci_mcbsp_start() 205 static void davinci_mcbsp_stop(struct davinci_mcbsp_dev *dev, int playback) in davinci_mcbsp_stop() argument 212 spcr &= playback ? ~DAVINCI_MCBSP_SPCR_XRST : ~DAVINCI_MCBSP_SPCR_RRST; in davinci_mcbsp_stop() 214 toggle_clock(dev, playback); in davinci_mcbsp_stop() 529 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_prepare() local 531 u32 mask = playback ? DAVINCI_MCBSP_SPCR_XRST : DAVINCI_MCBSP_SPCR_RRST; in davinci_i2s_prepare() 533 davinci_mcbsp_stop(dev, playback); in davinci_i2s_prepare() [all …]
|
/sound/usb/misc/ |
D | ua101.c | 122 } capture, playback; member 192 ua->playback.substream->runtime->delay -= in playback_urb_complete() 194 ua->playback.frame_bytes; in playback_urb_complete() 246 if (*value >= ua->playback.queue_length) in add_with_wraparound() 247 *value -= ua->playback.queue_length; in add_with_wraparound() 288 frames * ua->playback.frame_bytes; in playback_tasklet() 290 do_period_elapsed |= copy_playback_data(&ua->playback, in playback_tasklet() 307 ua->playback.substream->runtime->delay += frames; in playback_tasklet() 311 snd_pcm_period_elapsed(ua->playback.substream); in playback_tasklet() 388 if (ua->rate_feedback_count < ua->playback.queue_length) { in capture_urb_complete() [all …]
|
/sound/soc/uniphier/ |
D | aio-pxs2.c | 176 .playback = { 191 .playback = { 213 .playback = { 235 .playback = { 250 .playback = { 266 .playback = { 280 .playback = {
|
D | aio-ld11.c | 223 .playback = { 262 .playback = { 284 .playback = { 299 .playback = { 314 .playback = { 329 .playback = { 346 .playback = { 364 .playback = {
|
/sound/soc/sh/rcar/ |
D | core.c | 238 io = &rdai->playback; in rsnd_mod_interrupt() 712 return &rdai->playback; in rsnd_rdai_to_io() 1016 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup() 1020 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup() 1136 struct device_node *playback, in rsnd_parse_connect_common() argument 1150 if (np == playback) in rsnd_parse_connect_common() 1151 rsnd_dai_connect(mod, &rdai->playback, mod->type); in rsnd_parse_connect_common() 1234 ret = rsnd_dai_call(pcm_new, &rdai->playback, rtd); in rsnd_pcm_new() 1242 ret = rsnd_preallocate_pages(rtd, &rdai->playback, in rsnd_pcm_new() 1259 struct device_node *playback, *capture; in __rsnd_dai_probe() local [all …]
|
D | rsnd.h | 461 struct device_node *playback, 527 #define rsnd_io_is_play(io) (&rsnd_io_to_rdai(io)->playback == io) 536 struct rsnd_dai_stream playback; member 786 struct device_node *playback, 799 struct device_node *playback, 817 #define rsnd_parse_connect_src(rdai, playback, capture) \ argument 820 playback, capture) 829 #define rsnd_parse_connect_ctu(rdai, playback, capture) \ argument 832 playback, capture) 841 #define rsnd_parse_connect_mix(rdai, playback, capture) \ argument [all …]
|
/sound/soc/xilinx/ |
D | xlnx_i2s.c | 138 dai_drv->playback.stream_name = "Playback"; in xlnx_i2s_probe() 139 dai_drv->playback.formats = format; in xlnx_i2s_probe() 140 dai_drv->playback.channels_min = ch; in xlnx_i2s_probe() 141 dai_drv->playback.channels_max = ch; in xlnx_i2s_probe() 142 dai_drv->playback.rates = SNDRV_PCM_RATE_8000_192000; in xlnx_i2s_probe()
|
D | Kconfig | 6 I2S playback and capture using xilinx soft IP. In transmitter 22 This provides playback and capture of SPDIF audio in
|
/sound/soc/sh/ |
D | siu_dai.c | 57 struct format_flag playback; member 65 .playback = { 79 .playback = { 133 siu_write32(base + SIU_SBDVCA, port_info->playback.volume); in siu_dai_start() 364 vol = port_info->playback.volume; in siu_dai_get_volume() 408 cur_vol = port_info->playback.volume; in siu_dai_put_volume() 410 port_info->playback.volume = new_vol; in siu_dai_put_volume() 462 (*port_info)->playback.volume = DFLT_VOLUME_LEVEL; in siu_init_port() 532 if (WARN_ON(port_info->playback.rw_flg || port_info->capture.rw_flg)) in siu_dai_shutdown() 555 siu_stream = &port_info->playback; in siu_dai_prepare() [all …]
|
D | siu_pcm.c | 41 struct siu_stream *siu_stream = &port_info->playback; in siu_pcm_stmwrite_stop() 61 struct siu_stream *siu_stream = &port_info->playback; in siu_pcm_stmwrite_start() 67 port_info->playback.cur_period = 0; in siu_pcm_stmwrite_start() 107 struct siu_stream *siu_stream = &port_info->playback; in siu_pcm_wr_set() 308 siu_stream = &port_info->playback; in siu_pcm_hw_free() 347 siu_stream = &port_info->playback; in siu_pcm_open() 380 siu_stream = &port_info->playback; in siu_pcm_close() 402 siu_stream = &port_info->playback; in siu_pcm_prepare() 491 siu_stream = &port_info->playback; in siu_pcm_pointer_dma() 551 tasklet_init(&(*port_info)->playback.tasklet, siu_io_tasklet, in siu_pcm_new() [all …]
|
D | fsi.c | 252 struct fsi_stream playback; member 303 return &fsi->playback == io; in fsi_stream_is_play() 475 fsi->playback.oerr_num++; in fsi_count_fifo_err() 478 fsi->playback.uerr_num++; in fsi_count_fifo_err() 496 return fsi_is_play(substream) ? &fsi->playback : &fsi->capture; in fsi_stream_get() 587 io = &fsi->playback; in fsi_stream_probe() 606 io = &fsi->playback; in fsi_stream_remove() 699 data |= AB_IO(1, fsi_get_port_shift(fsi, &fsi->playback)); in fsi_irq_clear_status() 1255 fsi_stream_transfer(&master->fsia.playback); in fsi_interrupt() 1257 fsi_stream_transfer(&master->fsib.playback); in fsi_interrupt() [all …]
|
/sound/soc/intel/skylake/ |
D | skl-pcm.c | 337 p_params.host_bps = dai->driver->playback.sig_bits; in skl_pcm_hw_params() 596 p_params.link_bps = codec_dai->driver->playback.sig_bits; in skl_link_hw_params() 703 .playback = { 724 .playback = { 762 .playback = { 774 .playback = { 798 .playback = { 814 .playback = { 830 .playback = { 850 .playback = { [all …]
|
/sound/ppc/ |
D | pmac.c | 135 return &chip->playback; in snd_pmac_get_stream() 336 return snd_pmac_pcm_prepare(chip, &chip->playback, subs); in snd_pmac_playback_prepare() 343 return snd_pmac_pcm_trigger(chip, &chip->playback, subs, cmd); in snd_pmac_playback_trigger() 349 return snd_pmac_pcm_pointer(chip, &chip->playback, subs); in snd_pmac_playback_pointer() 643 return snd_pmac_pcm_open(chip, &chip->playback, subs); in snd_pmac_playback_open() 658 return snd_pmac_pcm_close(chip, &chip->playback, subs); in snd_pmac_playback_close() 718 chip->playback.cur_formats = chip->formats_ok; in snd_pmac_pcm_new() 720 chip->playback.cur_freqs = chip->freqs_ok; in snd_pmac_pcm_new() 734 out_le32(&chip->playback.dma->control, (RUN|PAUSE|FLUSH|WAKE|DEAD) << 16); in snd_pmac_dbdma_reset() 735 snd_pmac_wait_ack(&chip->playback); in snd_pmac_dbdma_reset() [all …]
|
/sound/soc/codecs/ |
D | adav80x.c | 370 unsigned int playback = 0x00; in adav80x_set_dai_fmt() local 375 playback |= ADAV80X_PLAYBACK_MODE_MASTER; in adav80x_set_dai_fmt() 385 playback |= ADAV80X_PLAYBACK_MODE_I2S; in adav80x_set_dai_fmt() 389 playback |= ADAV80X_PLAYBACK_MODE_LEFT_J; in adav80x_set_dai_fmt() 393 playback |= ADAV80X_PLAYBACK_MODE_RIGHT_J_24; in adav80x_set_dai_fmt() 410 playback); in adav80x_set_dai_fmt() 765 .playback = { 784 .playback = {
|
D | bt-sco.c | 26 .playback = { 43 .playback = {
|
/sound/soc/qcom/qdsp6/ |
D | q6afe-dai.c | 17 .playback = { \ 624 .playback = { 647 .playback = { 678 .playback = { 714 .playback = { 751 .playback = { 788 .playback = { 825 .playback = { 862 .playback = { 899 .playback = { [all …]
|
/sound/soc/adi/ |
D | axi-i2s.c | 224 axi_i2s_dai.playback.channels_min = 2; in axi_i2s_probe() 225 axi_i2s_dai.playback.channels_max = 2; in axi_i2s_probe() 226 axi_i2s_dai.playback.rates = SNDRV_PCM_RATE_KNOT; in axi_i2s_probe() 227 axi_i2s_dai.playback.formats = in axi_i2s_probe()
|
/sound/soc/mediatek/mt6797/ |
D | mt6797-dai-hostless.c | 64 .playback = { 83 .playback = {
|
/sound/soc/mediatek/mt8183/ |
D | mt8183-dai-hostless.c | 64 .playback = { 83 .playback = {
|
/sound/soc/qcom/ |
D | lpass-apq8016.c | 29 .playback = { 50 .playback = { 92 .playback = {
|
/sound/firewire/dice/ |
D | dice-pcm.c | 397 unsigned int capture, playback; in snd_dice_create_pcm() local 402 capture = playback = 0; in snd_dice_create_pcm() 407 playback = 1; in snd_dice_create_pcm() 410 err = snd_pcm_new(dice->card, "DICE", i, playback, capture, in snd_dice_create_pcm() 421 if (playback > 0) in snd_dice_create_pcm()
|