/sound/virtio/ |
D | virtio_chmap.c | 94 vs = &vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK]; in virtsnd_chmap_parse_cfg() 97 vs = &vpcm->streams[SNDRV_PCM_STREAM_CAPTURE]; in virtsnd_chmap_parse_cfg() 152 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_chmap_build_devs() 153 vs = &vpcm->streams[i]; in virtsnd_chmap_build_devs() 180 vs = &vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK]; in virtsnd_chmap_build_devs() 182 vs = &vpcm->streams[SNDRV_PCM_STREAM_CAPTURE]; in virtsnd_chmap_build_devs() 206 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_chmap_build_devs() 207 vs = &vpcm->streams[i]; in virtsnd_chmap_build_devs()
|
D | virtio_pcm.c | 330 virtio_cread_le(vdev, struct virtio_snd_config, streams, in virtsnd_pcm_parse_cfg() 385 vpcm->streams[vss->direction].nsubstreams++; in virtsnd_pcm_parse_cfg() 410 vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK].nsubstreams; in virtsnd_pcm_build_devs() 412 vpcm->streams[SNDRV_PCM_STREAM_CAPTURE].nsubstreams; in virtsnd_pcm_build_devs() 433 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_pcm_build_devs() 434 struct virtio_pcm_stream *stream = &vpcm->streams[i]; in virtsnd_pcm_build_devs() 458 vs = &vpcm->streams[vss->direction]; in virtsnd_pcm_build_devs() 463 for (i = 0; i < ARRAY_SIZE(vpcm->streams); ++i) { in virtsnd_pcm_build_devs() 464 struct virtio_pcm_stream *vs = &vpcm->streams[i]; in virtsnd_pcm_build_devs() 465 struct snd_pcm_str *ks = &vpcm->pcm->streams[i]; in virtsnd_pcm_build_devs()
|
/sound/isa/ |
D | cmi8330.c | 163 } streams[2]; member 414 substream->private_data = chip->streams[SNDRV_PCM_STREAM_PLAYBACK].private_data; in snd_cmi8330_playback_open() 415 return chip->streams[SNDRV_PCM_STREAM_PLAYBACK].open(substream); in snd_cmi8330_playback_open() 423 substream->private_data = chip->streams[SNDRV_PCM_STREAM_CAPTURE].private_data; in snd_cmi8330_capture_open() 424 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream); in snd_cmi8330_capture_open() 445 chip->streams[CMI_SB_STREAM].ops = *ops; in snd_cmi8330_pcm() 446 chip->streams[CMI_SB_STREAM].open = ops->open; in snd_cmi8330_pcm() 447 chip->streams[CMI_SB_STREAM].ops.open = cmi_open_callbacks[CMI_SB_STREAM]; in snd_cmi8330_pcm() 448 chip->streams[CMI_SB_STREAM].private_data = chip->sb; in snd_cmi8330_pcm() 452 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 | 594 unsigned int streams) in snd_hdac_stream_timecounter_init() argument 603 if ((streams & (1 << s->index))) { in snd_hdac_stream_timecounter_init() 625 unsigned int streams, unsigned int reg) in snd_hdac_stream_sync_trigger() argument 634 val |= streams; in snd_hdac_stream_sync_trigger() 636 val &= ~streams; in snd_hdac_stream_sync_trigger() 651 unsigned int streams) in snd_hdac_stream_sync() argument 660 if (!(streams & (1 << s->index))) in snd_hdac_stream_sync()
|
/sound/pci/nm256/ |
D | nm256.c | 224 struct nm256_stream streams[2]; member 757 s = &chip->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_nm256_playback_update() 772 s = &chip->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_nm256_capture_update() 862 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_PLAYBACK], in snd_nm256_playback_open() 874 snd_nm256_setup_stream(chip, &chip->streams[SNDRV_PCM_STREAM_CAPTURE], in snd_nm256_capture_open() 940 struct nm256_stream *s = &chip->streams[i]; in snd_nm256_pcm() 992 if (chip->streams[SNDRV_PCM_STREAM_PLAYBACK].running) in snd_nm256_intr_check() 994 if (chip->streams[SNDRV_PCM_STREAM_CAPTURE].running) in snd_nm256_intr_check() 1420 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/oss/ |
D | pcm_oss.c | 1119 substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_get_active_substream() 1572 substream = pcm_oss_file->streams[i]; in snd_pcm_oss_reset() 1592 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_post() 1662 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_sync() 1732 substream = pcm_oss_file->streams[SNDRV_PCM_STREAM_CAPTURE]; in snd_pcm_oss_sync() 1754 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_rate() 1796 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_channels() 1895 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_format() 1950 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_subdivide() 1993 struct snd_pcm_substream *substream = pcm_oss_file->streams[idx]; in snd_pcm_oss_set_fragment() [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() 1125 snd_unregister_device(&pcm->streams[cidx].dev); in snd_pcm_dev_disconnect() [all …]
|
D | rawmidi.c | 272 struct snd_rawmidi_str *s = &rmidi->streams[stream]; in assign_substream() 319 rmidi->streams[substream->stream].substream_opened++; in open_substream() 533 rmidi->streams[substream->stream].substream_opened--; in close_substream() 636 pstr = &rmidi->streams[info->stream]; in __snd_rawmidi_info_select() 1641 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams, in snd_rawmidi_proc_info_read() 1668 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams, in snd_rawmidi_proc_info_read() 1784 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams); in snd_rawmidi_new() 1785 INIT_LIST_HEAD(&rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams); in snd_rawmidi_new() 1795 &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT], in snd_rawmidi_new() 1801 &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT], in snd_rawmidi_new() [all …]
|
/sound/soc/ |
D | soc-generic-dmaengine-pcm.c | 251 struct snd_pcm_substream *substream = rtd->pcm->streams[i].substream; in dmaengine_pcm_new() 279 if (rtd->pcm->streams[i].pcm->name[0] == '\0') { in dmaengine_pcm_new() 280 strscpy_pad(rtd->pcm->streams[i].pcm->name, in dmaengine_pcm_new() 281 rtd->pcm->streams[i].pcm->id, in dmaengine_pcm_new() 282 sizeof(rtd->pcm->streams[i].pcm->name)); in dmaengine_pcm_new()
|
D | soc-compress.c | 105 fe->pcm->streams[cstream->direction].substream; in soc_compr_open_fe() 346 fe->pcm->streams[cstream->direction].substream; in soc_compr_set_params_fe() 599 be_pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream->private_data = rtd; in snd_soc_new_compress() 601 be_pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream->private_data = rtd; in snd_soc_new_compress()
|
/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/drivers/ |
D | aloop.c | 100 struct loopback_pcm *streams[2]; member 332 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format() 334 cruntime = cable->streams[SNDRV_PCM_STREAM_CAPTURE]-> in loopback_check_format() 344 snd_pcm_stop(cable->streams[SNDRV_PCM_STREAM_CAPTURE]-> in loopback_check_format() 347 runtime = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]-> in loopback_check_format() 349 setup = get_setup(cable->streams[SNDRV_PCM_STREAM_PLAYBACK]); in loopback_check_format() 350 card = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]->loopback->card; in loopback_check_format() 605 cable->streams[SNDRV_PCM_STREAM_PLAYBACK]; in loopback_jiffies_timer_pos_update() 607 cable->streams[SNDRV_PCM_STREAM_CAPTURE]; in loopback_jiffies_timer_pos_update() 728 dpcm_play = cable->streams[SNDRV_PCM_STREAM_PLAYBACK]; in loopback_snd_timer_period_elapsed() [all …]
|
/sound/firewire/ |
D | amdtp-stream.c | 1387 list_for_each_entry(s, &d->streams, list) { in drop_tx_packets_initially() 1398 list_for_each_entry(s, &d->streams, list) { in drop_tx_packets_initially() 1420 list_for_each_entry(s, &d->streams, list) { in process_ctxs_in_domain() 1433 list_for_each_entry(s, &d->streams, list) { in process_ctxs_in_domain() 1474 list_for_each_entry(rx, &d->streams, list) { in irq_target_callback_skip() 1497 list_for_each_entry(s, &d->streams, list) { in irq_target_callback_skip() 1836 INIT_LIST_HEAD(&d->streams); in amdtp_domain_init() 1867 list_for_each_entry(tmp, &d->streams, list) { in amdtp_domain_add_stream() 1872 list_add(&s->list, &d->streams); in amdtp_domain_add_stream() 1890 list_for_each_entry(rx, &d->streams, list) { in make_association() [all …]
|
D | amdtp-stream.h | 291 struct list_head streams; member 345 list_for_each_entry(s, &d->streams, list) { in amdtp_domain_wait_ready()
|
/sound/soc/bcm/ |
D | bcm63xx-pcm-whistler.c | 362 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) in bcm63xx_soc_pcm_new() 364 pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in bcm63xx_soc_pcm_new() 365 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) in bcm63xx_soc_pcm_new() 367 pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream; in bcm63xx_soc_pcm_new()
|
/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/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/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/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/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()
|
/sound/firewire/oxfw/ |
D | oxfw-midi.c | 174 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_oxfw_create_midi() 185 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_oxfw_create_midi()
|
/sound/pci/mixart/ |
D | mixart_core.c | 449 u32 buffer_id = notify->streams[i].buffer_id; in snd_mixart_threaded_irq() 461 buffer_id, notify->streams[i].sample_pos_low_part); in snd_mixart_threaded_irq() 473 u64 sample_count = ((u64)notify->streams[i].sample_pos_high_part) << 32; in snd_mixart_threaded_irq() 474 sample_count |= notify->streams[i].sample_pos_low_part; in snd_mixart_threaded_irq()
|
/sound/soc/samsung/ |
D | idma.c | 336 substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in idma_free() 352 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in preallocate_idma_buffer() 380 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in idma_new()
|