Home
last modified time | relevance | path

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

123

/openbmc/linux/sound/virtio/
H A Dvirtio_pcm.c335 snd->substreams = devm_kcalloc(&vdev->dev, snd->nsubstreams, in virtsnd_pcm_parse_cfg()
336 sizeof(*snd->substreams), GFP_KERNEL); in virtsnd_pcm_parse_cfg()
337 if (!snd->substreams) in virtsnd_pcm_parse_cfg()
350 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_pcm_parse_cfg()
439 stream->substreams = in virtsnd_pcm_build_devs()
441 sizeof(*stream->substreams), in virtsnd_pcm_build_devs()
443 if (!stream->substreams) in virtsnd_pcm_build_devs()
452 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_pcm_build_devs()
459 vs->substreams[vs->nsubstreams++] = vss; in virtsnd_pcm_build_devs()
472 vs->substreams[kss->number]->substream = kss; in virtsnd_pcm_build_devs()
[all …]
H A Dvirtio_card.c355 for (i = 0; snd->substreams && i < snd->nsubstreams; ++i) { in virtsnd_remove()
356 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_remove()
385 cancel_work_sync(&snd->substreams[i].elapsed_period); in virtsnd_freeze()
H A Dvirtio_card.h58 struct virtio_pcm_substream *substreams; member
H A Dvirtio_pcm.h73 struct virtio_pcm_substream **substreams; member
/openbmc/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()
/openbmc/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.
/openbmc/linux/sound/core/
H A Drawmidi.c335 list_for_each_entry(substream, &s->substreams, list) { in assign_substream()
689 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select()
1778 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, in snd_rawmidi_proc_info_read()
1805 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, in snd_rawmidi_proc_info_read()
1874 list_add_tail(&substream->list, &stream->substreams); in snd_rawmidi_alloc_substreams()
1897 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams); in snd_rawmidi_init()
1898 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams); in snd_rawmidi_init()
1973 while (!list_empty(&stream->substreams)) { in snd_rawmidi_free_substreams()
1974 substream = list_entry(stream->substreams.next, struct snd_rawmidi_substream, list); in snd_rawmidi_free_substreams()
2123 list_for_each_entry(s, &rmidi->streams[dir].substreams, list) { in snd_rawmidi_dev_disconnect()
[all …]
H A Dump.c229 if (ump->substreams[dir]) in snd_ump_rawmidi_open()
234 ump->substreams[dir] = substream; in snd_ump_rawmidi_open()
243 ump->substreams[dir] = NULL; in snd_ump_rawmidi_close()
325 substream = ump->substreams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_ump_receive()
345 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()
/openbmc/linux/sound/firewire/fireface/
H A Dff-midi.c81 list_for_each_entry(substream, &stream->substreams, list) { in set_midi_substream_names()
/openbmc/linux/sound/firewire/motu/
H A Dmotu-midi.c90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/openbmc/linux/sound/soc/codecs/
H A Dhda.c41 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
60 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
/openbmc/linux/sound/firewire/fireworks/
H A Dfireworks_midi.c86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/openbmc/linux/sound/firewire/bebob/
H A Dbebob_midi.c86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/openbmc/linux/sound/firewire/dice/
H A Ddice-midi.c90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/openbmc/linux/include/sound/
H A Drawmidi.h113 struct list_head substreams; member
H A Dump.h30 struct snd_rawmidi_substream *substreams[2]; /* opened substreams */ member
/openbmc/linux/sound/firewire/digi00x/
H A Ddigi00x-midi.c101 list_for_each_entry(subs, &str->substreams, list) { in set_substream_names()
/openbmc/linux/sound/soc/ti/
H A Ddavinci-mcasp.c83 struct snd_pcm_substream *substreams[2]; member
378 substream = mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_tx_irq_handler()
409 substream = mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE]; in davinci_mcasp_rx_irq_handler()
432 if (mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]) in davinci_mcasp_common_irq_handler()
435 if (mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE]) in davinci_mcasp_common_irq_handler()
1499 if (mcasp->substreams[substream->stream]) in davinci_mcasp_startup()
1502 mcasp->substreams[substream->stream] = substream; in davinci_mcasp_startup()
1612 mcasp->substreams[substream->stream] = NULL; in davinci_mcasp_shutdown()
/openbmc/linux/sound/pci/
H A Dmaestro3.c757 struct m3_dma *substreams; member
1636 struct m3_dma *s = &chip->substreams[i]; in snd_m3_interrupt()
1714 s = &chip->substreams[i]; in snd_m3_substream_open()
2343 if (chip->substreams) { in snd_m3_free()
2346 s = &chip->substreams[i]; in snd_m3_free()
2549 chip->substreams = devm_kcalloc(&pci->dev, chip->num_substreams, in snd_m3_create()
2551 if (!chip->substreams) in snd_m3_create()
2604 struct m3_dma *s = &chip->substreams[i]; in snd_m3_create()
/openbmc/linux/sound/firewire/oxfw/
H A Doxfw-midi.c131 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/openbmc/linux/sound/drivers/
H A Dportman2x4.c569 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, in snd_portman_rawmidi_create()
576 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, in snd_portman_rawmidi_create()
H A Dmtpav.c643 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) { in snd_mtpav_get_RAWMIDI()
648 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams) { in snd_mtpav_get_RAWMIDI()
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dfsl,asrc.txt7 three substreams within totally 10 channels.
/openbmc/linux/sound/pci/hda/
H A Dpatch_si3054.c171 .substreams = 1,

123