| /kernel/linux/linux-6.6/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/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-6.6/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() 492 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_read() local 493 snd_iprintf(buffer, "%d\n", pstr->xrun_debug); in snd_pcm_xrun_debug_read() 499 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_write() local 502 pstr->xrun_debug = simple_strtoul(line, NULL, 10); in snd_pcm_xrun_debug_write() 506 static int snd_pcm_stream_proc_init(struct snd_pcm_str *pstr) in snd_pcm_stream_proc_init() argument [all …]
|
| /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() 490 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_read() local 491 snd_iprintf(buffer, "%d\n", pstr->xrun_debug); in snd_pcm_xrun_debug_read() 497 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_write() local 500 pstr->xrun_debug = simple_strtoul(line, NULL, 10); in snd_pcm_xrun_debug_write() 504 static int snd_pcm_stream_proc_init(struct snd_pcm_str *pstr) in snd_pcm_stream_proc_init() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
| D | prism2mib.c | 346 * Get/set pstr data to/from a byte area. 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() [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,
|
| /kernel/linux/linux-6.6/drivers/staging/wlan-ng/ |
| D | prism2mib.c | 325 * Get/set pstr data to/from a byte area. 355 struct p80211pstrd *pstr = data; in prism2mib_bytearea2pstr() local 361 prism2mgmt_bytearea2pstr(bytebuf, pstr, mib->parm2); in prism2mib_bytearea2pstr() 364 memcpy(bytebuf, pstr->data, pstr->len); in prism2mib_bytearea2pstr() 509 struct p80211pstrd *pstr = data; in prism2mib_wepdefaultkey() local 516 len = (pstr->len > 5) ? HFA384x_RID_CNFWEP128DEFAULTKEY_LEN : in prism2mib_wepdefaultkey() 519 memcpy(bytebuf, pstr->data, pstr->len); in prism2mib_wepdefaultkey() 646 struct p80211pstrd *pstr = data; in prism2mib_priv() local 661 pstr->len = 0; in prism2mib_priv() 682 * Convert the pstr data in the WLAN message structure into an hfa384x [all …]
|
| D | prism2mgmt.h | 73 void prism2mgmt_bytearea2pstr(u8 *bytearea, struct p80211pstrd *pstr, int len); 77 struct p80211pstrd *pstr); 79 struct p80211pstrd *pstr); 82 void prism2mgmt_get_grpaddr(u32 did, struct p80211pstrd *pstr, 85 u8 *prism2buf, struct p80211pstrd *pstr,
|
| /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/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/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-6.6/fs/crypto/ |
| D | hooks.c | 343 struct fscrypt_str cstr, pstr; in fscrypt_get_symlink() local 352 pstr.name = READ_ONCE(inode->i_link); in fscrypt_get_symlink() 353 if (pstr.name) in fscrypt_get_symlink() 354 return pstr.name; in fscrypt_get_symlink() 382 err = fscrypt_fname_alloc_buffer(cstr.len, &pstr); in fscrypt_get_symlink() 386 err = fscrypt_fname_disk_to_usr(inode, 0, 0, &cstr, &pstr); in fscrypt_get_symlink() 391 if (pstr.name[0] == '\0') in fscrypt_get_symlink() 394 pstr.name[pstr.len] = '\0'; in fscrypt_get_symlink() 403 cmpxchg_release(&inode->i_link, NULL, pstr.name) != NULL) in fscrypt_get_symlink() 404 set_delayed_call(done, kfree_link, pstr.name); in fscrypt_get_symlink() [all …]
|
| /kernel/linux/linux-6.6/drivers/pmdomain/renesas/ |
| 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()
|
| /kernel/linux/linux-5.10/drivers/soc/renesas/ |
| D | rmobile-sysc.c | 29 #define PSTR 0x80 /* Power Status Register */ macro 60 if (__raw_readl(rmobile_pd->base + PSTR) & mask) { in rmobile_pd_power_down() 71 pr_debug("%s: Power off, 0x%08x -> PSTR = 0x%08x\n", genpd->name, mask, in rmobile_pd_power_down() 72 __raw_readl(rmobile_pd->base + PSTR)); in rmobile_pd_power_down() 83 if (__raw_readl(rmobile_pd->base + PSTR) & mask) in __rmobile_pd_power_up() 99 pr_debug("%s: Power on, 0x%08x -> PSTR = 0x%08x\n", in __rmobile_pd_power_up() 101 __raw_readl(rmobile_pd->base + PSTR)); in __rmobile_pd_power_up()
|
| /kernel/linux/linux-6.6/sound/soc/fsl/ |
| 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()
|
| 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()
|
| /kernel/linux/linux-5.10/sound/soc/fsl/ |
| D | mpc5200_dma.c | 132 substream->pstr->stream, runtime->frame_bits, in psc_dma_trigger() 147 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger() 165 substream->pstr->stream, s->period_count); in psc_dma_trigger() 170 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger() 180 substream->pstr->stream, cmd); in psc_dma_trigger() 229 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_open() 256 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_close() 281 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()
|
| /kernel/linux/linux-5.10/arch/arm/mach-shmobile/ |
| D | smp-sh73a0.c | 21 #define PSTR IOMEM(0xe6151040) macro 31 if (((__raw_readl(PSTR) >> (4 * lcpu)) & 3) == 3) in sh73a0_boot_secondary()
|
| /kernel/linux/linux-6.6/arch/arm/mach-shmobile/ |
| 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()
|
| /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-6.6/sound/core/oss/ |
| D | pcm_oss.c | 2034 if (substream->pstr->substream_count > 1) in snd_pcm_oss_get_caps1() 2964 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_read() local 2965 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list; in snd_pcm_oss_proc_read() 2966 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2980 mutex_unlock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2983 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr) in snd_pcm_oss_proc_free_setup_list() argument 2987 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2993 pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2999 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_write() local 3006 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_write() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/google/ |
| 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()
|
| /kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
| D | pxa25x.c | 65 SAVE(PSTR); in pxa25x_cpu_pm_save() 70 RESTORE(PSTR); in pxa25x_cpu_pm_restore()
|