Home
last modified time | relevance | path

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

/drivers/media/pci/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.h80 u16 key_map[256]; member
/drivers/s390/char/
Dkeyboard.c336 ushort *key_map, val, ov; in do_kdsk_ioctl() local
351 key_map = kbd->key_maps[tmp.kb_table]; in do_kdsk_ioctl()
352 if (key_map) { in do_kdsk_ioctl()
353 val = U(key_map[tmp.kb_index]); in do_kdsk_ioctl()
364 key_map = kbd->key_maps[tmp.kb_table]; in do_kdsk_ioctl()
365 if (key_map) { in do_kdsk_ioctl()
367 kfree(key_map); in do_kdsk_ioctl()
377 if (!(key_map = kbd->key_maps[tmp.kb_table])) { in do_kdsk_ioctl()
380 key_map = kmalloc(sizeof(plain_map), in do_kdsk_ioctl()
382 if (!key_map) in do_kdsk_ioctl()
[all …]
/drivers/tty/vt/
Dkeyboard.c1247 unsigned short keysym, *key_map; in kbd_keycode() local
1323 key_map = key_maps[shift_final]; in kbd_keycode()
1327 if (rc == NOTIFY_STOP || !key_map) { in kbd_keycode()
1336 keysym = key_map[keycode]; in kbd_keycode()
1359 key_map = key_maps[shift_final ^ (1 << KG_SHIFT)]; in kbd_keycode()
1360 if (key_map) in kbd_keycode()
1361 keysym = key_map[keycode]; in kbd_keycode()
1792 ushort *key_map, *new_map, val, ov; in vt_do_kdsk_ioctl() local
1805 key_map = key_maps[s]; in vt_do_kdsk_ioctl()
1806 if (key_map) { in vt_do_kdsk_ioctl()
[all …]
/drivers/input/touchscreen/
Datmel_mxt_ts.c524 if (data->pdata->key_map[i] == KEY_RESERVED) in mxt_input_button()
527 input_report_key(input, data->pdata->key_map[i], button); in mxt_input_button()
1185 if (pdata->key_map[i] != KEY_RESERVED) in mxt_probe()
1186 __set_bit(pdata->key_map[i], input_dev->keybit); in mxt_probe()
/drivers/platform/x86/
Dchromeos_laptop.c84 .key_map = { KEY_RESERVED,