Lines Matching refs:keycode
81 unsigned short *keycode; member
95 if (bf54x_kpad->keycode[i + input->keycodemax] == keyident) in bfin_kpad_find_key()
96 return bf54x_kpad->keycode[i]; in bfin_kpad_find_key()
100 static inline void bfin_keycodecpy(unsigned short *keycode, in bfin_keycodecpy() argument
107 keycode[i] = pdata_kc[i] & 0xffff; in bfin_keycodecpy()
108 keycode[i + keymapsize] = pdata_kc[i] >> 16; in bfin_keycodecpy()
204 bf54x_kpad->keycode = kmalloc(pdata->keymapsize * in bfin_kpad_probe()
206 if (!bf54x_kpad->keycode) { in bfin_kpad_probe()
280 input->keycode = bf54x_kpad->keycode; in bfin_kpad_probe()
282 bfin_keycodecpy(bf54x_kpad->keycode, pdata->keymap, pdata->keymapsize); in bfin_kpad_probe()
291 if (bf54x_kpad->keycode[i] <= KEY_MAX) in bfin_kpad_probe()
292 __set_bit(bf54x_kpad->keycode[i], input->keybit); in bfin_kpad_probe()
326 kfree(bf54x_kpad->keycode); in bfin_kpad_probe()
346 kfree(bf54x_kpad->keycode); in bfin_kpad_remove()