Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v5.4/Documentation/sound/designs/
Dtimestamping.rst43 ascii-art, this could be represented as follows (for the playback
58 The analog time is taken at the last stage of the playback, as close
89 the results will default to the HDAudio wall clock for playback
152 playback: systime: 341121338 nsec, audio time 342000000 nsec, systime delta -878662
153 playback: systime: 426236663 nsec, audio time 427187500 nsec, systime delta -950837
154 playback: systime: 597080580 nsec, audio time 598000000 nsec, systime delta -919420
155 playback: systime: 682059782 nsec, audio time 683020833 nsec, systime delta -961051
156 playback: systime: 852896415 nsec, audio time 853854166 nsec, systime delta -957751
157 playback: systime: 937903344 nsec, audio time 938854166 nsec, systime delta -950822
163 playback: systime: 341053347 nsec, audio time 341062500 nsec, systime delta -9153
[all …]
/Linux-v5.4/sound/pci/emu10k1/
Demufx.c1191 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 …]
/Linux-v5.4/sound/soc/fsl/
Dmpc5200_dma.c39 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 …]
/Linux-v5.4/sound/i2c/
Dcs8427.c41 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 …]
/Linux-v5.4/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 …]
/Linux-v5.4/Documentation/ABI/testing/
Dconfigfs-usb-gadget-uac110 p_chmask - playback channel mask
11 p_srate - playback sampling rate
12 p_ssize - playback sample size (bytes)
14 for both capture and playback
Dconfigfs-usb-gadget-uac210 p_chmask - playback channel mask
11 p_srate - playback sampling rate
12 p_ssize - playback sample size (bytes)
/Linux-v5.4/sound/usb/misc/
Dua101.c122 } 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 …]
/Linux-v5.4/sound/soc/uniphier/
Daio-pxs2.c176 .playback = {
191 .playback = {
213 .playback = {
235 .playback = {
250 .playback = {
266 .playback = {
280 .playback = {
Daio-ld11.c223 .playback = {
262 .playback = {
284 .playback = {
299 .playback = {
314 .playback = {
329 .playback = {
346 .playback = {
364 .playback = {
/Linux-v5.4/sound/soc/sh/rcar/
Dcore.c238 io = &rdai->playback; in rsnd_mod_interrupt()
696 return &rdai->playback; in rsnd_rdai_to_io()
1000 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1004 is_play ? &rdai->playback : &rdai->capture, in rsnd_soc_dai_startup()
1120 struct device_node *playback, in rsnd_parse_connect_common() argument
1134 if (np == playback) in rsnd_parse_connect_common()
1135 rsnd_dai_connect(mod, &rdai->playback, mod->type); in rsnd_parse_connect_common()
1218 ret = rsnd_dai_call(pcm_new, &rdai->playback, rtd); in rsnd_pcm_new()
1226 ret = rsnd_preallocate_pages(rtd, &rdai->playback, in rsnd_pcm_new()
1243 struct device_node *playback, *capture; in __rsnd_dai_probe() local
[all …]
Drsnd.h452 struct device_node *playback,
518 #define rsnd_io_is_play(io) (&rsnd_io_to_rdai(io)->playback == io)
527 struct rsnd_dai_stream playback; member
777 struct device_node *playback,
790 struct device_node *playback,
808 #define rsnd_parse_connect_src(rdai, playback, capture) \ argument
811 playback, capture)
820 #define rsnd_parse_connect_ctu(rdai, playback, capture) \ argument
823 playback, capture)
832 #define rsnd_parse_connect_mix(rdai, playback, capture) \ argument
[all …]
/Linux-v5.4/Documentation/sound/cards/
Dcmipci.rst18 (hw:0,1) is assigned to the second DAC for rear playback.
26 Please note that the CM8x38 DAC doesn't support continuous playback
50 playback should be routed there as default. If not, there is a
56 The "Exchange DAC" switch is used to exchange front and rear playback
63 The recent CM8738 chips support for the 4/6 multi-channel playback
72 formats, the 4/6-ch playback supports only the same condition for all
73 channels. Since the multi-channel playback mode uses both DACs, you
82 For programming the 4/6 channel playback, you need to specify the PCM
83 channels as you like and set the format S16LE. For example, for playback
116 The SPDIF playback and capture are done via the third PCM device
[all …]
/Linux-v5.4/sound/soc/xilinx/
Dxlnx_i2s.c138 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()
/Linux-v5.4/sound/soc/sh/
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()
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 …]
/Linux-v5.4/Documentation/devicetree/bindings/sound/
Dfsl,ssi.txt51 playback and capture to use different sample sizes and
56 - fsl,playback-dma: Phandle to a node for the DMA channel to use for
57 playback of audio. This is typically dictated by SOC
72 Notes on fsl,playback-dma and fsl,capture-dma:
74 On SOCs that have an SSI, specific DMA channels are hard-wired for playback
76 playback and DMA channel 1 for capture. SSI2 must use DMA channel 2 for
77 playback and DMA channel 3 for capture. The developer can choose which
82 "fsl,playback-dma" and "fsl,capture-dma" must be marked as compatible with
Drenesas,rsnd.txt336 - dma-names : SSI case "rx" (=playback), "tx" (=capture)
338 SSIU case "rxu" (=playback), "txu" (=capture)
342 - dma-names : "rx" (=playback), "tx" (=capture)
346 - dma-names : "rx" (=playback), "tx" (=capture)
350 - dma-names : "tx" (=playback/capture)
353 - playback : list of playback modules
526 playback = <&ssi5 &src5>;
530 playback = <&ssi3>;
536 playback = <&ssi7>;
575 playback = <&ssi0 &src2 &dvc0>;
[all …]
Dxlnx,i2s.txt3 The IP supports I2S based playback/capture audio
6 - compatible: "xlnx,i2s-transmitter-1.0" for playback and
9 Required property common to both I2S playback and capture:
Drockchip-i2s.txt29 - rockchip,playback-channels: max playback channels, if not set, 8 channels default.
33 playback/capture:
47 rockchip,playback-channels = <8>;
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-pcm.c335 p_params.host_bps = dai->driver->playback.sig_bits; in skl_pcm_hw_params()
594 p_params.link_bps = codec_dai->driver->playback.sig_bits; in skl_link_hw_params()
701 .playback = {
722 .playback = {
760 .playback = {
772 .playback = {
796 .playback = {
812 .playback = {
828 .playback = {
848 .playback = {
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-decoder-cmd.rst108 - Playback speed and direction. The playback speed is defined as
109 ``speed``/1000 of the normal speed. So 1000 is normal playback.
110 Negative numbers denote reverse playback, so -1000 does reverse
111 playback at normal speed. Speeds -1, 0 and 1 have special
112 meanings: speed 0 is shorthand for 1000 (normal playback). A speed
123 usually the case for reverse playback: the decoder needs full
125 reverse playback the application must feed the decoder the last
137 - Stop playback at this ``pts`` or immediately if the playback is
166 this command will just change the playback speed. That means that
/Linux-v5.4/sound/ppc/
Dpmac.c135 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 …]
/Linux-v5.4/drivers/usb/gadget/function/
Du_uac1_legacy.c154 struct gaudio_snd_dev *snd = &card->playback; in u_audio_playback()
184 return card->playback.channels; in u_audio_get_playback_channels()
189 return card->playback.rate; in u_audio_get_playback_rate()
222 snd = &card->playback; in gaudio_open_snd_dev()
266 snd = &gau->playback; in gaudio_close_snd_dev()
/Linux-v5.4/Documentation/sound/soc/
Dcodec-to-codec.rst92 In dapm core a route is created between cpu_dai playback widget
93 and codec_dai capture widget for playback path and vice-versa is
96 a sink or source widget corresponding to playback and capture path
103 Make sure to name your corresponding cpu and codec playback and capture

12345678910>>...20