/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() 492 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_read() local 493 snd_iprintf(buffer, "%d\n", pstr->xrun_debug); in snd_pcm_xrun_debug_read() 499 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_write() local 502 pstr->xrun_debug = simple_strtoul(line, NULL, 10); in snd_pcm_xrun_debug_write() 506 static int snd_pcm_stream_proc_init(struct snd_pcm_str *pstr) in snd_pcm_stream_proc_init() argument [all …]
|
D | rawmidi.c | 643 info->subdevices_count = substream->pstr->substream_count; in snd_rawmidi_info() 644 info->subdevices_avail = (substream->pstr->substream_count - in snd_rawmidi_info() 645 substream->pstr->substream_opened); in snd_rawmidi_info() 667 struct snd_rawmidi_str *pstr; in __snd_rawmidi_info_select() local 676 pstr = &rmidi->streams[info->stream]; in __snd_rawmidi_info_select() 677 if (pstr->substream_count == 0) in __snd_rawmidi_info_select() 679 if (info->subdevice >= pstr->substream_count) in __snd_rawmidi_info_select() 681 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select() 1798 substream->pstr = stream; in snd_rawmidi_alloc_substreams()
|
D | pcm_native.c | 218 struct snd_pcm_str *pstr = substream->pstr; in snd_pcm_info() local 229 info->subdevices_count = pstr->substream_count; in snd_pcm_info() 230 info->subdevices_avail = pstr->substream_count - pstr->substream_opened; in snd_pcm_info()
|
D | pcm_lib.c | 132 ((substream)->pstr->xrun_debug & (mask))
|
/sound/soc/fsl/ |
D | mpc5200_dma.c | 125 substream->pstr->stream, runtime->frame_bits, in psc_dma_trigger() 140 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger() 158 substream->pstr->stream, s->period_count); in psc_dma_trigger() 163 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger() 173 substream->pstr->stream, cmd); in psc_dma_trigger() 222 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_open() 249 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_close() 274 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 | 2035 if (substream->pstr->substream_count > 1) in snd_pcm_oss_get_caps1() 2965 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_read() local 2966 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list; in snd_pcm_oss_proc_read() 2967 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2981 mutex_unlock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2984 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr) in snd_pcm_oss_proc_free_setup_list() argument 2988 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2994 pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 3000 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_write() local 3007 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_write() [all …]
|
/sound/pci/rme9652/ |
D | rme9652.c | 1856 substream->pstr->stream, in snd_rme9652_playback_copy() 1873 substream->pstr->stream, in snd_rme9652_playback_copy_kernel() 1892 substream->pstr->stream, in snd_rme9652_capture_copy() 1909 substream->pstr->stream, in snd_rme9652_capture_copy_kernel() 1925 substream->pstr->stream, in snd_rme9652_hw_silence() 1969 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_rme9652_hw_params()
|
D | hdsp.c | 3972 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy() 3987 channel_buf = hdsp_channel_buffer_location(hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy_kernel() 4004 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy() 4019 channel_buf = hdsp_channel_buffer_location(hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy_kernel() 4033 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_hw_silence() 4082 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdsp_hw_params()
|
D | hdspm.c | 5502 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdspm_hw_params()
|
/sound/pci/hda/ |
D | patch_hdmi.c | 2309 struct hda_pcm_stream *pstr; in generic_hdmi_build_pcms() local 2320 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in generic_hdmi_build_pcms() 2321 pstr->substreams = 1; in generic_hdmi_build_pcms() 2322 pstr->ops = generic_ops; in generic_hdmi_build_pcms() 3222 struct hda_pcm_stream *pstr; in simple_playback_build_pcms() local 3234 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in simple_playback_build_pcms() 3235 *pstr = spec->pcm_playback; in simple_playback_build_pcms() 3236 pstr->nid = per_cvt->cvt_nid; in simple_playback_build_pcms() 3237 if (pstr->channels_max <= 2 && chans && chans <= 16) in simple_playback_build_pcms() 3238 pstr->channels_max = chans; in simple_playback_build_pcms()
|
/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 774 struct snd_card *card = substream->pstr->pcm->card; in snd_usx2y_pcm_hw_params()
|
/sound/drivers/ |
D | aloop.c | 189 int device = dpcm->substream->pstr->pcm->device; in get_setup()
|
/sound/pci/korg1212/ |
D | korg1212.c | 1505 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_korg1212_hw_params()
|