Home
last modified time | relevance | path

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

/drivers/staging/wlan-ng/
Dp80211wep.c122 int wep_change_key(wlandevice_t *wlandev, int keynum, u8 *key, int keylen) in wep_change_key() argument
130 if (keynum < 0) in wep_change_key()
132 if (keynum >= NUM_WEPKEYS) in wep_change_key()
136 wlandev->wep_keylens[keynum] = keylen; in wep_change_key()
137 memcpy(wlandev->wep_keys[keynum], key, keylen); in wep_change_key()
219 int wep_encrypt(wlandevice_t *wlandev, u8 *buf, u8 *dst, u32 len, int keynum, in wep_encrypt() argument
230 if (keynum >= NUM_WEPKEYS) in wep_encrypt()
232 keylen = wlandev->wep_keylens[keynum]; in wep_encrypt()
241 iv[3] = (keynum & 0x03) << 6; in wep_encrypt()
248 memcpy(key + 3, wlandev->wep_keys[keynum], keylen); in wep_encrypt()
Dp80211netdev.h230 int wep_change_key(wlandevice_t *wlandev, int keynum, u8 *key, int keylen);
233 int wep_encrypt(wlandevice_t *wlandev, u8 *buf, u8 *dst, u32 len, int keynum,
/drivers/staging/panel/
Dpanel.c2177 int keynum; in keypad_init() local
2184 for (keynum = 0; keypad_profile[keynum][0][0]; keynum++) { in keypad_init()
2185 panel_bind_key(keypad_profile[keynum][0], in keypad_init()
2186 keypad_profile[keynum][1], in keypad_init()
2187 keypad_profile[keynum][2], in keypad_init()
2188 keypad_profile[keynum][3]); in keypad_init()
/drivers/input/misc/
Dyealink.c69 u8 keynum; member
380 case offsetof(struct yld_status, keynum): in yealink_do_idle_tasks()
437 yld->master.s.keynum = yld->irq_data->data[0]; in urb_irq_callback()