/linux/sound/usb/line6/ |
H A 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 …]
|
/linux/sound/core/ |
H A D | pcm.c | 106 struct snd_pcm_str *pstr; in snd_pcm_control_ioctl() local 123 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl() 124 if (pstr->substream_count == 0) in snd_pcm_control_ioctl() 126 if (subdevice >= pstr->substream_count) in snd_pcm_control_ioctl() 128 for (substream = pstr->substream; substream; in snd_pcm_control_ioctl() 482 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_read() local 483 snd_iprintf(buffer, "%d\n", pstr->xrun_debug); in snd_pcm_xrun_debug_read() 489 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_write() local 492 pstr->xrun_debug = simple_strtoul(line, NULL, 10); in snd_pcm_xrun_debug_write() 496 static int snd_pcm_stream_proc_init(struct snd_pcm_str *pstr) in snd_pcm_stream_proc_init() argument [all …]
|
H A D | rawmidi.c | 635 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()
|
H A 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()
|
/linux/fs/crypto/ |
H A D | hooks.c | 358 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() 418 cmpxchg_release(&inode->i_link, NULL, pstr.name) != NULL) in fscrypt_get_symlink() 419 set_delayed_call(done, kfree_link, pstr.name); in fscrypt_get_symlink() [all …]
|
/linux/drivers/pmdomain/renesas/ |
H A D | rmobile-sysc.c | 27 #define PSTR 0x80 /* Power Status Register */ macro 59 if (readl(rmobile_pd->base + PSTR) & mask) { in rmobile_pd_power_down() 66 pr_debug("%s: Power off, 0x%08x -> PSTR = 0x%08x\n", genpd->name, mask, in rmobile_pd_power_down() 67 readl(rmobile_pd->base + PSTR)); in rmobile_pd_power_down() 77 if (readl(rmobile_pd->base + PSTR) & mask) in __rmobile_pd_power_up() 86 pr_debug("%s: Power on, 0x%08x -> PSTR = 0x%08x\n", in __rmobile_pd_power_up() 88 readl(rmobile_pd->base + PSTR)); in __rmobile_pd_power_up()
|
/linux/sound/soc/fsl/ |
H 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()
|
H 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()
|
H A D | mpc5200_dma.h | 80 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in to_psc_dma_stream()
|
/linux/sound/soc/google/ |
H 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()
|
/linux/arch/arm/mach-shmobile/ |
H A D | smp-sh73a0.c | 22 #define PSTR 0x40 /* System-CPU Power Status Register */ macro 37 if (((readl(cpg2 + PSTR) >> (4 * lcpu)) & 3) == 3) in sh73a0_boot_secondary()
|
/linux/sound/core/oss/ |
H A D | pcm_oss.c | 2021 if (substream->pstr->substream_count > 1) in snd_pcm_oss_get_caps1() 2950 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_read() local 2951 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list; in snd_pcm_oss_proc_read() 2952 guard(mutex)(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2968 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr) in snd_pcm_oss_proc_free_setup_list() argument 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() 2984 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_write() local 2991 guard(mutex)(&pstr in snd_pcm_oss_proc_write() 3060 struct snd_pcm_str *pstr = &pcm->streams[stream]; snd_pcm_oss_proc_init() local 3083 struct snd_pcm_str *pstr = &pcm->streams[stream]; snd_pcm_oss_proc_done() local [all...] |
/linux/arch/arm/mach-pxa/ |
H A D | pxa25x.c | 66 SAVE(PSTR); in pxa25x_cpu_pm_save() 71 RESTORE(PSTR); in pxa25x_cpu_pm_restore()
|
H A D | pxa27x.c | 108 SAVE(PSTR); in pxa27x_cpu_pm_save() 118 RESTORE(PSTR); in pxa27x_cpu_pm_restore()
|
H A D | pxa2xx-regs.h | 35 #define PSTR __REG(0x40F00038) /* Power Manager Standby Config Register */ macro
|
/linux/tools/perf/ |
H A D | builtin-diff.c | 1063 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/Documentation/devicetree/bindings/power/ |
H A D | renesas,apmu.yaml | 41 CPU cores used by the WUPCR and PSTR registers in the Advanced Power
|
/linux/drivers/media/pci/solo6x10/ |
H A D | solo6x10-g723.c | 78 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/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fw_tracer.c | 419 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/ |
H A D | patch_hdmi.c | 2308 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() 2330 /* other pstr fields are set in open */ 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() [all …]
|
/linux/drivers/staging/greybus/ |
H A D | audio_codec.h | 124 char pstr[NAME_SIZE]; member
|
/linux/include/sound/ |
H A D | rawmidi.h | 95 struct snd_rawmidi_str *pstr; member
|
/linux/sound/pci/rme9652/ |
H A D | rme9652.c | 1856 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()
|
H 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()
|
/linux/sound/usb/usx2y/ |
H A D | usbusx2yaudio.c | 784 struct snd_card *card = substream->pstr->pcm->card; in snd_usx2y_pcm_hw_params()
|