Searched refs:pstr (Results 1 – 18 of 18) sorted by relevance
| /sound/usb/line6/ |
| A D | pcm.c | 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() 174 if (!pstr->opened) { in line6_buffer_release() 176 kfree(pstr->buffer); in line6_buffer_release() 177 pstr->buffer = NULL; in line6_buffer_release() 191 !(pstr->active_urbs || pstr->unlink_urbs)) { in line6_stream_start() 192 pstr->count = 0; in line6_stream_start() 215 if (!pstr->running) { in line6_stream_stop() 313 if (!pstr->running) in line6_pcm_acquire() [all …]
|
| /sound/core/ |
| A D | pcm.c | 106 struct snd_pcm_str *pstr; in snd_pcm_control_ioctl() local 509 pstr->proc_root = entry; in snd_pcm_stream_proc_init() 528 pstr->proc_root = NULL; in snd_pcm_stream_proc_done() 636 pstr->stream = stream; in snd_pcm_new_stream() 637 pstr->pcm = pcm; in snd_pcm_new_stream() 649 dev_set_drvdata(pstr->dev, pstr); in snd_pcm_new_stream() 664 substream->pstr = pstr; in snd_pcm_new_stream() 806 if (pstr->chmap_kctl) { in free_chmap() 838 free_chmap(pstr); in snd_pcm_free_stream() 840 put_device(pstr->dev); in snd_pcm_free_stream() [all …]
|
| A D | rawmidi.c | 637 info->subdevices_count = substream->pstr->substream_count; in snd_rawmidi_info() 638 info->subdevices_avail = (substream->pstr->substream_count - in snd_rawmidi_info() 639 substream->pstr->substream_opened); in snd_rawmidi_info() 662 struct snd_rawmidi_str *pstr; in __snd_rawmidi_info_select() local 671 pstr = &rmidi->streams[info->stream]; in __snd_rawmidi_info_select() 672 if (pstr->substream_count == 0) in __snd_rawmidi_info_select() 674 if (info->subdevice >= pstr->substream_count) in __snd_rawmidi_info_select() 676 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select() 1812 substream->pstr = stream; in snd_rawmidi_alloc_substreams()
|
| A D | pcm_native.c | 219 struct snd_pcm_str *pstr = substream->pstr; in snd_pcm_info() local 230 info->subdevices_count = pstr->substream_count; in snd_pcm_info() 231 info->subdevices_avail = pstr->substream_count - pstr->substream_opened; in snd_pcm_info()
|
| A D | pcm_lib.c | 157 ((substream)->pstr->xrun_debug & (mask))
|
| /sound/hda/codecs/hdmi/ |
| A D | simplehdmi.c | 16 struct hda_pcm_stream *pstr; in snd_hda_hdmi_simple_build_pcms() local 28 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in snd_hda_hdmi_simple_build_pcms() 29 *pstr = spec->pcm_playback; in snd_hda_hdmi_simple_build_pcms() 30 pstr->nid = per_cvt->cvt_nid; in snd_hda_hdmi_simple_build_pcms() 31 if (pstr->channels_max <= 2 && chans && chans <= 16) in snd_hda_hdmi_simple_build_pcms() 32 pstr->channels_max = chans; in snd_hda_hdmi_simple_build_pcms()
|
| A D | hdmi.c | 1902 struct hda_pcm_stream *pstr; in snd_hda_hdmi_generic_build_pcms() local 1913 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in snd_hda_hdmi_generic_build_pcms() 1914 pstr->substreams = 1; in snd_hda_hdmi_generic_build_pcms() 1915 pstr->ops = generic_ops; in snd_hda_hdmi_generic_build_pcms() 1918 pstr->channels_min = per_cvt->channels_min; in snd_hda_hdmi_generic_build_pcms() 1919 pstr->channels_max = per_cvt->channels_max; in snd_hda_hdmi_generic_build_pcms()
|
| /sound/soc/fsl/ |
| A 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()
|
| A D | mpc5200_psc_ac97.c | 154 if (substream->pstr->stream != SNDRV_PCM_STREAM_CAPTURE) in psc_ac97_hw_analog_params() 184 substream->pstr->stream); in psc_ac97_trigger() 193 substream->pstr->stream); in psc_ac97_trigger()
|
| A D | mpc5200_dma.h | 80 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in to_psc_dma_stream()
|
| /sound/soc/google/ |
| A D | chv3-i2s.c | 158 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in chv3_dma_close() 211 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) { in chv3_dma_prepare() 240 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) { in chv3_dma_pointer() 262 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in chv3_dma_ack()
|
| /sound/core/oss/ |
| A D | pcm_oss.c | 2951 guard(mutex)(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2971 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2977 pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2990 guard(mutex)(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_write() 3036 if (pstr->oss.setup_list == NULL) in snd_pcm_oss_proc_write() 3037 pstr->oss.setup_list = setup; in snd_pcm_oss_proc_write() 3039 for (setup1 = pstr->oss.setup_list; in snd_pcm_oss_proc_write() 3060 if (pstr->substream_count == 0) in snd_pcm_oss_proc_init() 3068 entry->private_data = pstr; in snd_pcm_oss_proc_init() 3074 pstr->oss.proc_entry = entry; in snd_pcm_oss_proc_init() [all …]
|
| /sound/pci/rme9652/ |
| A D | rme9652.c | 1855 substream->pstr->stream, in snd_rme9652_playback_copy() 1875 substream->pstr->stream, in snd_rme9652_capture_copy() 1892 substream->pstr->stream, in snd_rme9652_hw_silence() 1936 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_rme9652_hw_params()
|
| A D | hdsp.c | 3974 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy() 3992 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy() 4007 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_hw_silence() 4056 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdsp_hw_params()
|
| A D | hdspm.c | 5501 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdspm_hw_params()
|
| /sound/usb/usx2y/ |
| A D | usbusx2yaudio.c | 757 struct snd_card *card = substream->pstr->pcm->card; in snd_usx2y_pcm_hw_params()
|
| /sound/drivers/ |
| A D | aloop.c | 195 int device = dpcm->substream->pstr->pcm->device; in get_setup()
|
| /sound/pci/korg1212/ |
| A D | korg1212.c | 1465 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_korg1212_hw_params()
|
Completed in 132 milliseconds