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

/linux-master/sound/usb/line6/
H A Dpcm.c148 struct line6_pcm_stream *pstr, int direction, int type)
156 if (!test_and_set_bit(type, &pstr->opened) && !pstr->buffer) {
157 pstr->buffer =
161 if (!pstr->buffer)
171 struct line6_pcm_stream *pstr, int type)
173 clear_bit(type, &pstr->opened);
174 if (!pstr->opened) {
175 line6_wait_clear_audio_urbs(line6pcm, pstr);
176 kfree(pstr
147 line6_buffer_acquire(struct snd_line6_pcm *line6pcm, struct line6_pcm_stream *pstr, int direction, int type) argument
170 line6_buffer_release(struct snd_line6_pcm *line6pcm, struct line6_pcm_stream *pstr, int type) argument
186 struct line6_pcm_stream *pstr = get_stream(line6pcm, direction); local
211 struct line6_pcm_stream *pstr = get_stream(line6pcm, direction); local
293 struct line6_pcm_stream *pstr = get_stream(line6pcm, substream->stream); local
303 struct line6_pcm_stream *pstr; local
334 struct line6_pcm_stream *pstr; local
354 struct line6_pcm_stream *pstr = get_stream(line6pcm, substream->stream); local
372 struct line6_pcm_stream *pstr = get_stream(line6pcm, substream->stream); local
589 struct line6_pcm_stream *pstr = get_stream(line6pcm, substream->stream); local
[all...]
/linux-master/fs/crypto/
H A Dhooks.c358 struct fscrypt_str cstr, pstr; local
367 pstr.name = READ_ONCE(inode->i_link);
368 if (pstr.name)
369 return pstr.name;
397 err = fscrypt_fname_alloc_buffer(cstr.len, &pstr);
401 err = fscrypt_fname_disk_to_usr(inode, 0, 0, &cstr, &pstr);
406 if (pstr.name[0] == '\0')
409 pstr.name[pstr.len] = '\0';
418 cmpxchg_release(&inode->i_link, NULL, pstr
[all...]
/linux-master/sound/core/
H A Dpcm.c106 struct snd_pcm_str *pstr; local
123 pstr = &pcm->streams[stream];
124 if (pstr->substream_count == 0)
126 if (subdevice >= pstr->substream_count)
128 for (substream = pstr->substream; substream;
479 struct snd_pcm_str *pstr = entry->private_data; local
480 snd_iprintf(buffer, "%d\n", pstr->xrun_debug);
486 struct snd_pcm_str *pstr = entry->private_data; local
489 pstr->xrun_debug = simple_strtoul(line, NULL, 10);
493 static int snd_pcm_stream_proc_init(struct snd_pcm_str *pstr) argument
522 snd_pcm_stream_proc_done(struct snd_pcm_str *pstr) argument
581 snd_pcm_stream_proc_init(struct snd_pcm_str *pstr) argument
582 snd_pcm_stream_proc_done(struct snd_pcm_str *pstr) argument
595 struct snd_pcm_str *pstr = dev_get_drvdata(dev); local
629 struct snd_pcm_str *pstr = &pcm->streams[stream]; local
803 free_chmap(struct snd_pcm_str *pstr) argument
813 snd_pcm_free_stream(struct snd_pcm_str * pstr) argument
878 struct snd_pcm_str * pstr; local
1008 struct snd_pcm_str *pstr = dev_get_drvdata(dev); local
[all...]
H A Drawmidi.c635 info->subdevices_count = substream->pstr->substream_count;
636 info->subdevices_avail = (substream->pstr->substream_count -
637 substream->pstr->substream_opened);
659 struct snd_rawmidi_str *pstr; local
668 pstr = &rmidi->streams[info->stream];
669 if (pstr->substream_count == 0)
671 if (info->subdevice >= pstr->substream_count)
673 list_for_each_entry(substream, &pstr->substreams, list) {
1808 substream->pstr = stream;
H A Dpcm_native.c218 struct snd_pcm_str *pstr = substream->pstr; local
229 info->subdevices_count = pstr->substream_count;
230 info->subdevices_avail = pstr->substream_count - pstr->substream_opened;
H A Dpcm_lib.c157 ((substream)->pstr->xrun_debug & (mask))
/linux-master/sound/soc/fsl/
H A Dmpc5200_dma.h80 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
H A Dmpc5200_dma.c125 substream->pstr->stream, runtime->frame_bits,
140 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
158 substream->pstr->stream, s->period_count);
163 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
173 substream->pstr->stream, cmd);
222 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
249 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
274 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
H A Dmpc5200_psc_ac97.c154 if (substream->pstr->stream != SNDRV_PCM_STREAM_CAPTURE)
184 substream->pstr->stream);
193 substream->pstr->stream);
/linux-master/sound/soc/google/
H A Dchv3-i2s.c158 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
211 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) {
240 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) {
262 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE)
/linux-master/include/sound/
H A Drawmidi.h95 struct snd_rawmidi_str *pstr; member in struct:snd_rawmidi_substream
H A Dpcm.h461 struct snd_pcm_str *pstr; member in struct:snd_pcm_substream
/linux-master/drivers/media/pci/solo6x10/
H A Dsolo6x10-g723.c78 struct snd_pcm_str *pstr = local
83 for (ss = pstr->substream; ss != NULL; ss = ss->next) {
/linux-master/sound/core/oss/
H A Dpcm_oss.c2021 if (substream->pstr->substream_count > 1)
2950 struct snd_pcm_str *pstr = entry->private_data; local
2951 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list;
2952 guard(mutex)(&pstr->oss.setup_mutex);
2968 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr) argument
2972 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL;
2978 pstr->oss.setup_list = NULL;
2984 struct snd_pcm_str *pstr = entry->private_data; local
2991 guard(mutex)(&pstr
3060 struct snd_pcm_str *pstr = &pcm->streams[stream]; local
3083 struct snd_pcm_str *pstr = &pcm->streams[stream]; local
[all...]
/linux-master/tools/perf/
H A Dbuiltin-diff.c1077 static int abstime_str_dup(char **pstr) argument
1087 *pstr = str;
1091 static int parse_absolute_time(struct data__file *d, char **pstr) argument
1093 char *p = *pstr;
1100 p = strchr(*pstr, ':');
1102 if (p == *pstr) {
1115 ret = perf_time__parse_for_ranges(*pstr, d->session,
1123 *pstr = NULL;
1125 *pstr = p;
/linux-master/drivers/staging/greybus/
H A Daudio_codec.h124 char pstr[NAME_SIZE]; member in struct:gbaudio_module_info
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfw_tracer.c419 char *substr, *pstr = str; local
423 substr = strstr(pstr, VAL_PARM);
426 pstr = substr;
427 substr = strstr(pstr, VAL_PARM);
/linux-master/sound/pci/hda/
H A Dpatch_hdmi.c2306 struct hda_pcm_stream *pstr; local
2317 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK];
2318 pstr->substreams = 1;
2319 pstr->ops = generic_ops;
2322 pstr->channels_min = per_cvt->channels_min;
2323 pstr->channels_max = per_cvt->channels_max;
2328 /* other pstr fields are set in open */
3216 struct hda_pcm_stream *pstr; local
3228 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK];
3229 *pstr
[all...]
/linux-master/sound/pci/rme9652/
H A Drme9652.c1856 substream->pstr->stream,
1876 substream->pstr->stream,
1893 substream->pstr->stream,
1937 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) {
H A Dhdsp.c3972 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel);
3990 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel);
4005 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel);
4054 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) {
H A Dhdspm.c5502 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) {
/linux-master/sound/usb/usx2y/
H A Dusbusx2yaudio.c774 struct snd_card *card = substream->pstr->pcm->card;
/linux-master/sound/drivers/
H A Daloop.c194 int device = dpcm->substream->pstr->pcm->device;
/linux-master/sound/pci/korg1212/
H A Dkorg1212.c1497 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) {

Completed in 602 milliseconds