/sound/isa/ |
D | cmi8330.c | 164 } streams[2]; member 413 substream->private_data = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].private_data; in snd_cmi8330_playback_open() 414 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream); in snd_cmi8330_playback_open() 422 substream->private_data = chip->streams[SNDRV_PCM_STREAM_CAPTURE].private_data; in snd_cmi8330_capture_open() 423 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream); in snd_cmi8330_capture_open() 443 chip->streams[CMI_SB_STREAM].ops = *ops; in snd_cmi8330_pcm() 444 chip->streams[CMI_SB_STREAM].open = ops->open; in snd_cmi8330_pcm() 445 chip->streams[CMI_SB_STREAM].ops.open = cmi_open_callbacks[CMI_SB_STREAM]; in snd_cmi8330_pcm() 446 chip->streams[CMI_SB_STREAM].private_data = chip->sb; in snd_cmi8330_pcm() 450 chip->streams[CMI_AD_STREAM].ops = *ops; in snd_cmi8330_pcm() [all …]
|
/sound/hda/ |
D | hdac_device.c | 804 unsigned int streams = snd_hdac_read_parm(codec, nid, AC_PAR_STREAM); in query_stream_param() local 806 if (!streams || streams == -1) in query_stream_param() 807 streams = snd_hdac_read_parm(codec, codec->afg, AC_PAR_STREAM); in query_stream_param() 808 if (!streams || streams == -1) in query_stream_param() 810 return streams; in query_stream_param() 852 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local 854 streams = query_stream_param(codec, nid); in snd_hdac_query_supported_pcm() 855 if (!streams) in snd_hdac_query_supported_pcm() 859 if (streams & AC_SUPFMT_PCM) { in snd_hdac_query_supported_pcm() 889 if (streams & AC_SUPFMT_FLOAT32) { in snd_hdac_query_supported_pcm() [all …]
|
D | hdac_stream.c | 601 unsigned int streams) in snd_hdac_stream_timecounter_init() argument 610 if ((streams & (1 << s->index))) { in snd_hdac_stream_timecounter_init() 632 unsigned int streams, unsigned int reg) in snd_hdac_stream_sync_trigger() argument 641 val |= streams; in snd_hdac_stream_sync_trigger() 643 val &= ~streams; in snd_hdac_stream_sync_trigger() 658 unsigned int streams) in snd_hdac_stream_sync() argument 667 if (!(streams & (1 << s->index))) in snd_hdac_stream_sync()
|
/sound/soc/fsl/ |
D | imx-pcm-fiq.c | 235 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in imx_pcm_preallocate_dma_buffer() 260 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in imx_pcm_new() 267 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in imx_pcm_new() 290 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in snd_imx_pcm_new() 297 substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in snd_imx_pcm_new() 317 substream = pcm->streams[stream].substream; in imx_pcm_free()
|
D | mpc5200_dma.c | 316 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in psc_dma_new() 318 size, &pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in psc_dma_new() 323 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in psc_dma_new() 325 size, &pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->dma_buffer); in psc_dma_new() 333 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in psc_dma_new() 334 snd_dma_free_pages(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in psc_dma_new() 351 substream = pcm->streams[stream].substream; in psc_dma_free()
|
D | fsl_dma.c | 297 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in fsl_dma_new() 300 &pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in fsl_dma_new() 307 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in fsl_dma_new() 310 &pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->dma_buffer); in fsl_dma_new() 313 snd_dma_free_pages(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in fsl_dma_new() 830 for (i = 0; i < ARRAY_SIZE(pcm->streams); i++) { in fsl_dma_free_dma_buffers() 831 substream = pcm->streams[i].substream; in fsl_dma_free_dma_buffers()
|
/sound/pci/nm256/ |
D | nm256.c | 228 struct nm256_stream streams[2]; member 761 s = &chip->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_nm256_playback_update() 776 s = &chip->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_nm256_capture_update() 866 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK], in snd_nm256_playback_open() 878 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_CAPTURE], in snd_nm256_capture_open() 944 struct nm256_stream *s = &chip->streams[i]; in snd_nm256_pcm() 996 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_intr_check() 998 if (chip->streams[SNDRV_PCM_STREAM_CAPTURE].running) in snd_nm256_intr_check() 1422 struct nm256_stream *s = &chip->streams[i]; in nm256_resume() 1443 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_free() [all …]
|
/sound/core/ |
D | pcm.c | 127 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl() 640 struct snd_pcm_str *pstr = &pcm->streams[stream]; in snd_pcm_new_stream() 872 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK]); in snd_pcm_free() 873 snd_pcm_free_stream(&pcm->streams[SNDRV_PCM_STREAM_CAPTURE]); in snd_pcm_free() 901 pstr = &pcm->streams[stream]; in snd_pcm_attach_substream() 911 for (substream = pcm->streams[opposite].substream; substream; in snd_pcm_attach_substream() 1066 if (pcm->streams[cidx].substream == NULL) in snd_pcm_dev_register() 1079 &pcm->streams[cidx].dev); in snd_pcm_dev_register() 1085 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) in snd_pcm_dev_register() 1107 for (substream = pcm->streams[cidx].substream; substream; substream = substream->next) { in snd_pcm_dev_disconnect() [all …]
|
/sound/core/oss/ |
D | pcm_oss.c | 1118 substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_get_active_substream() 1571 substream = pcm_oss_file->streams[i]; in snd_pcm_oss_reset() 1591 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_post() 1660 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_sync() 1730 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_sync() 1751 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_rate() 1792 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_channels() 1888 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_format() 1942 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_subdivide() 1985 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_fragment() [all …]
|
/sound/arm/ |
D | pxa2xx-pcm-lib.c | 145 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in pxa2xx_pcm_preallocate_dma_buffer() 166 substream = pcm->streams[stream].substream; in pxa2xx_pcm_free_dma_buffers() 196 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in pxa2xx_soc_pcm_new() 203 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in pxa2xx_soc_pcm_new()
|
/sound/soc/bcm/ |
D | bcm63xx-pcm-whistler.c | 367 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in bcm63xx_pcm_preallocate_dma_buffer() 399 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in bcm63xx_soc_pcm_new() 406 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in bcm63xx_soc_pcm_new() 409 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in bcm63xx_soc_pcm_new() 415 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in bcm63xx_soc_pcm_new() 430 substream = pcm->streams[stream].substream; in bcm63xx_pcm_free_dma_buffers()
|
/sound/soc/tegra/ |
D | tegra_pcm.c | 219 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in tegra_pcm_preallocate_dma_buffer() 239 substream = pcm->streams[stream].substream; in tegra_pcm_deallocate_dma_buffer() 266 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in tegra_pcm_dma_allocate() 273 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in tegra_pcm_dma_allocate()
|
/sound/soc/kirkwood/ |
D | kirkwood-dma.c | 250 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in kirkwood_dma_preallocate_dma_buffer() 277 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in kirkwood_dma_new() 284 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in kirkwood_dma_new() 302 substream = pcm->streams[stream].substream; in kirkwood_dma_free_dma_buffers()
|
/sound/soc/intel/atom/sst/ |
D | sst_stream.c | 71 sst_drv_ctx->streams[str_id].status = STREAM_INIT; in sst_alloc_stream_mrfld() 72 sst_drv_ctx->streams[str_id].prev = STREAM_UN_INIT; in sst_alloc_stream_mrfld() 73 sst_drv_ctx->streams[str_id].pipe_id = str_params->device_type; in sst_alloc_stream_mrfld() 74 sst_drv_ctx->streams[str_id].task_id = str_params->task; in sst_alloc_stream_mrfld() 75 sst_drv_ctx->streams[str_id].num_ch = num_ch; in sst_alloc_stream_mrfld()
|
/sound/soc/ |
D | soc-generic-dmaengine-pcm.c | 247 substream = rtd->pcm->streams[i].substream; in dmaengine_pcm_new() 275 if (rtd->pcm->streams[i].pcm->name[0] == '\0') { in dmaengine_pcm_new() 276 strscpy_pad(rtd->pcm->streams[i].pcm->name, in dmaengine_pcm_new() 277 rtd->pcm->streams[i].pcm->id, in dmaengine_pcm_new() 278 sizeof(rtd->pcm->streams[i].pcm->name)); in dmaengine_pcm_new()
|
/sound/drivers/ |
D | aloop.c | 101 struct loopback_pcm *streams[2]; member 333 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format() 335 cruntime = cable->streams[SNDRV_PCM_STREAM_CAPTURE]-> in loopback_check_format() 345 snd_pcm_stop(cable->streams[SNDRV_PCM_STREAM_CAPTURE]-> in loopback_check_format() 348 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format() 350 setup = get_setup(cable->streams[SNDRV_PCM_STREAM_PLAYBACK]); in loopback_check_format() 351 card = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]->loopback->card; in loopback_check_format() 606 cable->streams[SNDRV_PCM_STREAM_PLAYBACK]; in loopback_jiffies_timer_pos_update() 608 cable->streams[SNDRV_PCM_STREAM_CAPTURE]; in loopback_jiffies_timer_pos_update() 729 dpcm_play = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]; in loopback_snd_timer_period_elapsed() [all …]
|
/sound/firewire/tascam/ |
D | tascam-midi.c | 104 stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_tscm_create_midi_devices() 120 stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_tscm_create_midi_devices()
|
/sound/firewire/fireface/ |
D | ff-midi.c | 116 stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_ff_create_midi_devices() 122 stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_ff_create_midi_devices()
|
/sound/firewire/motu/ |
D | motu-midi.c | 127 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_motu_create_midi_devices() 132 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_motu_create_midi_devices()
|
/sound/soc/atmel/ |
D | atmel-pcm-pdc.c | 40 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in atmel_pcm_preallocate_dma_buffer() 79 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in atmel_pcm_new() 87 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in atmel_pcm_new() 106 substream = pcm->streams[stream].substream; in atmel_pcm_free()
|
/sound/firewire/fireworks/ |
D | fireworks_midi.c | 125 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_efw_create_midi_devices() 136 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_efw_create_midi_devices()
|
/sound/firewire/bebob/ |
D | bebob_midi.c | 126 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_bebob_create_midi_devices() 137 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_bebob_create_midi_devices()
|
/sound/firewire/ |
D | amdtp-stream.c | 928 list_for_each_entry(s, &d->streams, list) { in pool_ideal_seq_descs() 980 list_for_each_entry(s, &d->streams, list) { in irq_target_callback() 993 list_for_each_entry(s, &d->streams, list) { in irq_target_callback() 1310 INIT_LIST_HEAD(&d->streams); in amdtp_domain_init() 1343 list_for_each_entry(tmp, &d->streams, list) { in amdtp_domain_add_stream() 1348 list_add(&s->list, &d->streams); in amdtp_domain_add_stream() 1411 list_for_each_entry(s, &d->streams, list) { in amdtp_domain_start() 1471 list_for_each_entry(s, &d->streams, list) { in amdtp_domain_start() 1504 list_for_each_entry(s, &d->streams, list) in amdtp_domain_start() 1523 list_for_each_entry_safe(s, next, &d->streams, list) { in amdtp_domain_stop()
|
/sound/soc/sprd/ |
D | sprd-pcm-dma.c | 463 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in sprd_pcm_new() 475 substream = pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in sprd_pcm_new() 483 snd_dma_free_pages(&pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->dma_buffer); in sprd_pcm_new() 497 for (i = 0; i < ARRAY_SIZE(pcm->streams); i++) { in sprd_pcm_free() 498 substream = pcm->streams[i].substream; in sprd_pcm_free()
|
/sound/firewire/dice/ |
D | dice-midi.c | 141 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_dice_create_midi() 152 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_dice_create_midi()
|