Home
last modified time | relevance | path

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

123

/linux-6.14.4/sound/virtio/
Dvirtio_pcm.c337 snd->substreams = devm_kcalloc(&vdev->dev, snd->nsubstreams, in virtsnd_pcm_parse_cfg()
338 sizeof(*snd->substreams), GFP_KERNEL); in virtsnd_pcm_parse_cfg()
339 if (!snd->substreams) in virtsnd_pcm_parse_cfg()
352 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_pcm_parse_cfg()
441 stream->substreams = in virtsnd_pcm_build_devs()
443 sizeof(*stream->substreams), in virtsnd_pcm_build_devs()
445 if (!stream->substreams) in virtsnd_pcm_build_devs()
454 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_pcm_build_devs()
461 vs->substreams[vs->nsubstreams++] = vss; in virtsnd_pcm_build_devs()
474 vs->substreams[kss->number]->substream = kss; in virtsnd_pcm_build_devs()
[all …]
Dvirtio_card.h54 * @substreams: VirtIO PCM substreams.
55 * @nsubstreams: Number of PCM substreams.
71 struct virtio_pcm_substream *substreams; member
Dvirtio_pcm.h69 * @substreams: VirtIO substreams belonging to the stream.
70 * @nsubstreams: Number of substreams.
75 struct virtio_pcm_substream **substreams; member
Dvirtio_card.c365 for (i = 0; snd->substreams && i < snd->nsubstreams; ++i) { in virtsnd_remove()
366 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_remove()
395 cancel_work_sync(&snd->substreams[i].elapsed_period); in virtsnd_freeze()
/linux-6.14.4/Documentation/sound/cards/
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
Dmixart.rst42 substreams performing hardware mixing. This could be changed to a
43 maximum of 24 substreams if wished.
/linux-6.14.4/sound/core/
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
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 …]
Dpcm.c620 * @substream_count: the number of substreams
691 list_add_tail(&substream->link_list, &substream->self_group.substreams); in snd_pcm_new_stream()
758 * @playback_count: the number of substreams for playback
759 * @capture_count: the number of substreams for capture
782 * @playback_count: the number of substreams for playback
783 * @capture_count: the number of substreams for capture
Dpcm_local.h70 /* loop over all PCM substreams */
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-6.14.4/sound/firewire/tascam/
Dtascam-midi.c107 list_for_each_entry(subs, &stream->substreams, list) { in snd_tscm_create_midi_devices()
123 list_for_each_entry(subs, &stream->substreams, list) { in snd_tscm_create_midi_devices()
/linux-6.14.4/include/sound/
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
Dump.h31 struct snd_rawmidi_substream *substreams[2]; /* opened substreams */ member
/linux-6.14.4/sound/aoa/soundbus/i2sbus/
Di2sbus.h68 /* info about currently active substreams */
/linux-6.14.4/sound/firewire/fireface/
Dff-midi.c81 list_for_each_entry(substream, &stream->substreams, list) { in set_midi_substream_names()
/linux-6.14.4/sound/firewire/motu/
Dmotu-midi.c90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux-6.14.4/sound/firewire/fireworks/
Dfireworks_midi.c86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux-6.14.4/sound/firewire/bebob/
Dbebob_midi.c86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux-6.14.4/sound/firewire/dice/
Ddice-midi.c90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux-6.14.4/sound/soc/codecs/
Dhda.c41 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
61 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
/linux-6.14.4/sound/soc/ti/
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-6.14.4/sound/firewire/digi00x/
Ddigi00x-midi.c101 list_for_each_entry(subs, &str->substreams, list) { in set_substream_names()
/linux-6.14.4/sound/firewire/oxfw/
Doxfw-midi.c131 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux-6.14.4/drivers/media/pci/cobalt/
Dcobalt-alsa-pcm.c482 0, /* 0 playback substreams */ in snd_cobalt_pcm_create()
508 1, /* 0 playback substreams */ in snd_cobalt_pcm_create()

123