Home
last modified time | relevance | path

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

12

/linux/sound/virtio/
H A Dvirtio_pcm.c338 snd->substreams = devm_kcalloc(&vdev->dev, snd->nsubstreams, in virtsnd_pcm_parse_cfg()
339 sizeof(*snd->substreams), GFP_KERNEL); in virtsnd_pcm_parse_cfg()
340 if (!snd->substreams) in virtsnd_pcm_parse_cfg()
349 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_pcm_parse_cfg()
368 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_pcm_parse_cfg()
451 stream->substreams = in virtsnd_pcm_build_devs()
453 sizeof(*stream->substreams), in virtsnd_pcm_build_devs()
455 if (!stream->substreams) in virtsnd_pcm_build_devs()
464 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_pcm_build_devs()
471 vs->substreams[v 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.h74 struct virtio_pcm_substream **substreams; member
H A Dvirtio_card.h71 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.
H A Dpcmtest.rst20 It supports up to 8 substreams and 4 channels. Also it supports both interleaved and
/linux/sound/core/
H A Drawmidi.c322 list_for_each_entry(substream, &s->substreams, list) { in assign_substream()
679 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select()
1723 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, in snd_rawmidi_proc_info_read()
1750 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, in snd_rawmidi_proc_info_read()
1817 list_add_tail(&substream->list, &stream->substreams); in snd_rawmidi_alloc_substreams()
1840 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams); in snd_rawmidi_init()
1841 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams); in snd_rawmidi_init()
1916 while (!list_empty(&stream->substreams)) { in snd_rawmidi_free_substreams()
1917 substream = list_entry(stream->substreams.next, struct snd_rawmidi_substream, list); in snd_rawmidi_free_substreams()
2065 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()
1322 list_for_each_entry(s, &rmidi->streams[dir].substreams, list) { in update_legacy_substreams()
/linux/sound/soc/rockchip/
H A Drockchip_sai.c52 struct snd_pcm_substream *substreams[SNDRV_PCM_STREAM_LAST + 1]; member
892 if (sai->substreams[stream]) in rockchip_sai_startup()
898 sai->substreams[stream] = substream; in rockchip_sai_startup()
911 sai->substreams[substream->stream] = NULL; in rockchip_sai_shutdown()
1350 substream = sai->substreams[SNDRV_PCM_STREAM_PLAYBACK]; in rockchip_sai_isr()
1362 substream = sai->substreams[SNDRV_PCM_STREAM_CAPTURE]; in rockchip_sai_isr()
/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/soc/ti/
H A Ddavinci-mcasp.c92 struct snd_pcm_substream *substreams[2];
480 substream = mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_set_dai_fmt()
511 substream = mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE]; in davinci_mcasp_set_dai_fmt()
534 if (mcasp->substreams[SNDRV_PCM_STREAM_PLAYBACK]) in davinci_mcasp_set_dai_fmt()
537 if (mcasp->substreams[SNDRV_PCM_STREAM_CAPTURE]) in davinci_mcasp_set_dai_fmt()
1776 if (mcasp->substreams[substream->stream])
1779 mcasp->substreams[substream->stream] = substream;
1896 mcasp->substreams[substream->stream] = NULL; in davinci_mcasp_get_config()
81 struct snd_pcm_substream *substreams[2]; global() member
/linux/include/sound/
H A Drawmidi.h114 struct list_head substreams; member
H A Dhda_codec.h141 unsigned int substreams; /* number of substreams, 0 = not exist*/ member
/linux/sound/drivers/
H A Dportman2x4.c561 /* name substreams */ in snd_portman_rawmidi_create()
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 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()
H A Ddummy.c691 int substreams) in snd_card_dummy_pcm() argument
698 substreams, substreams, &pcm); in snd_card_dummy_pcm()
H A Dmts64.c763 /* name substreams */ in snd_mts64_rawmidi_create()
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 Daloop.c1485 int device, int substreams) in loopback_pcm_new() argument
1491 substreams, substreams, &pcm); in loopback_pcm_new()
/linux/sound/hda/codecs/hdmi/
H A Dsimplehdmi.c161 .substreams = 1,
H A Dnvhdmi-mcp.c222 .substreams = 1,
/linux/sound/hda/codecs/
H A Dsi3054.c171 .substreams = 1,
H A Dgeneric.c5529 .substreams = 1,
5542 .substreams = 1,
5555 .substreams = 1,
5568 .substreams = 2, /* can be overridden */
5581 .substreams = 1,
5594 .substreams = 1,
5602 .substreams = 0,
5655 .substreams = 1, in dyn_adc_capture_pcm_prepare()
5696 if (spec_str->substreams) in fill_pcm_stream_name()
5697 str->substreams in fill_pcm_stream_name()
[all...]
/linux/sound/hda/common/
H A Dcontroller.c714 cpcm->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams, in snd_hda_attach_pcm_stream()
715 cpcm->stream[SNDRV_PCM_STREAM_CAPTURE].substreams, in snd_hda_attach_pcm_stream()
736 if (cpcm->stream[s].substreams) in snd_hda_attach_pcm_stream()
/linux/Documentation/sound/designs/
H A Dprocfile.rst90 substreams, etc.

12