Home
last modified time | relevance | path

Searched refs:pstr (Results 1 – 24 of 24) sorted by relevance

/linux/sound/usb/line6/
A Dpcm.c156 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 …]
/linux/sound/core/
A Dpcm.c106 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()
638 pstr->stream = stream; in snd_pcm_new_stream()
639 pstr->pcm = pcm; in snd_pcm_new_stream()
651 dev_set_drvdata(pstr->dev, pstr); in snd_pcm_new_stream()
666 substream->pstr = pstr; in snd_pcm_new_stream()
808 if (pstr->chmap_kctl) { in free_chmap()
840 free_chmap(pstr); in snd_pcm_free_stream()
842 put_device(pstr->dev); in snd_pcm_free_stream()
[all …]
A Drawmidi.c635 info->subdevices_count = substream->pstr->substream_count; in snd_rawmidi_info()
636 info->subdevices_avail = (substream->pstr->substream_count - in snd_rawmidi_info()
637 substream->pstr->substream_opened); in snd_rawmidi_info()
659 struct snd_rawmidi_str *pstr; in __snd_rawmidi_info_select() local
668 pstr = &rmidi->streams[info->stream]; in __snd_rawmidi_info_select()
669 if (pstr->substream_count == 0) in __snd_rawmidi_info_select()
671 if (info->subdevice >= pstr->substream_count) in __snd_rawmidi_info_select()
673 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select()
1807 substream->pstr = stream; in snd_rawmidi_alloc_substreams()
A Dpcm_native.c218 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()
A Dpcm_lib.c157 ((substream)->pstr->xrun_debug & (mask))
/linux/fs/crypto/
A Dhooks.c358 struct fscrypt_str cstr, pstr; in fscrypt_get_symlink() local
367 pstr.name = READ_ONCE(inode->i_link); in fscrypt_get_symlink()
368 if (pstr.name) in fscrypt_get_symlink()
369 return pstr.name; in fscrypt_get_symlink()
397 err = fscrypt_fname_alloc_buffer(cstr.len, &pstr); in fscrypt_get_symlink()
401 err = fscrypt_fname_disk_to_usr(inode, 0, 0, &cstr, &pstr); in fscrypt_get_symlink()
406 if (pstr.name[0] == '\0') in fscrypt_get_symlink()
409 pstr.name[pstr.len] = '\0'; in fscrypt_get_symlink()
419 set_delayed_call(done, kfree_link, pstr.name); in fscrypt_get_symlink()
421 return pstr.name; in fscrypt_get_symlink()
[all …]
/linux/sound/soc/fsl/
A Dmpc5200_dma.c125 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 Dmpc5200_psc_ac97.c154 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 Dmpc5200_dma.h80 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in to_psc_dma_stream()
/linux/sound/soc/google/
A Dchv3-i2s.c158 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()
/linux/sound/core/oss/
A Dpcm_oss.c2952 guard(mutex)(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read()
2972 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list()
2978 pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list()
2991 guard(mutex)(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_write()
3037 if (pstr->oss.setup_list == NULL) in snd_pcm_oss_proc_write()
3038 pstr->oss.setup_list = setup; in snd_pcm_oss_proc_write()
3040 for (setup1 = pstr->oss.setup_list; in snd_pcm_oss_proc_write()
3061 if (pstr->substream_count == 0) in snd_pcm_oss_proc_init()
3069 entry->private_data = pstr; in snd_pcm_oss_proc_init()
3075 pstr->oss.proc_entry = entry; in snd_pcm_oss_proc_init()
[all …]
/linux/tools/perf/
A Dbuiltin-diff.c1063 static int abstime_str_dup(char **pstr) in abstime_str_dup() argument
1073 *pstr = str; in abstime_str_dup()
1077 static int parse_absolute_time(struct data__file *d, char **pstr) in parse_absolute_time() argument
1079 char *p = *pstr; in parse_absolute_time()
1086 p = strchr(*pstr, ':'); in parse_absolute_time()
1088 if (p == *pstr) { in parse_absolute_time()
1101 ret = perf_time__parse_for_ranges(*pstr, d->session, in parse_absolute_time()
1109 *pstr = NULL; in parse_absolute_time()
1111 *pstr = p; in parse_absolute_time()
/linux/drivers/media/pci/solo6x10/
A Dsolo6x10-g723.c78 struct snd_pcm_str *pstr = in solo_g723_isr() local
83 for (ss = pstr->substream; ss != NULL; ss = ss->next) { in solo_g723_isr()
/linux/include/sound/
A Drawmidi.h95 struct snd_rawmidi_str *pstr; member
A Dpcm.h466 struct snd_pcm_str *pstr; member
/linux/drivers/staging/greybus/
A Daudio_codec.h124 char pstr[NAME_SIZE]; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
A Dfw_tracer.c419 char *substr, *pstr = str; in mlx5_tracer_get_num_of_params() local
423 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params()
426 pstr = substr; in mlx5_tracer_get_num_of_params()
427 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params()
/linux/sound/pci/hda/
A Dpatch_hdmi.c2308 struct hda_pcm_stream *pstr; in generic_hdmi_build_pcms() local
2319 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in generic_hdmi_build_pcms()
2320 pstr->substreams = 1; in generic_hdmi_build_pcms()
2321 pstr->ops = generic_ops; in generic_hdmi_build_pcms()
2324 pstr->channels_min = per_cvt->channels_min; in generic_hdmi_build_pcms()
2325 pstr->channels_max = per_cvt->channels_max; in generic_hdmi_build_pcms()
3218 struct hda_pcm_stream *pstr; in simple_playback_build_pcms() local
3230 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in simple_playback_build_pcms()
3231 *pstr = spec->pcm_playback; in simple_playback_build_pcms()
3232 pstr->nid = per_cvt->cvt_nid; in simple_playback_build_pcms()
[all …]
/linux/sound/pci/rme9652/
A Drme9652.c1856 substream->pstr->stream, in snd_rme9652_playback_copy()
1876 substream->pstr->stream, in snd_rme9652_capture_copy()
1893 substream->pstr->stream, in snd_rme9652_hw_silence()
1937 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_rme9652_hw_params()
A Dhdsp.c3974 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 Dhdspm.c5504 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdspm_hw_params()
/linux/sound/usb/usx2y/
A Dusbusx2yaudio.c784 struct snd_card *card = substream->pstr->pcm->card; in snd_usx2y_pcm_hw_params()
/linux/sound/drivers/
A Daloop.c194 int device = dpcm->substream->pstr->pcm->device; in get_setup()
/linux/sound/pci/korg1212/
A Dkorg1212.c1499 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_korg1212_hw_params()

Completed in 847 milliseconds