Home
last modified time | relevance | path

Searched refs:keybuf (Results 1 – 22 of 22) sorted by relevance

/linux-2.6.39/drivers/media/video/ivtv/
Divtv-i2c.c153 unsigned char keybuf[4]; in get_key_adaptec() local
155 keybuf[0] = 0x00; in get_key_adaptec()
156 i2c_master_send(ir->c, keybuf, 1); in get_key_adaptec()
158 if (i2c_master_recv(ir->c, keybuf, sizeof(keybuf)) != sizeof(keybuf)) { in get_key_adaptec()
163 if (keybuf[2] == 0xff) in get_key_adaptec()
167 keybuf[2] &= 0x7f; in get_key_adaptec()
168 keybuf[3] |= 0x80; in get_key_adaptec()
170 *ir_key = keybuf[3] | keybuf[2] << 8 | keybuf[1] << 16 |keybuf[0] << 24; in get_key_adaptec()
/linux-2.6.39/drivers/media/dvb/dvb-usb/
Ddvb-usb-remote.c357 u8 keybuf[5], u32 *event, int *state) in dvb_usb_nec_rc_key_to_event()
363 switch (keybuf[0]) { in dvb_usb_nec_rc_key_to_event()
367 if ((u8) ~keybuf[1] != keybuf[2] || in dvb_usb_nec_rc_key_to_event()
368 (u8) ~keybuf[3] != keybuf[4]) { in dvb_usb_nec_rc_key_to_event()
374 if (rc5_custom(&keymap[i]) == keybuf[1] && in dvb_usb_nec_rc_key_to_event()
375 rc5_data(&keymap[i]) == keybuf[3]) { in dvb_usb_nec_rc_key_to_event()
386 deb_err("unknown type of remote status: %d\n",keybuf[0]); in dvb_usb_nec_rc_key_to_event()
/linux-2.6.39/fs/cachefiles/
Dnamei.c33 u8 *keybuf) in __cachefiles_printk_object() argument
60 if (keybuf) in __cachefiles_printk_object()
61 keylen = cookie->def->get_key(cookie->netfs_data, keybuf, in __cachefiles_printk_object()
74 printk("%02x", keybuf[loop]); in __cachefiles_printk_object()
85 u8 *keybuf; in cachefiles_printk_object() local
87 keybuf = kmalloc(CACHEFILES_KEYBUF_SIZE, GFP_NOIO); in cachefiles_printk_object()
89 __cachefiles_printk_object(object, "", keybuf); in cachefiles_printk_object()
91 __cachefiles_printk_object(xobject, "x", keybuf); in cachefiles_printk_object()
92 kfree(keybuf); in cachefiles_printk_object()
/linux-2.6.39/fs/befs/
Dbtree.h11 loff_t key_no, size_t bufsize, char *keybuf,
Dbtree.c417 loff_t key_no, size_t bufsize, char *keybuf, size_t * keysize, in befs_btree_read() argument
505 strncpy(keybuf, keystart, keylen); in befs_btree_read()
508 keybuf[keylen] = '\0'; in befs_btree_read()
511 cur_key, keylen, keybuf, *value); in befs_btree_read()
Dlinuxvfs.c222 char keybuf[BEFS_NAME_LEN + 1]; in befs_readdir() local
232 keybuf, &keysize, &value); in befs_readdir()
254 befs_utf2nls(sb, keybuf, keysize, &nlsname, &nlsnamelen); in befs_readdir()
264 result = filldir(dirent, keybuf, keysize, filp->f_pos, in befs_readdir()
/linux-2.6.39/drivers/net/wireless/hostap/
Dhostap_main.c342 char keybuf[WEP_KEY_LEN + 1]; in hostap_set_encryption() local
397 len = local->crypt_info.crypt[idx]->ops->get_key(keybuf, sizeof(keybuf), NULL, in hostap_set_encryption()
403 memset(keybuf, 0, sizeof(keybuf)); in hostap_set_encryption()
406 keybuf, sizeof(keybuf), in hostap_set_encryption()
411 keybuf, keylen)) { in hostap_set_encryption()
Dhostap_ioctl.c124 struct iw_point *erq, char *keybuf) in prism2_ioctl_siwencode() argument
187 memset(keybuf + erq->length, 0, len - erq->length); in prism2_ioctl_siwencode()
188 (*crypt)->ops->set_key(keybuf, len, NULL, (*crypt)->priv); in prism2_ioctl_siwencode()
/linux-2.6.39/drivers/staging/lirc/
Dlirc_zilog.c326 unsigned char keybuf[6]; in add_to_buf() local
415 ret = i2c_master_recv(rx->c, keybuf, sizeof(keybuf)); in add_to_buf()
417 if (ret != sizeof(keybuf)) { in add_to_buf()
421 rx->b[0] = keybuf[3]; in add_to_buf()
422 rx->b[1] = keybuf[4]; in add_to_buf()
423 rx->b[2] = keybuf[5]; in add_to_buf()
429 if (got_data && (keybuf[0] == 0x80)) { in add_to_buf()
432 } else if (got_data && (keybuf[0] == 0x00)) { in add_to_buf()
/linux-2.6.39/drivers/staging/rtl8187se/ieee80211/
Dieee80211_wx.c256 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_set_encode() argument
354 memcpy(sec.keys[key], keybuf, erq->length); in ieee80211_wx_set_encode()
425 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_get_encode() argument
461 len = crypt->ops->get_key(keybuf, WEP_KEY_LEN, NULL, crypt->priv); in ieee80211_wx_get_encode()
/linux-2.6.39/drivers/net/wireless/ipw2x00/
Dlibipw_wx.c314 union iwreq_data *wrqu, char *keybuf) in libipw_wx_set_encode() argument
415 memcpy(sec.keys[key], keybuf, erq->length); in libipw_wx_set_encode()
492 union iwreq_data *wrqu, char *keybuf) in libipw_wx_get_encode() argument
519 memcpy(keybuf, sec->keys[key], len); in libipw_wx_get_encode()
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/
Dieee80211_wx.c312 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_set_encode() argument
408 memcpy(sec.keys[key], keybuf, erq->length); in ieee80211_wx_set_encode()
484 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_get_encode() argument
520 len = crypt->ops->get_key(keybuf, SCM_KEY_LEN, NULL, crypt->priv); in ieee80211_wx_get_encode()
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/
Dieee80211_wx.c311 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_set_encode() argument
409 memcpy(sec.keys[key], keybuf, erq->length); in ieee80211_wx_set_encode()
485 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_get_encode() argument
512 len = crypt->ops->get_key(keybuf, SCM_KEY_LEN, NULL, crypt->priv); in ieee80211_wx_get_encode()
/linux-2.6.39/arch/m68k/include/asm/
Dopenprom.h114 struct keybuf *pv_keybuf;
/linux-2.6.39/include/net/
Dcfg80211.h2172 struct iw_point *erq, char *keybuf);
2175 struct iw_point *erq, char *keybuf);
2178 union iwreq_data *data, char *keybuf);
2181 union iwreq_data *data, char *keybuf);
/linux-2.6.39/drivers/net/wireless/orinoco/
Dwext.c238 char *keybuf) in orinoco_ioctl_setiwencode() argument
303 err = orinoco_set_key(priv, index, ORINOCO_ALG_WEP, keybuf, in orinoco_ioctl_setiwencode()
329 char *keybuf) in orinoco_ioctl_getiwencode() argument
356 memcpy(keybuf, priv->keys[index].key, erq->length); in orinoco_ioctl_getiwencode()
/linux-2.6.39/net/wireless/
Dwext-compat.c598 struct iw_point *erq, char *keybuf) in cfg80211_wext_siwencode() argument
642 params.key = keybuf; in cfg80211_wext_siwencode()
751 struct iw_point *erq, char *keybuf) in cfg80211_wext_giwencode() argument
780 memcpy(keybuf, wdev->wext.keys->params[idx].key, erq->length); in cfg80211_wext_giwencode()
/linux-2.6.39/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c1427 union iwreq_data *wrqu, char *keybuf) in r8711_wx_set_enc() argument
1517 memcpy(wep.KeyMaterial, keybuf, wep.KeyLength); in r8711_wx_set_enc()
1525 union iwreq_data *wrqu, char *keybuf) in r8711_wx_get_enc() argument
1557 memcpy(keybuf, padapter->securitypriv.DefKey[ in r8711_wx_get_enc()
1754 union iwreq_data *wrqu, char *keybuf) in r8711_wx_read32() argument
1771 union iwreq_data *wrqu, char *keybuf) in r8711_wx_write32() argument
/linux-2.6.39/drivers/staging/wlags49_h2/
Dwl_wext.c1168 …et_encode(struct net_device *dev, struct iw_request_info *info, struct iw_point *erq, char *keybuf) in wireless_set_encode() argument
1200 keybuf, erq->length, in wireless_set_encode()
1229 memcpy( lp->DefaultKeys.key[index].key, keybuf, erq->length); in wireless_set_encode()
3148 struct iw_point *erq, char *keybuf) in wireless_set_encodeext() argument
3155 struct iw_encode_ext *ext = (struct iw_encode_ext *)keybuf; in wireless_set_encodeext()
/linux-2.6.39/drivers/staging/brcm80211/brcmfmac/
Dwl_iw.c2570 u8 keybuf[8]; local
2571 memcpy(keybuf, &key.data[24], sizeof(keybuf));
2572 memcpy(&key.data[24], &key.data[16], sizeof(keybuf));
2573 memcpy(&key.data[16], keybuf, sizeof(keybuf));
Dwl_cfg80211.c1554 u8 keybuf[8]; in wl_add_keyext() local
1555 memcpy(keybuf, &key.data[24], sizeof(keybuf)); in wl_add_keyext()
1556 memcpy(&key.data[24], &key.data[16], sizeof(keybuf)); in wl_add_keyext()
1557 memcpy(&key.data[16], keybuf, sizeof(keybuf)); in wl_add_keyext()
/linux-2.6.39/drivers/staging/ath6kl/os/linux/
Dwireless_ext.c1007 struct iw_point *erq, char *keybuf) in ar6000_ioctl_siwencode() argument
1083 memcpy(ar->arWepKeyList[index].arKey, keybuf, erq->length); in ar6000_ioctl_siwencode()