Home
last modified time | relevance | path

Searched refs:keynum (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/wlan-ng/
Dp80211wep.c121 int wep_change_key(struct wlandevice *wlandev, int keynum, u8 *key, int keylen) in wep_change_key() argument
129 if (keynum < 0) in wep_change_key()
131 if (keynum >= NUM_WEPKEYS) in wep_change_key()
134 wlandev->wep_keylens[keynum] = keylen; in wep_change_key()
135 memcpy(wlandev->wep_keys[keynum], key, keylen); in wep_change_key()
218 u8 *dst, u32 len, int keynum, u8 *iv, u8 *icv) in wep_encrypt() argument
228 if (keynum >= NUM_WEPKEYS) in wep_encrypt()
230 keylen = wlandev->wep_keylens[keynum]; in wep_encrypt()
239 iv[3] = (keynum & 0x03) << 6; in wep_encrypt()
246 memcpy(key + 3, wlandev->wep_keys[keynum], keylen); in wep_encrypt()
Dp80211netdev.h226 int wep_change_key(struct wlandevice *wlandev, int keynum, u8 *key, int keylen);
230 int keynum, u8 *iv, u8 *icv);
/drivers/auxdisplay/
Dpanel.c1551 int keynum; in keypad_init() local
1558 for (keynum = 0; keypad_profile[keynum][0][0]; keynum++) { in keypad_init()
1559 panel_bind_key(keypad_profile[keynum][0], in keypad_init()
1560 keypad_profile[keynum][1], in keypad_init()
1561 keypad_profile[keynum][2], in keypad_init()
1562 keypad_profile[keynum][3]); in keypad_init()
/drivers/input/misc/
Dyealink.c54 u8 keynum; member
365 case offsetof(struct yld_status, keynum): in yealink_do_idle_tasks()
422 yld->master.s.keynum = yld->irq_data->data[0]; in urb_irq_callback()