Home
last modified time | relevance | path

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

12

/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[v in virtsnd_pcm_build_devs()
[all...]
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()
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.h54 * @substreams: VirtIO PCM substreams.
55 * @nsubstreams: Number of PCM substreams.
71 struct virtio_pcm_substream *substreams; member
/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, lis 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/firewire/fireface/
H A Dff-midi.c81 list_for_each_entry(substream, &stream->substreams, list) { in set_midi_substream_names()
/linux/sound/firewire/motu/
H A Dmotu-midi.c90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/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/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/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/include/sound/
H A Dump.h31 struct snd_rawmidi_substream *substreams[2]; /* opened substreams */ member
/linux/sound/firewire/oxfw/
H A Doxfw-midi.c131 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/linux/sound/pci/
H A 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/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/hda/codecs/hdmi/
H A Dsimplehdmi.c161 .substreams = 1,
H A Dnvhdmi-mcp.c223 .substreams = 1,
/linux/sound/hda/codecs/
H A Dsi3054.c171 .substreams = 1,
/linux/sound/drivers/
H A Dmtpav.c638 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) { in snd_mtpav_get_RAWMIDI()
643 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams) { in snd_mtpav_get_RAWMIDI()
H A Dserial-generic.c282 list_for_each_entry(substream, &stream->substreams, list) { in snd_serial_generic_substreams()
H A Dmts64.c780 /* name substreams */ in snd_mts64_rawmidi_create()
783 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams) { in snd_mts64_rawmidi_create()
790 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) { in snd_mts64_rawmidi_create()
/linux/sound/hda/common/
H A Dcontroller.c721 cpcm->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams, in snd_hda_attach_pcm_stream()
722 cpcm->stream[SNDRV_PCM_STREAM_CAPTURE].substreams, in snd_hda_attach_pcm_stream()
743 if (cpcm->stream[s].substreams) in snd_hda_attach_pcm_stream()

12