Home
last modified time | relevance | path

Searched refs:substreams (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.12.1/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.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()
Dvirtio_pcm.h75 struct virtio_pcm_substream **substreams; member
Dvirtio_card.h71 struct virtio_pcm_substream *substreams; member
/linux-6.12.1/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.12.1/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.12.1/sound/core/
Drawmidi.c322 list_for_each_entry(substream, &s->substreams, list) { in assign_substream()
673 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select()
1715 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, in snd_rawmidi_proc_info_read()
1742 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, in snd_rawmidi_proc_info_read()
1809 list_add_tail(&substream->list, &stream->substreams); in snd_rawmidi_alloc_substreams()
1832 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams); in snd_rawmidi_init()
1833 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams); in snd_rawmidi_init()
1908 while (!list_empty(&stream->substreams)) { in snd_rawmidi_free_substreams()
1909 substream = list_entry(stream->substreams.next, struct snd_rawmidi_substream, list); in snd_rawmidi_free_substreams()
2057 list_for_each_entry(s, &rmidi->streams[dir].substreams, list) { in snd_rawmidi_dev_disconnect()
[all …]
Dump.c225 if (ump->substreams[dir]) in snd_ump_rawmidi_open()
230 ump->substreams[dir] = substream; in snd_ump_rawmidi_open()
239 ump->substreams[dir] = NULL; in snd_ump_rawmidi_close()
321 substream = ump->substreams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_ump_receive()
341 ump->substreams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_ump_transmit()
1249 list_for_each_entry(s, &rmidi->streams[dir].substreams, list) { in fill_substream_names()
/linux-6.12.1/sound/firewire/fireface/
Dff-midi.c81 list_for_each_entry(substream, &stream->substreams, list) { in set_midi_substream_names()
/linux-6.12.1/sound/firewire/motu/
Dmotu-midi.c90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux-6.12.1/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.12.1/sound/firewire/bebob/
Dbebob_midi.c86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux-6.12.1/sound/firewire/fireworks/
Dfireworks_midi.c86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux-6.12.1/sound/firewire/dice/
Ddice-midi.c90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux-6.12.1/include/sound/
Drawmidi.h113 struct list_head substreams; member
Dump.h31 struct snd_rawmidi_substream *substreams[2]; /* opened substreams */ member
/linux-6.12.1/sound/firewire/digi00x/
Ddigi00x-midi.c101 list_for_each_entry(subs, &str->substreams, list) { in set_substream_names()
/linux-6.12.1/sound/pci/
Dmaestro3.c757 struct m3_dma *substreams; member
1634 struct m3_dma *s = &chip->substreams[i]; in snd_m3_interrupt()
1712 s = &chip->substreams[i]; in snd_m3_substream_open()
2341 if (chip->substreams) { in snd_m3_free()
2344 s = &chip->substreams[i]; in snd_m3_free()
2540 chip->substreams = devm_kcalloc(&pci->dev, chip->num_substreams, in snd_m3_create()
2542 if (!chip->substreams) in snd_m3_create()
2595 struct m3_dma *s = &chip->substreams[i]; in snd_m3_create()
/linux-6.12.1/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.12.1/sound/firewire/oxfw/
Doxfw-midi.c131 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux-6.12.1/sound/drivers/
Dportman2x4.c568 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, in snd_portman_rawmidi_create()
575 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, in snd_portman_rawmidi_create()
Dmtpav.c637 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) { in snd_mtpav_get_RAWMIDI()
642 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams) { in snd_mtpav_get_RAWMIDI()
Ddummy.c669 int substreams) in snd_card_dummy_pcm() argument
676 substreams, substreams, &pcm); in snd_card_dummy_pcm()
/linux-6.12.1/sound/pci/hda/
Dpatch_si3054.c171 .substreams = 1,

12