Home
last modified time | relevance | path

Searched refs:substreams (Results 1 – 25 of 53) 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()
348 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_pcm_parse_cfg()
367 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_pcm_parse_cfg()
450 stream->substreams = in virtsnd_pcm_build_devs()
452 sizeof(*stream->substreams), in virtsnd_pcm_build_devs()
454 if (!stream->substreams) in virtsnd_pcm_build_devs()
463 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_pcm_build_devs()
470 vs->substreams[vs->nsubstreams++] = vss; in virtsnd_pcm_build_devs()
[all …]
H A Dvirtio_card.c360 for (i = 0; snd->substreams && i < snd->nsubstreams; ++i) { in virtsnd_remove()
361 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_remove()
390 cancel_work_sync(&snd->substreams[i].elapsed_period); in virtsnd_freeze()
H A Dvirtio_pcm.h75 struct virtio_pcm_substream **substreams; member
H A Dvirtio_card.h71 struct virtio_pcm_substream *substreams; member
/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/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 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 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/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/firewire/motu/
H A Dmotu-midi.c80 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/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/fireface/
H A Dff-midi.c75 list_for_each_entry(substream, &stream->substreams, list) { in set_midi_substream_names()
/linux/sound/firewire/fireworks/
H A Dfireworks_midi.c79 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux/sound/firewire/bebob/
H A Dbebob_midi.c80 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux/sound/firewire/dice/
H A Ddice-midi.c80 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux/sound/soc/ti/
H A Ddavinci-mcasp.c83 struct snd_pcm_substream *substreams[2];
459 substream = mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_set_dai_fmt()
490 substream = mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE]; in davinci_mcasp_set_dai_fmt()
513 if (mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]) in davinci_mcasp_set_dai_fmt()
516 if (mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE]) in davinci_mcasp_set_dai_fmt()
1735 if (mcasp->substreams[substream->stream])
1738 mcasp->substreams[substream->stream] = substream;
1855 mcasp->substreams[substream->stream] = NULL; in mcasp_reparent_fck()
81 struct snd_pcm_substream *substreams[2]; global() member
/linux/sound/pci/
H A Dmaestro3.c757 struct m3_dma *substreams; member
1630 struct m3_dma *s = &chip->substreams[i]; in snd_m3_interrupt()
1707 s = &chip->substreams[i]; in snd_m3_substream_open()
2333 if (chip->substreams) { in snd_m3_free()
2336 s = &chip->substreams[i]; in snd_m3_free()
2531 chip->substreams = devm_kcalloc(&pci->dev, chip->num_substreams, in snd_m3_create()
2533 if (!chip->substreams) in snd_m3_create()
2586 struct m3_dma *s = &chip->substreams[i]; in snd_m3_create()
/linux/sound/firewire/digi00x/
H A Ddigi00x-midi.c95 list_for_each_entry(subs, &str->substreams, list) { in set_substream_names()
/linux/sound/firewire/oxfw/
H A Doxfw-midi.c117 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux/include/sound/
H A Drawmidi.h114 struct list_head substreams; member
H A Dump.h31 struct snd_rawmidi_substream *substreams[2]; /* opened substreams */ member
/linux/sound/drivers/
H A Dportman2x4.c564 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, in snd_portman_rawmidi_create()
571 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, in snd_portman_rawmidi_create()
H A Dmtpav.c621 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) { in snd_mtpav_get_RAWMIDI()
626 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams) { in snd_mtpav_get_RAWMIDI()
/linux/sound/hda/codecs/hdmi/
H A Dsimplehdmi.c161 .substreams = 1,

123