Home
last modified time | relevance | path

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

123

/linux/sound/virtio/
H A 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 …]
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.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/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.
/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 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
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.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/include/sound/
H A Dump.h31 struct snd_rawmidi_substream *substreams[2]; /* opened substreams */ member
/linux/sound/aoa/soundbus/i2sbus/
H A Di2sbus.h68 /* info about currently active substreams */
/linux/sound/firewire/motu/
H A Dmotu-midi.c90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux/sound/firewire/fireface/
H A Dff-midi.c81 list_for_each_entry(substream, &stream->substreams, list) { in set_midi_substream_names()
/linux/sound/firewire/fireworks/
H A Dfireworks_midi.c86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux/sound/firewire/bebob/
H A Dbebob_midi.c86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/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.c90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux/sound/firewire/digi00x/
H A Ddigi00x-midi.c101 list_for_each_entry(subs, &str->substreams, list) { in set_substream_names()
/linux/sound/drivers/
H A Ddummy.c73 MODULE_PARM_DESC(pcm_substreams, "PCM substreams # (1-128) for dummy driver.");
668 int substreams) in snd_card_dummy_pcm() argument
675 substreams, substreams, &pcm); in snd_card_dummy_pcm()
/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.c131 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux/Documentation/devicetree/bindings/sound/
H A Dfsl,imx-asrc.yaml14 three pairs to support three substreams within totally 10 channels.

123