/linux-4.4.14/sound/usb/line6/ |
D | pcm.c | 153 struct line6_pcm_stream *pstr, 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 = kmalloc(LINE6_ISO_BUFFERS * LINE6_ISO_PACKETS * in line6_buffer_acquire() 159 if (!pstr->buffer) in line6_buffer_acquire() 169 struct line6_pcm_stream *pstr, int type) in line6_buffer_release() argument 172 clear_bit(type, &pstr->opened); in line6_buffer_release() 173 if (!pstr->opened) { in line6_buffer_release() 174 line6_wait_clear_audio_urbs(line6pcm, pstr); in line6_buffer_release() 175 kfree(pstr->buffer); in line6_buffer_release() 176 pstr->buffer = NULL; in line6_buffer_release() [all …]
|
/linux-4.4.14/drivers/staging/wlan-ng/ |
D | prism2mib.c | 382 p80211pstrd_t *pstr = (p80211pstrd_t *) data; in prism2mib_bytearea2pstr() local 388 prism2mgmt_bytearea2pstr(bytebuf, pstr, mib->parm2); in prism2mib_bytearea2pstr() 391 prism2mgmt_pstr2bytearea(bytebuf, pstr); in prism2mib_bytearea2pstr() 536 p80211pstrd_t *pstr = (p80211pstrd_t *) data; in prism2mib_wepdefaultkey() local 543 len = (pstr->len > 5) ? HFA384x_RID_CNFWEP128DEFAULTKEY_LEN : in prism2mib_wepdefaultkey() 546 prism2mgmt_pstr2bytearea(bytebuf, pstr); in prism2mib_wepdefaultkey() 711 p80211pstrd_t *pstr = (p80211pstrd_t *) data; in prism2mib_priv() local 722 pstr->len = le16_to_cpu(wpa.datalen); in prism2mib_priv() 723 memcpy(pstr->data, wpa.data, pstr->len); in prism2mib_priv() 725 wpa.datalen = cpu_to_le16(pstr->len); in prism2mib_priv() [all …]
|
D | prism2mgmt.h | 91 void prism2mgmt_pstr2bytearea(u8 *bytearea, p80211pstrd_t *pstr); 92 void prism2mgmt_bytearea2pstr(u8 *bytearea, p80211pstrd_t *pstr, int len); 96 p80211pstrd_t *pstr); 98 p80211pstrd_t *pstr); 101 void prism2mgmt_get_grpaddr(u32 did, p80211pstrd_t *pstr, hfa384x_t *priv); 103 u8 *prism2buf, p80211pstrd_t *pstr,
|
D | p80211req.c | 184 p80211pstrd_t *pstr = (p80211pstrd_t *) mibitem->data; in p80211req_mibset_mibget() local 190 wep_change_key(wlandev, 0, key, pstr->len); in p80211req_mibset_mibget() 195 wep_change_key(wlandev, 1, key, pstr->len); in p80211req_mibset_mibget() 200 wep_change_key(wlandev, 2, key, pstr->len); in p80211req_mibset_mibget() 205 wep_change_key(wlandev, 3, key, pstr->len); in p80211req_mibset_mibget()
|
D | prism2mgmt.c | 534 p80211pstrd_t *pstr; in prism2mgmt_start() local 561 pstr = (p80211pstrd_t *) &(msg->ssid.data); in prism2mgmt_start() 562 prism2mgmt_pstr2bytestr(p2bytestr, pstr); in prism2mgmt_start() 1031 p80211pstrd_t *pstr; in prism2mgmt_autojoin() local 1057 pstr = (p80211pstrd_t *) &(msg->ssid.data); in prism2mgmt_autojoin() 1058 prism2mgmt_pstr2bytestr(p2bytestr, pstr); in prism2mgmt_autojoin()
|
/linux-4.4.14/sound/core/ |
D | pcm.c | 116 struct snd_pcm_str *pstr; in snd_pcm_control_ioctl() local 135 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl() 136 if (pstr->substream_count == 0) { in snd_pcm_control_ioctl() 140 if (subdevice >= pstr->substream_count) { in snd_pcm_control_ioctl() 144 for (substream = pstr->substream; substream; in snd_pcm_control_ioctl() 500 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_read() local 501 snd_iprintf(buffer, "%d\n", pstr->xrun_debug); in snd_pcm_xrun_debug_read() 507 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_write() local 510 pstr->xrun_debug = simple_strtoul(line, NULL, 10); in snd_pcm_xrun_debug_write() 514 static int snd_pcm_stream_proc_init(struct snd_pcm_str *pstr) in snd_pcm_stream_proc_init() argument [all …]
|
D | rawmidi.c | 564 info->subdevices_count = substream->pstr->substream_count; in snd_rawmidi_info() 565 info->subdevices_avail = (substream->pstr->substream_count - in snd_rawmidi_info() 566 substream->pstr->substream_opened); in snd_rawmidi_info() 585 struct snd_rawmidi_str *pstr; in snd_rawmidi_info_select() local 595 pstr = &rmidi->streams[info->stream]; in snd_rawmidi_info_select() 596 if (pstr->substream_count == 0) in snd_rawmidi_info_select() 598 if (info->subdevice >= pstr->substream_count) in snd_rawmidi_info_select() 600 list_for_each_entry(substream, &pstr->substreams, list) { in snd_rawmidi_info_select() 1493 substream->pstr = stream; in snd_rawmidi_alloc_substreams()
|
D | pcm_native.c | 201 struct snd_pcm_str *pstr = substream->pstr; in snd_pcm_info() local 212 info->subdevices_count = pstr->substream_count; in snd_pcm_info() 213 info->subdevices_avail = pstr->substream_count - pstr->substream_opened; in snd_pcm_info()
|
D | pcm_lib.c | 162 ((substream)->pstr->xrun_debug & (mask))
|
/linux-4.4.14/drivers/net/wan/lmc/ |
D | lmc_debug.c | 15 char str[80], *pstr; in lmcConsoleLog() local 18 pstr = str+strlen(str); in lmcConsoleLog() 30 sprintf(pstr, "%02x ", *ucData); in lmcConsoleLog() 31 pstr+=3; in lmcConsoleLog() 35 sprintf(pstr, "\n"); in lmcConsoleLog() 38 pstr=str+strlen(str); in lmcConsoleLog() 43 sprintf(pstr, "\n"); in lmcConsoleLog()
|
/linux-4.4.14/fs/ext4/ |
D | symlink.c | 30 struct ext4_str cstr, pstr; in ext4_encrypted_follow_link() local 70 pstr.name = paddr; in ext4_encrypted_follow_link() 71 pstr.len = plen; in ext4_encrypted_follow_link() 72 res = _ext4_fname_disk_to_usr(inode, NULL, &cstr, &pstr); in ext4_encrypted_follow_link()
|
/linux-4.4.14/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() 221 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_open() 247 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()
|
D | mpc5200_psc_ac97.c | 159 if (substream->pstr->stream != SNDRV_PCM_STREAM_CAPTURE) in psc_ac97_hw_analog_params() 189 substream->pstr->stream); in psc_ac97_trigger() 198 substream->pstr->stream); in psc_ac97_trigger()
|
D | mpc5200_dma.h | 79 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in to_psc_dma_stream()
|
/linux-4.4.14/sound/core/oss/ |
D | pcm_oss.c | 1940 if (substream->pstr->substream_count > 1) in snd_pcm_oss_get_caps1() 2847 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_read() local 2848 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list; in snd_pcm_oss_proc_read() 2849 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2863 mutex_unlock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read() 2866 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr) in snd_pcm_oss_proc_free_setup_list() argument 2870 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2876 pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list() 2882 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_write() local 2889 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_write() [all …]
|
/linux-4.4.14/fs/f2fs/ |
D | namei.c | 931 struct f2fs_str pstr = FSTR_INIT(NULL, 0); in f2fs_encrypted_follow_link() local 970 res = f2fs_fname_crypto_alloc_buffer(inode, cstr.len, &pstr); in f2fs_encrypted_follow_link() 974 res = f2fs_fname_disk_to_usr(inode, NULL, &cstr, &pstr); in f2fs_encrypted_follow_link() 980 paddr = pstr.name; in f2fs_encrypted_follow_link() 990 f2fs_fname_crypto_free_buffer(&pstr); in f2fs_encrypted_follow_link()
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-g723.c | 87 struct snd_pcm_str *pstr = in solo_g723_isr() local 92 for (ss = pstr->substream; ss != NULL; ss = ss->next) { in solo_g723_isr()
|
/linux-4.4.14/include/sound/ |
D | rawmidi.h | 101 struct snd_rawmidi_str *pstr; member
|
D | pcm.h | 438 struct snd_pcm_str *pstr; member
|
/linux-4.4.14/sound/pci/hda/ |
D | patch_hdmi.c | 2077 struct hda_pcm_stream *pstr; in generic_hdmi_build_pcms() local 2086 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in generic_hdmi_build_pcms() 2087 pstr->substreams = 1; in generic_hdmi_build_pcms() 2088 pstr->ops = generic_ops; in generic_hdmi_build_pcms() 2434 struct hda_pcm_stream *pstr; in simple_playback_build_pcms() local 2446 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in simple_playback_build_pcms() 2447 *pstr = spec->pcm_playback; in simple_playback_build_pcms() 2448 pstr->nid = per_cvt->cvt_nid; in simple_playback_build_pcms() 2449 if (pstr->channels_max <= 2 && chans && chans <= 16) in simple_playback_build_pcms() 2450 pstr->channels_max = chans; in simple_playback_build_pcms()
|
/linux-4.4.14/sound/pci/rme9652/ |
D | rme9652.c | 1896 substream->pstr->stream, in snd_rme9652_playback_copy() 1915 substream->pstr->stream, in snd_rme9652_capture_copy() 1931 substream->pstr->stream, in snd_rme9652_hw_silence() 1975 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_rme9652_hw_params()
|
D | hdsp.c | 3925 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy() 3942 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy() 3956 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_hw_silence() 4005 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdsp_hw_params()
|
D | hdspm.c | 5520 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdspm_hw_params()
|
/linux-4.4.14/sound/usb/usx2y/ |
D | usbusx2yaudio.c | 749 struct snd_card *card = substream->pstr->pcm->card; in snd_usX2Y_pcm_hw_params()
|
/linux-4.4.14/sound/drivers/ |
D | aloop.c | 151 int device = dpcm->substream->pstr->pcm->device; in get_setup()
|
/linux-4.4.14/sound/pci/korg1212/ |
D | korg1212.c | 1505 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_korg1212_hw_params()
|