/linux-6.3-rc2/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 …]
|
/linux-6.3-rc2/sound/core/ |
A D | pcm.c | 107 struct snd_pcm_str *pstr; in snd_pcm_control_ioctl() local 518 pstr->proc_root = entry; in snd_pcm_stream_proc_init() 524 pstr->proc_root); in snd_pcm_stream_proc_init() 537 pstr->proc_root = NULL; in snd_pcm_stream_proc_done() 647 pstr->stream = stream; in snd_pcm_new_stream() 648 pstr->pcm = pcm; in snd_pcm_new_stream() 672 substream->pstr = pstr; in snd_pcm_new_stream() 814 if (pstr->chmap_kctl) { in free_chmap() 848 free_chmap(pstr); in snd_pcm_free_stream() 850 put_device(&pstr->dev); in snd_pcm_free_stream() [all …]
|
A D | rawmidi.c | 643 info->subdevices_count = substream->pstr->substream_count; in snd_rawmidi_info() 644 info->subdevices_avail = (substream->pstr->substream_count - in snd_rawmidi_info() 645 substream->pstr->substream_opened); in snd_rawmidi_info() 667 struct snd_rawmidi_str *pstr; in __snd_rawmidi_info_select() local 676 pstr = &rmidi->streams[info->stream]; in __snd_rawmidi_info_select() 677 if (pstr->substream_count == 0) in __snd_rawmidi_info_select() 679 if (info->subdevice >= pstr->substream_count) in __snd_rawmidi_info_select() 681 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select() 1796 substream->pstr = stream; in snd_rawmidi_alloc_substreams()
|
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-6.3-rc2/drivers/staging/wlan-ng/ |
A D | prism2mib.c | 376 struct p80211pstrd *pstr = data; in prism2mib_bytearea2pstr() local 385 memcpy(bytebuf, pstr->data, pstr->len); in prism2mib_bytearea2pstr() 530 struct p80211pstrd *pstr = data; in prism2mib_wepdefaultkey() local 540 memcpy(bytebuf, pstr->data, pstr->len); in prism2mib_wepdefaultkey() 667 struct p80211pstrd *pstr = data; in prism2mib_priv() local 682 pstr->len = 0; in prism2mib_priv() 716 struct p80211pstrd *pstr) in prism2mgmt_pstr2bytestr() argument 719 memcpy(bytestr->data, pstr->data, pstr->len); in prism2mgmt_pstr2bytestr() 738 struct p80211pstrd *pstr) in prism2mgmt_bytestr2pstr() argument 741 memcpy(pstr->data, bytestr->data, pstr->len); in prism2mgmt_bytestr2pstr() [all …]
|
A D | prism2mgmt.h | 94 void prism2mgmt_bytearea2pstr(u8 *bytearea, struct p80211pstrd *pstr, int len); 98 struct p80211pstrd *pstr); 100 struct p80211pstrd *pstr); 103 void prism2mgmt_get_grpaddr(u32 did, struct p80211pstrd *pstr, 106 u8 *prism2buf, struct p80211pstrd *pstr,
|
A D | p80211req.c | 204 struct p80211pstrd *pstr = (struct p80211pstrd *)mibitem->data; in p80211req_mibset_mibget() local 215 key, pstr->len); in p80211req_mibset_mibget()
|
A D | prism2mgmt.c | 550 struct p80211pstrd *pstr; in prism2mgmt_start() local 577 pstr = (struct p80211pstrd *)&msg->ssid.data; in prism2mgmt_start() 578 prism2mgmt_pstr2bytestr(p2bytestr, pstr); in prism2mgmt_start() 1052 struct p80211pstrd *pstr; in prism2mgmt_autojoin() local 1078 pstr = (struct p80211pstrd *)&msg->ssid.data; in prism2mgmt_autojoin() 1079 prism2mgmt_pstr2bytestr(p2bytestr, pstr); in prism2mgmt_autojoin()
|
/linux-6.3-rc2/fs/crypto/ |
A D | hooks.c | 313 struct fscrypt_str cstr, pstr; in fscrypt_get_symlink() local 322 pstr.name = READ_ONCE(inode->i_link); in fscrypt_get_symlink() 323 if (pstr.name) in fscrypt_get_symlink() 324 return pstr.name; in fscrypt_get_symlink() 352 err = fscrypt_fname_alloc_buffer(cstr.len, &pstr); in fscrypt_get_symlink() 356 err = fscrypt_fname_disk_to_usr(inode, 0, 0, &cstr, &pstr); in fscrypt_get_symlink() 361 if (pstr.name[0] == '\0') in fscrypt_get_symlink() 364 pstr.name[pstr.len] = '\0'; in fscrypt_get_symlink() 374 set_delayed_call(done, kfree_link, pstr.name); in fscrypt_get_symlink() 376 return pstr.name; in fscrypt_get_symlink() [all …]
|
/linux-6.3-rc2/sound/soc/fsl/ |
A D | mpc5200_dma.c | 122 substream->pstr->stream, runtime->frame_bits, in psc_dma_trigger() 137 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger() 155 substream->pstr->stream, s->period_count); in psc_dma_trigger() 160 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger() 170 substream->pstr->stream, cmd); in psc_dma_trigger() 219 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_open() 246 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_close() 271 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_pointer()
|
A D | mpc5200_psc_ac97.c | 155 if (substream->pstr->stream != SNDRV_PCM_STREAM_CAPTURE) in psc_ac97_hw_analog_params() 185 substream->pstr->stream); in psc_ac97_trigger() 194 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()
|
/linux-6.3-rc2/sound/core/oss/ |
A D | pcm_oss.c | 2967 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2981 mutex_unlock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2988 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2994 pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 3007 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_write() 3055 if (pstr->oss.setup_list == NULL) in snd_pcm_oss_proc_write() 3056 pstr->oss.setup_list = setup; in snd_pcm_oss_proc_write() 3081 if (pstr->substream_count == 0) in snd_pcm_oss_proc_init() 3089 entry->private_data = pstr; in snd_pcm_oss_proc_init() 3095 pstr->oss.proc_entry = entry; in snd_pcm_oss_proc_init() [all …]
|
/linux-6.3-rc2/tools/perf/ |
A D | builtin-diff.c | 1075 static int abstime_str_dup(char **pstr) in abstime_str_dup() argument 1085 *pstr = str; in abstime_str_dup() 1089 static int parse_absolute_time(struct data__file *d, char **pstr) in parse_absolute_time() argument 1091 char *p = *pstr; in parse_absolute_time() 1098 p = strchr(*pstr, ':'); in parse_absolute_time() 1100 if (p == *pstr) { in parse_absolute_time() 1113 ret = perf_time__parse_for_ranges(*pstr, d->session, in parse_absolute_time() 1121 *pstr = NULL; in parse_absolute_time() 1123 *pstr = p; in parse_absolute_time()
|
/linux-6.3-rc2/drivers/media/pci/solo6x10/ |
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-6.3-rc2/include/sound/ |
A D | rawmidi.h | 89 struct snd_rawmidi_str *pstr; member
|
A D | pcm.h | 451 struct snd_pcm_str *pstr; member
|
/linux-6.3-rc2/drivers/staging/greybus/ |
A D | audio_codec.h | 123 char pstr[NAME_SIZE]; member
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
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-6.3-rc2/sound/pci/rme9652/ |
A D | rme9652.c | 1856 substream->pstr->stream, in snd_rme9652_playback_copy() 1873 substream->pstr->stream, in snd_rme9652_playback_copy_kernel() 1892 substream->pstr->stream, in snd_rme9652_capture_copy() 1909 substream->pstr->stream, in snd_rme9652_capture_copy_kernel() 1925 substream->pstr->stream, in snd_rme9652_hw_silence() 1969 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_rme9652_hw_params()
|
A D | hdsp.c | 3972 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy() 3987 channel_buf = hdsp_channel_buffer_location(hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy_kernel() 4004 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy() 4019 channel_buf = hdsp_channel_buffer_location(hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy_kernel() 4033 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_hw_silence() 4082 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdsp_hw_params()
|
/linux-6.3-rc2/sound/pci/hda/ |
A D | patch_hdmi.c | 2295 struct hda_pcm_stream *pstr; in generic_hdmi_build_pcms() local 2306 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in generic_hdmi_build_pcms() 2307 pstr->substreams = 1; in generic_hdmi_build_pcms() 2308 pstr->ops = generic_ops; in generic_hdmi_build_pcms() 3208 struct hda_pcm_stream *pstr; in simple_playback_build_pcms() local 3220 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in simple_playback_build_pcms() 3221 *pstr = spec->pcm_playback; in simple_playback_build_pcms() 3222 pstr->nid = per_cvt->cvt_nid; in simple_playback_build_pcms() 3223 if (pstr->channels_max <= 2 && chans && chans <= 16) in simple_playback_build_pcms() 3224 pstr->channels_max = chans; in simple_playback_build_pcms()
|
/linux-6.3-rc2/sound/usb/usx2y/ |
A D | usbusx2yaudio.c | 774 struct snd_card *card = substream->pstr->pcm->card; in snd_usx2y_pcm_hw_params()
|
/linux-6.3-rc2/sound/drivers/ |
A D | aloop.c | 189 int device = dpcm->substream->pstr->pcm->device; in get_setup()
|
/linux-6.3-rc2/sound/pci/korg1212/ |
A D | korg1212.c | 1505 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_korg1212_hw_params()
|