Home
last modified time | relevance | path

Searched full:substreams (Results 1 – 25 of 69) sorted by relevance

123

/linux/sound/virtio/
H A Dvirtio_card.h54 * @substreams: VirtIO PCM substreams.
55 * @nsubstreams: Number of PCM substreams.
71 struct virtio_pcm_substream *substreams; member
H A Dvirtio_pcm.h69 * @substreams: VirtIO substreams belonging to the stream.
70 * @nsubstreams: Number of substreams.
75 struct virtio_pcm_substream **substreams; member
H A Dvirtio_card.c361 for (i = 0; snd->substreams && i < snd->nsubstreams; ++i) { in virtsnd_remove()
362 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_remove()
391 cancel_work_sync(&snd->substreams[i].elapsed_period); in virtsnd_freeze()
/linux/Documentation/sound/cards/
H A Dserial-u16550.rst16 In Roland Soundcanvas mode, multiple ALSA raw MIDI substreams are supported
58 In MS-124W M/B mode, the driver supports 16 ALSA raw MIDI substreams;
89 The Generic driver supports multiple input and output substreams over a single
H A Dmixart.rst42 substreams performing hardware mixing. This could be changed to a
43 maximum of 24 substreams if wished.
H A Dpcmtest.rst20 It supports up to 8 substreams and 4 channels. Also it supports both interleaved and
/linux/sound/core/
H A Dpcm_memory.c25 MODULE_PARM_DESC(maximum_substreams, "Maximum substreams with preallocated DMA memory.");
331 … snd_pcm_lib_preallocate_pages_for_all - pre-allocation for continuous memory type (all substreams)
338 * Do pre-allocation to all substreams of the given pcm for the
388 * snd_pcm_set_managed_buffer_all - set up buffer management for all substreams
389 * for all substreams
396 * Do pre-allocation to all substreams of the given pcm for the specified DMA
H A Drawmidi.c322 list_for_each_entry(substream, &s->substreams, list) { in assign_substream()
676 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select()
1720 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, in snd_rawmidi_proc_info_read()
1747 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, in snd_rawmidi_proc_info_read()
1814 list_add_tail(&substream->list, &stream->substreams); in snd_rawmidi_alloc_substreams()
1837 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams); in snd_rawmidi_init()
1838 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams); in snd_rawmidi_init()
1913 while (!list_empty(&stream->substreams)) { in snd_rawmidi_free_substreams()
1914 substream = list_entry(stream->substreams.next, struct snd_rawmidi_substream, list); in snd_rawmidi_free_substreams()
2062 list_for_each_entry(s, &rmidi->streams[dir].substreams, list) { in snd_rawmidi_dev_disconnect()
[all …]
H A Dpcm_local.h70 /* loop over all PCM substreams */
H A Dump.c261 if (ump->substreams[dir]) in snd_ump_rawmidi_open()
266 ump->substreams[dir] = substream; in snd_ump_rawmidi_open()
275 ump->substreams[dir] = NULL; in snd_ump_rawmidi_close()
357 substream = ump->substreams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_ump_receive()
377 ump->substreams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_ump_transmit()
1320 list_for_each_entry(s, &rmidi->streams[dir].substreams, list) { in update_legacy_substreams()
/linux/sound/firewire/tascam/
H A Dtascam-midi.c101 list_for_each_entry(subs, &stream->substreams, list) { in snd_tscm_create_midi_devices()
117 list_for_each_entry(subs, &stream->substreams, list) { in snd_tscm_create_midi_devices()
/linux/include/sound/
H A Dpcm.h455 struct snd_pcm_group { /* keep linked substreams */
458 struct list_head substreams; member
485 /* -- linked substreams -- */
516 /* -- substreams -- */
688 * snd_pcm_group_for_each_entry - iterate over the linked substreams
692 * Iterate over the all linked substreams to the given @substream.
697 list_for_each_entry(s, &substream->group->substreams, link_list)
951 * When multiple substreams of the same card are linked and the hardware
/linux/sound/soc/rockchip/
H A Drockchip_sai.c51 struct snd_pcm_substream *substreams[SNDRV_PCM_STREAM_LAST + 1]; member
887 if (sai->substreams[stream]) in rockchip_sai_startup()
893 sai->substreams[stream] = substream; in rockchip_sai_startup()
906 sai->substreams[substream->stream] = NULL; in rockchip_sai_shutdown()
1345 substream = sai->substreams[SNDRV_PCM_STREAM_PLAYBACK]; in rockchip_sai_isr()
1357 substream = sai->substreams[SNDRV_PCM_STREAM_CAPTURE]; in rockchip_sai_isr()
/linux/sound/aoa/soundbus/i2sbus/
H A Di2sbus.h68 /* info about currently active substreams */
/linux/sound/firewire/motu/
H A Dmotu-midi.c80 list_for_each_entry(subs, &str->substreams, list) { in midi_playback_trigger()
/linux/sound/firewire/fireface/
H A Dff-midi.c75 list_for_each_entry(substream, &stream->substreams, list) {
/linux/sound/firewire/fireworks/
H A Dfireworks_midi.c79 list_for_each_entry(subs, &str->substreams, list) { in midi_playback_trigger()
/linux/sound/firewire/bebob/
H A Dbebob_midi.c80 list_for_each_entry(subs, &str->substreams, list) {
/linux/sound/soc/ti/
H A Ddavinci-mcasp.c81 struct snd_pcm_substream *substreams[2]; member
376 substream = mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_tx_irq_handler()
407 substream = mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE]; in davinci_mcasp_rx_irq_handler()
430 if (mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]) in davinci_mcasp_common_irq_handler()
433 if (mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE]) in davinci_mcasp_common_irq_handler()
1497 if (mcasp->substreams[substream->stream]) in davinci_mcasp_startup()
1500 mcasp->substreams[substream->stream] = substream; in davinci_mcasp_startup()
1610 mcasp->substreams[substream->stream] = NULL; in davinci_mcasp_shutdown()
/linux/sound/soc/codecs/
H A Dhda.c41 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
61 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
/linux/sound/firewire/dice/
H A Ddice-midi.c80 list_for_each_entry(subs, &str->substreams, list) { in midi_playback_trigger()
/linux/sound/firewire/digi00x/
H A Ddigi00x-midi.c95 list_for_each_entry(subs, &str->substreams, list) { in set_substream_names()
/linux/sound/drivers/
H A Ddummy.c74 MODULE_PARM_DESC(pcm_substreams, "PCM substreams # (1-128) for dummy driver.");
665 int substreams)
672 substreams, substreams, &pcm); in snd_card_dummy_pcm()
669 snd_card_dummy_pcm(struct snd_dummy * dummy,int device,int substreams) snd_card_dummy_pcm() argument
/linux/drivers/media/pci/cobalt/
H A Dcobalt-alsa-pcm.c482 0, /* 0 playback substreams */ in snd_cobalt_pcm_create()
508 1, /* 0 playback substreams */ in snd_cobalt_pcm_create()
/linux/sound/firewire/oxfw/
H A Doxfw-midi.c117 list_for_each_entry(subs, &str->substreams, list) { in midi_playback_trigger()

123