| /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[vs->nsubstreams++] = vss; in virtsnd_pcm_build_devs() [all …]
|
| H A D | virtio_card.c | 360 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 D | virtio_pcm.h | 75 struct virtio_pcm_substream **substreams; member
|
| H A D | virtio_card.h | 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.
|
| H A D | pcmtest.rst | 20 It supports up to 8 substreams and 4 channels. Also it supports both interleaved and
|
| /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, list) { 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()
|
| H A D | Kconfig | 40 The device contains 16 substreams corresponding to UMP groups.
|
| /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/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/sound/soc/ti/ |
| H A D | davinci-mcasp.c | 83 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/drivers/ |
| H A D | portman2x4.c | 564 &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 D | dummy.c | 665 int substreams) in snd_card_dummy_pcm() argument 672 substreams, substreams, &pcm); in snd_card_dummy_pcm()
|
| H A D | mts64.c | 766 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams) { in snd_mts64_rawmidi_create() 773 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) { in snd_mts64_rawmidi_create()
|
| H A D | aloop.c | 1360 int device, int substreams) in loopback_pcm_new() argument 1366 substreams, substreams, &pcm); in loopback_pcm_new()
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | simplehdmi.c | 161 .substreams = 1,
|
| H A D | nvhdmi-mcp.c | 222 .substreams = 1,
|
| /linux/sound/hda/codecs/ |
| H A D | si3054.c | 171 .substreams = 1,
|
| H A D | generic.c | 5546 .substreams = 1, 5559 .substreams = 1, 5572 .substreams = 1, 5585 .substreams = 2, /* can be overridden */ 5598 .substreams = 1, 5611 .substreams = 1, 5619 .substreams = 0, 5672 .substreams = 1, 5713 if (spec_str->substreams) in setup_pcm_stream() 5714 str->substreams = spec_str->substreams; in setup_pcm_stream() [all …]
|
| /linux/sound/hda/common/ |
| H A D | controller.c | 712 cpcm->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams, in snd_hda_attach_pcm_stream() 713 cpcm->stream[SNDRV_PCM_STREAM_CAPTURE].substreams, in snd_hda_attach_pcm_stream() 734 if (cpcm->stream[s].substreams) in snd_hda_attach_pcm_stream()
|
| /linux/include/sound/ |
| H A D | pcm.h | 458 struct list_head substreams; member 697 list_for_each_entry(s, &substream->group->substreams, link_list)
|
| /linux/Documentation/sound/designs/ |
| H A D | procfile.rst | 90 substreams, etc.
|
| /linux/Documentation/sound/kernel-api/ |
| H A D | writing-an-alsa-driver.rst | 1116 PCM stream consists of one or more PCM substreams. Some soundcards 1118 playback of 32 stereo substreams. In this case, at each open, a free 1362 The fourth and fifth arguments are the number of substreams for playback 1364 playback or capture substreams are available, pass 0 to the 1620 When the PCM substreams can be synchronized (typically, 1623 need to check the linked-list of PCM substreams in the trigger 3053 substreams, respectively, of this device (a substream is the equivalent 3064 operators for all the substreams of a device:: 3084 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, 3126 Rawmidi trigger callback for output substreams [all …]
|