Home
last modified time | relevance | path

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

12

/sound/virtio/
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 …]
Dvirtio_card.c370 for (i = 0; snd->substreams && i < snd->nsubstreams; ++i) { in virtsnd_remove()
371 struct virtio_pcm_substream *vss = &snd->substreams[i]; in virtsnd_remove()
400 cancel_work_sync(&snd->substreams[i].elapsed_period); in virtsnd_freeze()
Dvirtio_pcm.h73 struct virtio_pcm_substream **substreams; member
Dvirtio_card.h71 struct virtio_pcm_substream *substreams; member
Dvirtio_pcm_ops.c109 struct virtio_pcm_substream *vss = vs->substreams[substream->number]; in virtsnd_pcm_open()
/sound/firewire/tascam/
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()
/sound/core/
Drawmidi.c318 list_for_each_entry(substream, &s->substreams, list) { in assign_substream()
681 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select()
1704 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, in snd_rawmidi_proc_info_read()
1731 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, in snd_rawmidi_proc_info_read()
1800 list_add_tail(&substream->list, &stream->substreams); in snd_rawmidi_alloc_substreams()
1848 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams); in snd_rawmidi_new()
1849 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams); in snd_rawmidi_new()
1888 while (!list_empty(&stream->substreams)) { in snd_rawmidi_free_substreams()
1889 substream = list_entry(stream->substreams.next, struct snd_rawmidi_substream, list); in snd_rawmidi_free_substreams()
2032 list_for_each_entry(s, &rmidi->streams[dir].substreams, list) { in snd_rawmidi_dev_disconnect()
[all …]
/sound/soc/intel/avs/boards/
Dhdaudio.c90 if (!stream->substreams) in avs_create_dapm_routes()
103 if (!stream->substreams) in avs_create_dapm_routes()
/sound/firewire/motu/
Dmotu-midi.c90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/sound/firewire/fireface/
Dff-midi.c81 list_for_each_entry(substream, &stream->substreams, list) { in set_midi_substream_names()
/sound/soc/codecs/
Dhda.c41 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
60 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais()
/sound/firewire/bebob/
Dbebob_midi.c86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/sound/firewire/fireworks/
Dfireworks_midi.c86 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/sound/firewire/dice/
Ddice-midi.c90 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/sound/firewire/digi00x/
Ddigi00x-midi.c101 list_for_each_entry(subs, &str->substreams, list) { in set_substream_names()
/sound/pci/
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()
2350 if (chip->substreams) { in snd_m3_free()
2353 s = &chip->substreams[i]; in snd_m3_free()
2556 chip->substreams = devm_kcalloc(&pci->dev, chip->num_substreams, in snd_m3_create()
2558 if (!chip->substreams) in snd_m3_create()
2611 struct m3_dma *s = &chip->substreams[i]; in snd_m3_create()
/sound/soc/ti/
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()
1495 if (mcasp->substreams[substream->stream]) in davinci_mcasp_startup()
1498 mcasp->substreams[substream->stream] = substream; in davinci_mcasp_startup()
1605 mcasp->substreams[substream->stream] = NULL; in davinci_mcasp_shutdown()
/sound/firewire/oxfw/
Doxfw-midi.c131 list_for_each_entry(subs, &str->substreams, list) { in set_midi_substream_names()
/sound/drivers/
Dportman2x4.c579 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, in snd_portman_rawmidi_create()
586 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, in snd_portman_rawmidi_create()
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()
Ddummy.c677 int substreams) in snd_card_dummy_pcm() argument
684 substreams, substreams, &pcm); in snd_card_dummy_pcm()
Dmts64.c782 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams) { in snd_mts64_rawmidi_create()
789 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) { in snd_mts64_rawmidi_create()
Dserial-generic.c282 list_for_each_entry(substream, &stream->substreams, list) { in snd_serial_generic_substreams()
/sound/pci/hda/
Dpatch_si3054.c171 .substreams = 1,
Dhda_controller.c715 cpcm->stream[SNDRV_PCM_STREAM_PLAYBACK].substreams, in snd_hda_attach_pcm_stream()
716 cpcm->stream[SNDRV_PCM_STREAM_CAPTURE].substreams, in snd_hda_attach_pcm_stream()
737 if (cpcm->stream[s].substreams) in snd_hda_attach_pcm_stream()

12