/linux/sound/virtio/ |
H A D | virtio_pcm.c | 337 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 D | virtio_card.c | 365 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 D | virtio_pcm.h | 69 * @substreams: VirtIO substreams belonging to the stream. 70 * @nsubstreams: Number of substreams. 75 struct virtio_pcm_substream **substreams; member
|
H A D | virtio_card.h | 54 * @substreams: VirtIO PCM substreams. 55 * @nsubstreams: Number of PCM substreams. 71 struct virtio_pcm_substream *substreams; member
|
/linux/Documentation/sound/cards/ |
H A D | serial-u16550.rst | 16 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 D | mixart.rst | 42 substreams performing hardware mixing. This could be changed to a 43 maximum of 24 substreams if wished.
|
/linux/sound/core/ |
H A D | rawmidi.c | 322 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 D | ump.c | 261 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 D | ff-midi.c | 81 list_for_each_entry(substream, &stream->substreams, list) { in set_midi_substream_names()
|
/linux/sound/firewire/motu/ |
H A D | motu-midi.c | 90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
|
/linux/sound/soc/rockchip/ |
H A D | rockchip_sai.c | 51 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 D | fireworks_midi.c | 86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
|
/linux/sound/firewire/bebob/ |
H A D | bebob_midi.c | 86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
|
/linux/sound/soc/codecs/ |
H A D | hda.c | 41 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 D | ump.h | 31 struct snd_rawmidi_substream *substreams[2]; /* opened substreams */ member
|
/linux/sound/firewire/oxfw/ |
H A D | oxfw-midi.c | 131 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
|
/linux/sound/pci/ |
H A D | maestro3.c | 757 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 D | davinci-mcasp.c | 81 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 D | simplehdmi.c | 161 .substreams = 1,
|
H A D | nvhdmi-mcp.c | 223 .substreams = 1,
|
/linux/sound/hda/codecs/ |
H A D | si3054.c | 171 .substreams = 1,
|
/linux/sound/drivers/ |
H A D | mtpav.c | 638 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 D | serial-generic.c | 282 list_for_each_entry(substream, &stream->substreams, list) { in snd_serial_generic_substreams()
|
H A D | mts64.c | 780 /* 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 D | controller.c | 721 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()
|