Home
last modified time | relevance | path

Searched refs:pstr (Results 1 – 24 of 24) sorted by relevance

/linux-3.4.99/drivers/staging/wlan-ng/
Dprism2mib.c382 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()
718 p80211pstrd_t *pstr = (p80211pstrd_t *) data; in prism2mib_priv() local
730 pstr->len = le16_to_cpu(wpa.datalen); in prism2mib_priv()
731 memcpy(pstr->data, wpa.data, pstr->len); in prism2mib_priv()
733 wpa.datalen = cpu_to_le16(pstr->len); in prism2mib_priv()
[all …]
Dprism2mgmt.h91 void prism2mgmt_pstr2bytearea(u8 *bytearea, p80211pstrd_t *pstr);
92 void prism2mgmt_bytearea2pstr(u8 *bytearea, p80211pstrd_t *pstr, int len);
95 void prism2mgmt_pstr2bytestr(hfa384x_bytestr_t *bytestr, p80211pstrd_t *pstr);
96 void prism2mgmt_bytestr2pstr(hfa384x_bytestr_t *bytestr, p80211pstrd_t *pstr);
99 void prism2mgmt_get_grpaddr(u32 did, p80211pstrd_t *pstr, hfa384x_t *priv);
101 u8 *prism2buf, p80211pstrd_t *pstr,
Dp80211req.c188 p80211pstrd_t *pstr = (p80211pstrd_t *) mibitem->data; in p80211req_mibset_mibget() local
194 wep_change_key(wlandev, 0, key, pstr->len); in p80211req_mibset_mibget()
199 wep_change_key(wlandev, 1, key, pstr->len); in p80211req_mibset_mibget()
204 wep_change_key(wlandev, 2, key, pstr->len); in p80211req_mibset_mibget()
209 wep_change_key(wlandev, 3, key, pstr->len); in p80211req_mibset_mibget()
Dprism2mgmt.c521 p80211pstrd_t *pstr; in prism2mgmt_start() local
548 pstr = (p80211pstrd_t *) &(msg->ssid.data); in prism2mgmt_start()
549 prism2mgmt_pstr2bytestr(p2bytestr, pstr); in prism2mgmt_start()
1015 p80211pstrd_t *pstr; in prism2mgmt_autojoin() local
1041 pstr = (p80211pstrd_t *) &(msg->ssid.data); in prism2mgmt_autojoin()
1042 prism2mgmt_pstr2bytestr(p2bytestr, pstr); in prism2mgmt_autojoin()
Dprism2sta.c619 char pstr[(HFA384x_RID_NICSERIALNUMBER_LEN * 4) + 1]; in prism2sta_getcardinfo() local
875 pstr, sizeof(pstr)); in prism2sta_getcardinfo()
876 printk(KERN_INFO "Prism2 card SN: %s\n", pstr); in prism2sta_getcardinfo()
/linux-3.4.99/sound/core/
Dpcm.c117 struct snd_pcm_str *pstr; in snd_pcm_control_ioctl() local
136 pstr = &pcm->streams[stream]; in snd_pcm_control_ioctl()
137 if (pstr->substream_count == 0) { in snd_pcm_control_ioctl()
141 if (subdevice >= pstr->substream_count) { in snd_pcm_control_ioctl()
145 for (substream = pstr->substream; substream; in snd_pcm_control_ioctl()
481 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_read() local
482 snd_iprintf(buffer, "%d\n", pstr->xrun_debug); in snd_pcm_xrun_debug_read()
488 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_xrun_debug_write() local
491 pstr->xrun_debug = simple_strtoul(line, NULL, 10); in snd_pcm_xrun_debug_write()
495 static int snd_pcm_stream_proc_init(struct snd_pcm_str *pstr) in snd_pcm_stream_proc_init() argument
[all …]
Drawmidi.c560 info->subdevices_count = substream->pstr->substream_count; in snd_rawmidi_info()
561 info->subdevices_avail = (substream->pstr->substream_count - in snd_rawmidi_info()
562 substream->pstr->substream_opened); in snd_rawmidi_info()
581 struct snd_rawmidi_str *pstr; in snd_rawmidi_info_select() local
591 pstr = &rmidi->streams[info->stream]; in snd_rawmidi_info_select()
592 if (pstr->substream_count == 0) in snd_rawmidi_info_select()
594 if (info->subdevice >= pstr->substream_count) in snd_rawmidi_info_select()
596 list_for_each_entry(substream, &pstr->substreams, list) { in snd_rawmidi_info_select()
1422 substream->pstr = stream; in snd_rawmidi_alloc_substreams()
Dpcm_native.c100 struct snd_pcm_str *pstr = substream->pstr; in snd_pcm_info() local
111 info->subdevices_count = pstr->substream_count; in snd_pcm_info()
112 info->subdevices_avail = pstr->substream_count - pstr->substream_opened; in snd_pcm_info()
Dpcm_lib.c156 ((substream)->pstr->xrun_debug & (mask))
/linux-3.4.99/drivers/net/wan/lmc/
Dlmc_debug.c15 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-3.4.99/sound/soc/fsl/
Dmpc5200_dma.c123 substream->pstr->stream, runtime->frame_bits, in psc_dma_trigger()
138 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger()
156 substream->pstr->stream, s->period_count); in psc_dma_trigger()
161 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_trigger()
171 substream->pstr->stream, cmd); in psc_dma_trigger()
223 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()
273 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in psc_dma_pointer()
Dmpc5200_psc_ac97.c160 if (substream->pstr->stream != SNDRV_PCM_STREAM_CAPTURE) in psc_ac97_hw_analog_params()
190 substream->pstr->stream); in psc_ac97_trigger()
199 substream->pstr->stream); in psc_ac97_trigger()
Dmpc5200_dma.h79 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in to_psc_dma_stream()
/linux-3.4.99/sound/core/oss/
Dpcm_oss.c1941 if (substream->pstr->substream_count > 1) in snd_pcm_oss_get_caps1()
2842 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_read() local
2843 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list; in snd_pcm_oss_proc_read()
2844 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read()
2858 mutex_unlock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_read()
2861 static void snd_pcm_oss_proc_free_setup_list(struct snd_pcm_str * pstr) in snd_pcm_oss_proc_free_setup_list() argument
2865 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list()
2871 pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list()
2877 struct snd_pcm_str *pstr = entry->private_data; in snd_pcm_oss_proc_write() local
2884 mutex_lock(&pstr->oss.setup_mutex); in snd_pcm_oss_proc_write()
[all …]
/linux-3.4.99/sound/pci/hda/
Dpatch_hdmi.c1221 struct hda_pcm_stream *pstr; in generic_hdmi_build_pcms() local
1227 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in generic_hdmi_build_pcms()
1228 pstr->substreams = 1; in generic_hdmi_build_pcms()
1229 pstr->ops = generic_ops; in generic_hdmi_build_pcms()
1380 struct hda_pcm_stream *pstr; in simple_playback_build_pcms() local
1387 pstr = &info->stream[SNDRV_PCM_STREAM_PLAYBACK]; in simple_playback_build_pcms()
1389 *pstr = *spec->pcm_playback; in simple_playback_build_pcms()
1390 pstr->nid = spec->cvts[i].cvt_nid; in simple_playback_build_pcms()
1391 if (pstr->channels_max <= 2 && chans && chans <= 16) in simple_playback_build_pcms()
1392 pstr->channels_max = chans; in simple_playback_build_pcms()
/linux-3.4.99/drivers/staging/media/solo6x10/
Dg723.c83 struct snd_pcm_str *pstr = in solo_g723_isr() local
90 for (ss = pstr->substream; ss != NULL; ss = ss->next) { in solo_g723_isr()
/linux-3.4.99/include/sound/
Drawmidi.h100 struct snd_rawmidi_str *pstr; member
Dpcm.h371 struct snd_pcm_str *pstr; member
/linux-3.4.99/sound/pci/rme9652/
Drme9652.c1919 substream->pstr->stream, in snd_rme9652_playback_copy()
1938 substream->pstr->stream, in snd_rme9652_capture_copy()
1954 substream->pstr->stream, in snd_rme9652_hw_silence()
1998 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_rme9652_hw_params()
Dhdsp.c4221 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_playback_copy()
4238 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_capture_copy()
4252 channel_buf = hdsp_channel_buffer_location (hdsp, substream->pstr->stream, channel); in snd_hdsp_hw_silence()
4301 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdsp_hw_params()
Dhdspm.c5424 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_hdspm_hw_params()
/linux-3.4.99/sound/usb/usx2y/
Dusbusx2yaudio.c758 struct snd_card *card = substream->pstr->pcm->card; in snd_usX2Y_pcm_hw_params()
/linux-3.4.99/sound/drivers/
Daloop.c151 int device = dpcm->substream->pstr->pcm->device; in get_setup()
/linux-3.4.99/sound/pci/korg1212/
Dkorg1212.c1506 if (substream->pstr->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_korg1212_hw_params()