Searched refs:pstr (Results 1 – 12 of 12) sorted by relevance
/sound/core/ |
D | pcm.c | 111 struct snd_pcm_str *pstr; in snd_pcm_control_ioctl() local 130 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl() 131 if (pstr->substream_count == 0) { in snd_pcm_control_ioctl() 135 if (subdevice >= pstr->substream_count) { in snd_pcm_control_ioctl() 139 for (substream = pstr->substream; substream; in snd_pcm_control_ioctl() 452 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_read() local 453 snd_iprintf(buffer, "%d\n", pstr->xrun_debug); in snd_pcm_xrun_debug_read() 459 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_write() local 462 pstr->xrun_debug = simple_strtoul(line, NULL, 10); in snd_pcm_xrun_debug_write() 466 static int snd_pcm_stream_proc_init(struct snd_pcm_str *pstr) in snd_pcm_stream_proc_init() argument [all …]
|
D | rawmidi.c | 551 info->subdevices_count = substream->pstr->substream_count; in snd_rawmidi_info() 552 info->subdevices_avail = (substream->pstr->substream_count - in snd_rawmidi_info() 553 substream->pstr->substream_opened); in snd_rawmidi_info() 572 struct snd_rawmidi_str *pstr; in snd_rawmidi_info_select() local 582 pstr = &rmidi->streams[info->stream]; in snd_rawmidi_info_select() 583 if (pstr->substream_count == 0) in snd_rawmidi_info_select() 585 if (info->subdevice >= pstr->substream_count) in snd_rawmidi_info_select() 587 list_for_each_entry(substream, &pstr->substreams, list) { in snd_rawmidi_info_select() 1400 substream->pstr = stream; in snd_rawmidi_alloc_substreams()
|
D | pcm_lib.c | 132 if (substream->pstr->xrun_debug) { in xrun() 137 if (substream->pstr->xrun_debug > 1) in xrun() 206 if (runtime->periods > 1 && substream->pstr->xrun_debug) { in snd_pcm_update_hw_ptr_interrupt() 208 if (substream->pstr->xrun_debug > 1) in snd_pcm_update_hw_ptr_interrupt() 251 if (runtime->periods > 2 && substream->pstr->xrun_debug) { in snd_pcm_update_hw_ptr() 253 if (substream->pstr->xrun_debug > 1) in snd_pcm_update_hw_ptr()
|
D | pcm_native.c | 96 struct snd_pcm_str *pstr = substream->pstr; in snd_pcm_info() local 107 info->subdevices_count = pstr->substream_count; in snd_pcm_info() 108 info->subdevices_avail = pstr->substream_count - pstr->substream_opened; in snd_pcm_info() 2079 str = substream->pstr; in snd_pcm_open_file()
|
/sound/soc/fsl/ |
D | mpc5200_psc_i2s.c | 286 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_i2s_trigger() 293 substream, cmd, substream->pstr->stream); in psc_i2s_trigger() 307 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) { in psc_i2s_trigger() 317 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_i2s_trigger() 340 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) in psc_i2s_trigger() 350 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) { in psc_i2s_trigger() 528 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_i2s_pcm_open() 547 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_i2s_pcm_close() 564 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_i2s_pcm_pointer()
|
/sound/core/oss/ |
D | pcm_oss.c | 1911 if (substream->pstr->substream_count > 1) in snd_pcm_oss_get_caps1() 2789 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_read() local 2790 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list; in snd_pcm_oss_proc_read() 2791 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2805 mutex_unlock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2808 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr) in snd_pcm_oss_proc_free_setup_list() argument 2812 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2818 pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2824 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_write() local 2830 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_write() [all …]
|
/sound/arm/ |
D | sa11xx-uda1341.c | 527 int stream_id = substream->pstr->stream; in snd_sa11xx_uda1341_trigger() 662 struct audio_stream *s = &chip->s[substream->pstr->stream]; in snd_sa11xx_uda1341_prepare() 679 return audio_get_dma_pos(&chip->s[substream->pstr->stream]); in snd_sa11xx_uda1341_pointer() 734 int stream_id = substream->pstr->stream; in snd_card_sa11xx_uda1341_open() 755 chip->s[substream->pstr->stream].stream = NULL; in snd_card_sa11xx_uda1341_close()
|
/sound/pci/rme9652/ |
D | rme9652.c | 1920 substream->pstr->stream, in snd_rme9652_playback_copy() 1939 substream->pstr->stream, in snd_rme9652_capture_copy() 1955 substream->pstr->stream, in snd_rme9652_hw_silence() 1999 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_rme9652_hw_params()
|
D | hdspm.c | 3528 hdspm_channel_buffer_location(hdspm, substream->pstr->stream, in snd_hdspm_playback_copy() 3548 hdspm_channel_buffer_location(hdspm, substream->pstr->stream, in snd_hdspm_capture_copy() 3563 hdspm_channel_buffer_location(hdspm, substream->pstr->stream, in snd_hdspm_hw_silence() 3611 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdspm_hw_params()
|
D | hdsp.c | 3791 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy() 3808 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy() 3822 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_hw_silence() 3871 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdsp_hw_params()
|
/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 767 struct snd_card *card = substream->pstr->pcm->card; in snd_usX2Y_pcm_hw_params()
|
/sound/pci/korg1212/ |
D | korg1212.c | 1504 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_korg1212_hw_params()
|