Home
last modified time | relevance | path

Searched refs:playback (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/sound/soc/intel/boards/
Dsof_sdw_common.h74 bool playback);
109 bool playback);
117 bool playback);
125 bool playback);
134 bool playback);
141 bool playback);
148 bool playback);
155 bool playback);
162 bool playback);
171 bool playback);
/sound/soc/fsl/
Dmpc5200_dma.c39 if (psc_dma->playback.active && (isr & MPC52xx_PSC_IMR_TXEMP)) in psc_dma_status_irq()
179 if (psc_dma->playback.active) in psc_dma_trigger()
225 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()
277 s = &psc_dma->playback; in psc_dma_pointer()
356 psc_dma->playback.psc_dma = psc_dma; in mpc5200_audio_dma_create()
365 psc_dma->playback.bcom_task = in mpc5200_audio_dma_create()
368 !psc_dma->playback.bcom_task) { in mpc5200_audio_dma_create()
399 psc_dma->playback.irq = in mpc5200_audio_dma_create()
[all …]
Dmpc5200_dma.h66 struct psc_dma_stream playback; member
82 return &psc_dma->playback; in to_psc_dma_stream()
/sound/i2c/
Dcs8427.c41 struct cs8427_stream playback; member
108 chip->playback.hw_udata : chip->playback.hw_status; in snd_cs8427_send_corudata()
240 memcpy(chip->playback.def_status, buf, 24); in snd_cs8427_init()
241 memcpy(chip->playback.pcm_status, buf, 24); in snd_cs8427_init()
426 memcpy(ucontrol->value.iec958.status, chip->playback.def_status, 24); in snd_cs8427_spdif_get()
437 chip->playback.pcm_status : chip->playback.def_status; in snd_cs8427_spdif_put()
438 struct snd_pcm_runtime *runtime = chip->playback.substream ? in snd_cs8427_spdif_put()
439 chip->playback.substream->runtime : NULL; in snd_cs8427_spdif_put()
545 chip->playback.pcm_ctl = kctl; in snd_cs8427_iec958_build()
548 chip->playback.substream = play_substream; in snd_cs8427_iec958_build()
[all …]
/sound/pci/emu10k1/
Demufx.c1218 const int playback = 10; in _snd_emu10k1_audigy_init_efx() local
1219 const int capture = playback + (SND_EMU10K1_PLAYBACK_CHANNELS * 2); /* we reserve 10 voices */ in _snd_emu10k1_audigy_init_efx()
1273 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()
1274 …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()
1279 …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()
1280 …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()
1286 …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()
1287 …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()
1293 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()
1298 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/qcom/qdsp6/
Dq6dsp-lpass-ports.c11 .playback = { \
47 .playback = { \
85 .playback = {
102 .playback = {
130 .playback = {
160 .playback = {
191 .playback = {
222 .playback = {
253 .playback = {
284 .playback = {
[all …]
/sound/soc/ti/
Ddavinci-i2s.c177 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/
Dua101.c121 } capture, playback; member
191 ua->playback.substream->runtime->delay -= in playback_urb_complete()
193 ua->playback.frame_bytes; in playback_urb_complete()
245 if (*value >= ua->playback.queue_length) in add_with_wraparound()
246 *value -= ua->playback.queue_length; in add_with_wraparound()
287 frames * ua->playback.frame_bytes; in playback_work()
289 do_period_elapsed |= copy_playback_data(&ua->playback, in playback_work()
306 ua->playback.substream->runtime->delay += frames; in playback_work()
310 snd_pcm_period_elapsed(ua->playback.substream); in playback_work()
387 if (ua->rate_feedback_count < ua->playback.queue_length) { in capture_urb_complete()
[all …]
/sound/soc/sh/
Drz-ssi.c122 struct rz_ssi_stream playback; member
174 struct rz_ssi_stream *stream = &ssi->playback; in rz_ssi_stream_get()
184 return (ssi->playback.dma_ch && (ssi->dma_rt || ssi->capture.dma_ch)); in rz_ssi_is_dma_enabled()
519 if (ssi->playback.substream) in rz_ssi_interrupt()
520 strm = &ssi->playback; in rz_ssi_interrupt()
560 strm->transfer(ssi, &ssi->playback); in rz_ssi_interrupt()
661 if (ssi->playback.dma_ch) { in rz_ssi_release_dma_channels()
662 dma_release_channel(ssi->playback.dma_ch); in rz_ssi_release_dma_channels()
663 ssi->playback.dma_ch = NULL; in rz_ssi_release_dma_channels()
676 ssi->playback.dma_ch = dma_request_chan(dev, "tx"); in rz_ssi_dma_request()
[all …]
Dsiu_dai.c57 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 …]
Dsiu_pcm.c41 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()
310 siu_stream = &port_info->playback; in siu_pcm_open()
344 siu_stream = &port_info->playback; in siu_pcm_close()
367 siu_stream = &port_info->playback; in siu_pcm_prepare()
459 siu_stream = &port_info->playback; in siu_pcm_pointer_dma()
520 INIT_WORK(&(*port_info)->playback.work, siu_io_work); in siu_pcm_new()
535 cancel_work_sync(&port_info->playback.work); in siu_pcm_free()
Dfsi.c252 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/uniphier/
Daio-pxs2.c174 .playback = {
187 .playback = {
207 .playback = {
227 .playback = {
240 .playback = {
254 .playback = {
266 .playback = {
Daio-ld11.c221 .playback = {
256 .playback = {
276 .playback = {
289 .playback = {
302 .playback = {
315 .playback = {
330 .playback = {
346 .playback = {
/sound/soc/sh/rcar/
Dcore.c229 struct rsnd_dai_stream *io = &rdai->playback; in rsnd_mod_interrupt()
702 return &rdai->playback; in rsnd_rdai_to_io()
1006 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1010 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1158 struct device_node *playback, in rsnd_parse_connect_common() argument
1181 if (np == playback) in rsnd_parse_connect_common()
1182 rsnd_dai_connect(mod, &rdai->playback, mod->type); in rsnd_parse_connect_common()
1316 ret = rsnd_dai_call(pcm_new, &rdai->playback, rtd); in rsnd_pcm_new()
1324 ret = rsnd_preallocate_pages(rtd, &rdai->playback, in rsnd_pcm_new()
1350 io_playback = &rdai->playback; in __rsnd_dai_probe()
[all …]
Drsnd.h460 struct device_node *playback,
528 #define rsnd_io_is_play(io) (&rsnd_io_to_rdai(io)->playback == io)
537 struct rsnd_dai_stream playback; member
792 struct device_node *playback,
805 struct device_node *playback,
824 #define rsnd_parse_connect_src(rdai, playback, capture) \ argument
827 playback, capture)
836 #define rsnd_parse_connect_ctu(rdai, playback, capture) \ argument
839 playback, capture)
848 #define rsnd_parse_connect_mix(rdai, playback, capture) \ argument
[all …]
/sound/soc/mediatek/mt8186/
Dmt8186-dai-hostless.c114 .playback = {
133 .playback = {
152 .playback = {
171 .playback = {
263 .playback = {
/sound/soc/sof/intel/
Dhda-dai.c243 p_params.link_bps = codec_dai->driver->playback.sig_bits; in hda_link_dma_hw_params()
841 .playback = {
852 .playback = {
863 .playback = {
874 .playback = {
885 .playback = {
896 .playback = {
922 .playback = {
929 .playback = {
936 .playback = {
[all …]
Datom.c339 .playback = {
350 .playback = {
361 .playback = {
372 .playback = {
383 .playback = {
394 .playback = {
/sound/soc/intel/skylake/
Dskl-pcm.c329 p_params.host_bps = dai->driver->playback.sig_bits; in skl_pcm_hw_params()
582 p_params.link_bps = codec_dai->driver->playback.sig_bits; in skl_link_hw_params()
689 .playback = {
710 .playback = {
748 .playback = {
760 .playback = {
784 .playback = {
800 .playback = {
816 .playback = {
836 .playback = {
[all …]
/sound/soc/xilinx/
Dxlnx_i2s.c212 drv_data->dai_drv.playback.stream_name = "Playback"; in xlnx_i2s_probe()
213 drv_data->dai_drv.playback.formats = format; in xlnx_i2s_probe()
214 drv_data->dai_drv.playback.channels_min = drv_data->channels; in xlnx_i2s_probe()
215 drv_data->dai_drv.playback.channels_max = drv_data->channels; in xlnx_i2s_probe()
216 drv_data->dai_drv.playback.rates = SNDRV_PCM_RATE_8000_192000; in xlnx_i2s_probe()
/sound/soc/sof/amd/
Drembrandt.c31 .playback = {
56 .playback = {
81 .playback = {
/sound/ppc/
Dpmac.c117 return &chip->playback; in snd_pmac_get_stream()
318 return snd_pmac_pcm_prepare(chip, &chip->playback, subs); in snd_pmac_playback_prepare()
325 return snd_pmac_pcm_trigger(chip, &chip->playback, subs, cmd); in snd_pmac_playback_trigger()
331 return snd_pmac_pcm_pointer(chip, &chip->playback, subs); in snd_pmac_playback_pointer()
625 return snd_pmac_pcm_open(chip, &chip->playback, subs); in snd_pmac_playback_open()
640 return snd_pmac_pcm_close(chip, &chip->playback, subs); in snd_pmac_playback_close()
694 chip->playback.cur_formats = chip->formats_ok; in snd_pmac_pcm_new()
696 chip->playback.cur_freqs = chip->freqs_ok; in snd_pmac_pcm_new()
710 out_le32(&chip->playback.dma->control, (RUN|PAUSE|FLUSH|WAKE|DEAD) << 16); in snd_pmac_dbdma_reset()
711 snd_pmac_wait_ack(&chip->playback); in snd_pmac_dbdma_reset()
[all …]
/sound/soc/codecs/
Dhdac_hda.c68 .playback = {
89 .playback = {
110 .playback = {
134 .playback = {
147 .playback = {
160 .playback = {
173 .playback = {
215 maxbps = dai->driver->playback.sig_bits; in hdac_hda_dai_hw_params()
Dadav80x.c370 unsigned int playback = 0x00; in adav80x_set_dai_fmt() local
375 playback |= ADAV80X_PLAYBACK_MODE_MASTER; in adav80x_set_dai_fmt()
386 playback |= ADAV80X_PLAYBACK_MODE_I2S; in adav80x_set_dai_fmt()
390 playback |= ADAV80X_PLAYBACK_MODE_LEFT_J; in adav80x_set_dai_fmt()
394 playback |= ADAV80X_PLAYBACK_MODE_RIGHT_J_24; in adav80x_set_dai_fmt()
411 playback); in adav80x_set_dai_fmt()
766 .playback = {
785 .playback = {

12345678910>>...19