/sound/usb/line6/ |
D | pcm.c | 148 struct line6_pcm_stream *pstr, int direction, int type) in line6_buffer_acquire() argument 156 if (!test_and_set_bit(type, &pstr->opened) && !pstr->buffer) { in line6_buffer_acquire() 157 pstr->buffer = in line6_buffer_acquire() 161 if (!pstr->buffer) in line6_buffer_acquire() 171 struct line6_pcm_stream *pstr, int type) in line6_buffer_release() argument 173 clear_bit(type, &pstr->opened); in line6_buffer_release() 174 if (!pstr->opened) { in line6_buffer_release() 175 line6_wait_clear_audio_urbs(line6pcm, pstr); in line6_buffer_release() 176 kfree(pstr->buffer); in line6_buffer_release() 177 pstr->buffer = NULL; in line6_buffer_release() [all …]
|
/sound/core/ |
D | pcm.c | 107 struct snd_pcm_str *pstr; in snd_pcm_control_ioctl() local 127 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl() 128 if (pstr->substream_count == 0) { in snd_pcm_control_ioctl() 132 if (subdevice >= pstr->substream_count) { in snd_pcm_control_ioctl() 136 for (substream = pstr->substream; substream; in snd_pcm_control_ioctl() 490 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_read() local 491 snd_iprintf(buffer, "%d\n", pstr->xrun_debug); in snd_pcm_xrun_debug_read() 497 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_write() local 500 pstr->xrun_debug = simple_strtoul(line, NULL, 10); in snd_pcm_xrun_debug_write() 504 static int snd_pcm_stream_proc_init(struct snd_pcm_str *pstr) in snd_pcm_stream_proc_init() argument [all …]
|
D | rawmidi.c | 602 info->subdevices_count = substream->pstr->substream_count; in snd_rawmidi_info() 603 info->subdevices_avail = (substream->pstr->substream_count - in snd_rawmidi_info() 604 substream->pstr->substream_opened); in snd_rawmidi_info() 626 struct snd_rawmidi_str *pstr; in __snd_rawmidi_info_select() local 635 pstr = &rmidi->streams[info->stream]; in __snd_rawmidi_info_select() 636 if (pstr->substream_count == 0) in __snd_rawmidi_info_select() 638 if (info->subdevice >= pstr->substream_count) in __snd_rawmidi_info_select() 640 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select() 1636 substream->pstr = stream; in snd_rawmidi_alloc_substreams()
|
D | pcm_native.c | 205 struct snd_pcm_str *pstr = substream->pstr; in snd_pcm_info() local 216 info->subdevices_count = pstr->substream_count; in snd_pcm_info() 217 info->subdevices_avail = pstr->substream_count - pstr->substream_opened; in snd_pcm_info()
|
D | pcm_lib.c | 131 ((substream)->pstr->xrun_debug & (mask))
|
/sound/soc/fsl/ |
D | mpc5200_dma.c | 132 substream->pstr->stream, runtime->frame_bits, in psc_dma_trigger() 147 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger() 165 substream->pstr->stream, s->period_count); in psc_dma_trigger() 170 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger() 180 substream->pstr->stream, cmd); in psc_dma_trigger() 229 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_open() 256 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_close() 281 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_pointer()
|
D | mpc5200_psc_ac97.c | 155 if (substream->pstr->stream != SNDRV_PCM_STREAM_CAPTURE) in psc_ac97_hw_analog_params() 185 substream->pstr->stream); in psc_ac97_trigger() 194 substream->pstr->stream); in psc_ac97_trigger()
|
D | mpc5200_dma.h | 80 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in to_psc_dma_stream()
|
/sound/core/oss/ |
D | pcm_oss.c | 2019 if (substream->pstr->substream_count > 1) in snd_pcm_oss_get_caps1() 2946 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_read() local 2947 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list; in snd_pcm_oss_proc_read() 2948 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2962 mutex_unlock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2965 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr) in snd_pcm_oss_proc_free_setup_list() argument 2969 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2975 pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2981 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_write() local 2988 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_write() [all …]
|
/sound/pci/hda/ |
D | patch_hdmi.c | 2294 struct hda_pcm_stream *pstr; in generic_hdmi_build_pcms() local 2305 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in generic_hdmi_build_pcms() 2306 pstr->substreams = 1; in generic_hdmi_build_pcms() 2307 pstr->ops = generic_ops; in generic_hdmi_build_pcms() 3091 struct hda_pcm_stream *pstr; in simple_playback_build_pcms() local 3103 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in simple_playback_build_pcms() 3104 *pstr = spec->pcm_playback; in simple_playback_build_pcms() 3105 pstr->nid = per_cvt->cvt_nid; in simple_playback_build_pcms() 3106 if (pstr->channels_max <= 2 && chans && chans <= 16) in simple_playback_build_pcms() 3107 pstr->channels_max = chans; in simple_playback_build_pcms()
|
/sound/pci/rme9652/ |
D | rme9652.c | 1878 substream->pstr->stream, in snd_rme9652_playback_copy() 1895 substream->pstr->stream, in snd_rme9652_playback_copy_kernel() 1914 substream->pstr->stream, in snd_rme9652_capture_copy() 1931 substream->pstr->stream, in snd_rme9652_capture_copy_kernel() 1947 substream->pstr->stream, in snd_rme9652_hw_silence() 1991 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_rme9652_hw_params()
|
D | hdsp.c | 3901 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy() 3916 channel_buf = hdsp_channel_buffer_location(hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy_kernel() 3933 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy() 3948 channel_buf = hdsp_channel_buffer_location(hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy_kernel() 3962 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_hw_silence() 4011 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdsp_hw_params()
|
D | hdspm.c | 5511 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdspm_hw_params()
|
/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 741 struct snd_card *card = substream->pstr->pcm->card; in snd_usx2y_pcm_hw_params()
|
/sound/drivers/ |
D | aloop.c | 190 int device = dpcm->substream->pstr->pcm->device; in get_setup()
|
/sound/pci/korg1212/ |
D | korg1212.c | 1506 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_korg1212_hw_params()
|