Home
last modified time | relevance | path

Searched refs:num_streams (Results 1 – 9 of 9) sorted by relevance

/sound/pci/lola/
Dlola.c250 for (i = 0; in_sts && i < chip->pcm[CAPT].num_streams; i++) { in lola_interrupt()
264 for (i = 0; out_sts && i < chip->pcm[PLAY].num_streams; i++) { in lola_interrupt()
341 val = (1 << chip->pcm[PLAY].num_streams) - 1; in lola_irq_enable()
343 val = (1 << chip->pcm[CAPT].num_streams) - 1; in lola_irq_enable()
659 chip->pcm[CAPT].num_streams = (dever >> 0) & 0x3ff; in lola_create()
660 chip->pcm[PLAY].num_streams = (dever >> 10) & 0x3ff; in lola_create()
663 chip->pcm[CAPT].num_streams, chip->pcm[PLAY].num_streams, in lola_create()
667 if (chip->pcm[CAPT].num_streams > MAX_STREAM_IN_COUNT || in lola_create()
668 chip->pcm[PLAY].num_streams > MAX_STREAM_OUT_COUNT || in lola_create()
669 (!chip->pcm[CAPT].num_streams && in lola_create()
[all …]
Dlola_pcm.c239 runtime->hw.channels_max = pcm->num_streams - str->index; in lola_pcm_open()
263 for (i = str->index + 1; i < pcm->num_streams; i++) { in lola_cleanup_slave_streams()
477 if (str->index + runtime->channels > pcm->num_streams) { in lola_pcm_prepare()
579 for (i = 0; bits && i < pcm->num_streams; i++) { in lola_pcm_update()
615 chip->pcm[SNDRV_PCM_STREAM_PLAYBACK].num_streams, in lola_create_pcm()
616 chip->pcm[SNDRV_PCM_STREAM_CAPTURE].num_streams, in lola_create_pcm()
623 if (chip->pcm[i].num_streams) in lola_create_pcm()
703 for (i = 0; i < pcm->num_streams; i++, nid++) { in lola_init_pcm()
Dlola_proc.c126 for (i = 0; i < chip->pcm[CAPT].num_streams; i++, nid++) in lola_proc_codec_read()
128 for (i = 0; i < chip->pcm[PLAY].num_streams; i++, nid++) in lola_proc_codec_read()
Dlola.h318 unsigned int num_streams; member
Dlola_mixer.c140 chip->mixer.src_stream_outs = chip->pcm[PLAY].num_streams; in lola_init_mixer_widget()
144 chip->mixer.dest_stream_ins = chip->pcm[CAPT].num_streams; in lola_init_mixer_widget()
/sound/pci/hda/
Dhda_tegra.c303 for (i = 0; i < chip->num_streams; i++) in hda_tegra_dev_free()
396 chip->num_streams = chip->playback_streams + chip->capture_streams; in hda_tegra_first_init()
397 chip->azx_dev = devm_kcalloc(card->dev, chip->num_streams, in hda_tegra_first_init()
Dhda_controller.c1446 for (i = 0; i < chip->num_streams; i++) { in azx_alloc_stream_pages()
1459 chip->num_streams * 8, &chip->posbuf); in azx_alloc_stream_pages()
1477 for (i = 0; i < chip->num_streams; i++) in azx_free_stream_pages()
1580 for (i = 0; i < chip->num_streams; i++) { in azx_int_disable()
1601 for (i = 0; i < chip->num_streams; i++) { in azx_int_clear()
1693 for (i = 0; i < chip->num_streams; i++) { in azx_interrupt()
1929 for (i = 0; i < chip->num_streams; i++) { in azx_init_stream()
Dhda_intel.c629 for (i = 0; i < chip->num_streams; i++) { in azx_irq_pending_work()
659 for (i = 0; i < chip->num_streams; i++) in azx_clear_irq_pending()
1130 for (i = 0; i < chip->num_streams; i++) in azx_free()
1612 chip->num_streams = chip->playback_streams + chip->capture_streams; in azx_first_init()
1613 chip->azx_dev = kcalloc(chip->num_streams, sizeof(*chip->azx_dev), in azx_first_init()
Dhda_priv.h301 int num_streams; member