/kernel/linux/linux-5.10/sound/usb/line6/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
D | prism2mib.c | 376 struct p80211pstrd *pstr = data; in prism2mib_bytearea2pstr() local 382 prism2mgmt_bytearea2pstr(bytebuf, pstr, mib->parm2); in prism2mib_bytearea2pstr() 385 memcpy(bytebuf, pstr->data, pstr->len); in prism2mib_bytearea2pstr() 530 struct p80211pstrd *pstr = data; in prism2mib_wepdefaultkey() local 537 len = (pstr->len > 5) ? HFA384x_RID_CNFWEP128DEFAULTKEY_LEN : in prism2mib_wepdefaultkey() 540 memcpy(bytebuf, pstr->data, pstr->len); in prism2mib_wepdefaultkey() 667 struct p80211pstrd *pstr = data; in prism2mib_priv() local 678 pstr->len = le16_to_cpu(wpa.datalen); in prism2mib_priv() 679 memcpy(pstr->data, wpa.data, pstr->len); in prism2mib_priv() 681 wpa.datalen = cpu_to_le16(pstr->len); in prism2mib_priv() [all …]
|
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,
|
D | p80211req.c | 204 struct p80211pstrd *pstr = (struct p80211pstrd *)mibitem->data; in p80211req_mibset_mibget() local 215 key, pstr->len); in p80211req_mibset_mibget()
|
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()
|
/kernel/linux/linux-5.10/sound/core/ |
D | pcm.c | 107 struct snd_pcm_str *pstr; in snd_pcm_control_ioctl() local 127 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl() 128 if (pstr->substream_count == 0) { in snd_pcm_control_ioctl() 132 if (subdevice >= pstr->substream_count) { in snd_pcm_control_ioctl() 136 for (substream = pstr->substream; substream; in snd_pcm_control_ioctl() 489 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_read() local 490 snd_iprintf(buffer, "%d\n", pstr->xrun_debug); in snd_pcm_xrun_debug_read() 496 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_write() local 499 pstr->xrun_debug = simple_strtoul(line, NULL, 10); in snd_pcm_xrun_debug_write() 503 static int snd_pcm_stream_proc_init(struct snd_pcm_str *pstr) in snd_pcm_stream_proc_init() argument [all …]
|
D | rawmidi.c | 602 info->subdevices_count = substream->pstr->substream_count; in snd_rawmidi_info() 603 info->subdevices_avail = (substream->pstr->substream_count - in snd_rawmidi_info() 604 substream->pstr->substream_opened); in snd_rawmidi_info() 626 struct snd_rawmidi_str *pstr; in __snd_rawmidi_info_select() local 635 pstr = &rmidi->streams[info->stream]; in __snd_rawmidi_info_select() 636 if (pstr->substream_count == 0) in __snd_rawmidi_info_select() 638 if (info->subdevice >= pstr->substream_count) in __snd_rawmidi_info_select() 640 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select() 1636 substream->pstr = stream; in snd_rawmidi_alloc_substreams()
|
D | pcm_native.c | 205 struct snd_pcm_str *pstr = substream->pstr; in snd_pcm_info() local 216 info->subdevices_count = pstr->substream_count; in snd_pcm_info() 217 info->subdevices_avail = pstr->substream_count - pstr->substream_opened; in snd_pcm_info()
|
/kernel/linux/linux-5.10/drivers/net/wan/lmc/ |
D | lmc_debug.c | 16 char str[80], *pstr; in lmcConsoleLog() local 19 pstr = str+strlen(str); in lmcConsoleLog() 31 sprintf(pstr, "%02x ", *ucData); in lmcConsoleLog() 32 pstr+=3; in lmcConsoleLog() 36 sprintf(pstr, "\n"); in lmcConsoleLog() 39 pstr=str+strlen(str); in lmcConsoleLog() 44 sprintf(pstr, "\n"); in lmcConsoleLog()
|
/kernel/liteos_a/testsuites/unittest/libc/sys/smoke/ |
D | sys_test_015.cpp | 39 char *pstr = NULL; in TestCase() local 41 pstr = l64a(a); in TestCase() 42 ICUNIT_GOTO_NOT_EQUAL(pstr, NULL, pstr, EXIT); in TestCase() 44 b = a64l(pstr); in TestCase()
|
/kernel/linux/linux-5.10/fs/crypto/ |
D | hooks.c | 310 struct fscrypt_str cstr, pstr; in fscrypt_get_symlink() local 319 pstr.name = READ_ONCE(inode->i_link); in fscrypt_get_symlink() 320 if (pstr.name) in fscrypt_get_symlink() 321 return pstr.name; in fscrypt_get_symlink() 349 err = fscrypt_fname_alloc_buffer(cstr.len, &pstr); in fscrypt_get_symlink() 353 err = fscrypt_fname_disk_to_usr(inode, 0, 0, &cstr, &pstr); in fscrypt_get_symlink() 358 if (pstr.name[0] == '\0') in fscrypt_get_symlink() 361 pstr.name[pstr.len] = '\0'; in fscrypt_get_symlink() 370 cmpxchg_release(&inode->i_link, NULL, pstr.name) != NULL) in fscrypt_get_symlink() 371 set_delayed_call(done, kfree_link, pstr.name); in fscrypt_get_symlink() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
D | hal_btcoex.c | 1516 u8 *pstr; in hal_btcoex_GetDBG() local 1523 pstr = pStrBuf; in hal_btcoex_GetDBG() 1527 count = rtw_sprintf(pstr, leftSize, "#define DBG\t%d\n", DBG); in hal_btcoex_GetDBG() 1530 pstr += count; in hal_btcoex_GetDBG() 1533 count = rtw_sprintf(pstr, leftSize, "BTCOEX Debug Setting:\n"); in hal_btcoex_GetDBG() 1536 pstr += count; in hal_btcoex_GetDBG() 1539 count = rtw_sprintf(pstr, leftSize, in hal_btcoex_GetDBG() 1545 pstr += count; in hal_btcoex_GetDBG() 1548 count = rtw_sprintf(pstr, leftSize, "INTERFACE Debug Setting Definition:\n"); in hal_btcoex_GetDBG() 1551 pstr += count; in hal_btcoex_GetDBG() [all …]
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
D | mpc5200_dma.c | 129 substream->pstr->stream, runtime->frame_bits, in psc_dma_trigger() 144 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger() 162 substream->pstr->stream, s->period_count); in psc_dma_trigger() 167 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger() 177 substream->pstr->stream, cmd); in psc_dma_trigger() 226 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_open() 253 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_close() 278 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_pointer()
|
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()
|
D | mpc5200_dma.h | 80 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in to_psc_dma_stream()
|
/kernel/linux/linux-5.10/sound/core/oss/ |
D | pcm_oss.c | 2019 if (substream->pstr->substream_count > 1) in snd_pcm_oss_get_caps1() 2946 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_read() local 2947 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list; in snd_pcm_oss_proc_read() 2948 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2962 mutex_unlock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2965 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr) in snd_pcm_oss_proc_free_setup_list() argument 2969 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2975 pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2981 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_write() local 2988 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_write() [all …]
|
/kernel/linux/linux-5.10/tools/perf/ |
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()
|
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/ |
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()
|
/kernel/linux/linux-5.10/include/sound/ |
D | rawmidi.h | 87 struct snd_rawmidi_str *pstr; member
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | audio_codec.h | 123 char pstr[NAME_SIZE]; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fw_tracer.c | 413 char *substr, *pstr = str; in mlx5_tracer_get_num_of_params() local 417 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params() 420 pstr = substr; in mlx5_tracer_get_num_of_params() 421 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params()
|
/kernel/linux/linux-5.10/sound/pci/rme9652/ |
D | rme9652.c | 1878 substream->pstr->stream, in snd_rme9652_playback_copy() 1895 substream->pstr->stream, in snd_rme9652_playback_copy_kernel() 1914 substream->pstr->stream, in snd_rme9652_capture_copy() 1931 substream->pstr->stream, in snd_rme9652_capture_copy_kernel() 1947 substream->pstr->stream, in snd_rme9652_hw_silence() 1991 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_rme9652_hw_params()
|
D | hdsp.c | 3901 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy() 3916 channel_buf = hdsp_channel_buffer_location(hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy_kernel() 3933 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy() 3948 channel_buf = hdsp_channel_buffer_location(hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy_kernel() 3962 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_hw_silence() 4011 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdsp_hw_params()
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
D | patch_hdmi.c | 2290 struct hda_pcm_stream *pstr; in generic_hdmi_build_pcms() local 2301 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in generic_hdmi_build_pcms() 2302 pstr->substreams = 1; in generic_hdmi_build_pcms() 2303 pstr->ops = generic_ops; in generic_hdmi_build_pcms() 3087 struct hda_pcm_stream *pstr; in simple_playback_build_pcms() local 3099 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in simple_playback_build_pcms() 3100 *pstr = spec->pcm_playback; in simple_playback_build_pcms() 3101 pstr->nid = per_cvt->cvt_nid; in simple_playback_build_pcms() 3102 if (pstr->channels_max <= 2 && chans && chans <= 16) in simple_playback_build_pcms() 3103 pstr->channels_max = chans; in simple_playback_build_pcms()
|
/kernel/linux/linux-5.10/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 741 struct snd_card *card = substream->pstr->pcm->card; in snd_usx2y_pcm_hw_params()
|