Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/staging/wlan-ng/
H A Dp80211wep.c67 int wep_change_key(struct wlandevice *wlandev, int keynum, u8 *key, int keylen) in wep_change_key() argument
75 if (keynum < 0) in wep_change_key()
77 if (keynum >= NUM_WEPKEYS) in wep_change_key()
80 wlandev->wep_keylens[keynum] = keylen; in wep_change_key()
81 memcpy(wlandev->wep_keys[keynum], key, keylen); in wep_change_key()
162 u8 *dst, u32 len, int keynum, u8 *iv, u8 *icv) in wep_encrypt() argument
172 if (keynum >= NUM_WEPKEYS) in wep_encrypt()
174 keylen = wlandev->wep_keylens[keynum]; in wep_encrypt()
183 iv[3] = (keynum & 0x03) << 6; in wep_encrypt()
190 memcpy(key + 3, wlandev->wep_keys[keynum], keylen); in wep_encrypt()
H A Dp80211netdev.h226 int wep_change_key(struct wlandevice *wlandev, int keynum, u8 *key, int keylen);
230 int keynum, u8 *iv, u8 *icv);
/OK3568_Linux_fs/kernel/drivers/auxdisplay/
H A Dpanel.c1549 int keynum; in keypad_init() local
1556 for (keynum = 0; keypad_profile[keynum][0][0]; keynum++) { in keypad_init()
1557 panel_bind_key(keypad_profile[keynum][0], in keypad_init()
1558 keypad_profile[keynum][1], in keypad_init()
1559 keypad_profile[keynum][2], in keypad_init()
1560 keypad_profile[keynum][3]); in keypad_init()
/OK3568_Linux_fs/kernel/drivers/input/remotectl/
H A Drockchip_pwm_remotectl.c65 int keynum; member
96 ddata->keynum = i; in remotectl_keybd_num_lookup()
109 for (i = 0; i < remotectl_button[ddata->keynum].nbuttons; i++) { in remotectl_keycode_lookup()
110 if (remotectl_button[ddata->keynum].key_table[i].scancode == in remotectl_keycode_lookup()
113 remotectl_button[ddata->keynum].key_table[i].keycode; in remotectl_keycode_lookup()
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dkeypad-omap.h42 #error Group bits in conflict with keynum bits
/OK3568_Linux_fs/u-boot/board/freescale/common/
H A Dfsl_validate.c208 static u32 is_key_revoked(u32 keynum, u32 rev_flag) in is_key_revoked() argument
210 if (keynum == UNREVOCABLE_KEY) in is_key_revoked()
213 if ((u32)(1 << (ALIGN_REVOC_KEY - keynum)) & rev_flag) in is_key_revoked()
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A 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()