Home
last modified time | relevance | path

Searched refs:key_map (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/media/dvb/ttpci/
Dav7110_ir.c143 keycode = ir->key_map[data]; in av7110_emit_key()
198 for (i = 0; i < ARRAY_SIZE(ir->key_map); i++) { in input_register_keys()
199 if (ir->key_map[i] > KEY_MAX) in input_register_keys()
200 ir->key_map[i] = 0; in input_register_keys()
201 else if (ir->key_map[i] > KEY_RESERVED) in input_register_keys()
202 set_bit(ir->key_map[i], ir->input_dev->keybit); in input_register_keys()
205 ir->input_dev->keycode = ir->key_map; in input_register_keys()
206 ir->input_dev->keycodesize = sizeof(ir->key_map[0]); in input_register_keys()
207 ir->input_dev->keycodemax = ARRAY_SIZE(ir->key_map); in input_register_keys()
276 int size = sizeof ir_config + sizeof av_list[0]->ir.key_map; in av7110_ir_proc_write()
[all …]
Dav7110.h79 u16 key_map[256]; member
/linux-2.6.39/drivers/s390/char/
Dkeyboard.c337 ushort *key_map, val, ov; in do_kdsk_ioctl() local
352 key_map = kbd->key_maps[tmp.kb_table]; in do_kdsk_ioctl()
353 if (key_map) { in do_kdsk_ioctl()
354 val = U(key_map[tmp.kb_index]); in do_kdsk_ioctl()
365 key_map = kbd->key_maps[tmp.kb_table]; in do_kdsk_ioctl()
366 if (key_map) { in do_kdsk_ioctl()
368 kfree(key_map); in do_kdsk_ioctl()
378 if (!(key_map = kbd->key_maps[tmp.kb_table])) { in do_kdsk_ioctl()
381 key_map = kmalloc(sizeof(plain_map), in do_kdsk_ioctl()
383 if (!key_map) in do_kdsk_ioctl()
[all …]
/linux-2.6.39/drivers/tty/vt/
Dvt_ioctl.c207 ushort *key_map, val, ov; in do_kdsk_ioctl() local
217 key_map = key_maps[s]; in do_kdsk_ioctl()
218 if (key_map) { in do_kdsk_ioctl()
219 val = U(key_map[i]); in do_kdsk_ioctl()
230 key_map = key_maps[s]; in do_kdsk_ioctl()
231 if (s && key_map) { in do_kdsk_ioctl()
233 if (key_map[0] == U(K_ALLOCATED)) { in do_kdsk_ioctl()
234 kfree(key_map); in do_kdsk_ioctl()
255 if (!(key_map = key_maps[s])) { in do_kdsk_ioctl()
262 key_map = kmalloc(sizeof(plain_map), in do_kdsk_ioctl()
[all …]
Dkeyboard.c1175 unsigned short keysym, *key_map; in kbd_keycode() local
1251 key_map = key_maps[shift_final]; in kbd_keycode()
1255 if (rc == NOTIFY_STOP || !key_map) { in kbd_keycode()
1264 keysym = key_map[keycode]; in kbd_keycode()
1287 key_map = key_maps[shift_final ^ (1 << KG_SHIFT)]; in kbd_keycode()
1288 if (key_map) in kbd_keycode()
1289 keysym = key_map[keycode]; in kbd_keycode()