/linux-2.6.39/drivers/input/ |
D | sparse-keymap.c | 99 const struct input_keymap_entry *ke) in sparse_keymap_locate() argument 104 if (ke->flags & INPUT_KEYMAP_BY_INDEX) in sparse_keymap_locate() 105 key = sparse_keymap_entry_by_index(dev, ke->index); in sparse_keymap_locate() 106 else if (input_scancode_to_scalar(ke, &scancode) == 0) in sparse_keymap_locate() 115 struct input_keymap_entry *ke) in sparse_keymap_getkeycode() argument 120 key = sparse_keymap_locate(dev, ke); in sparse_keymap_getkeycode() 122 ke->keycode = key->keycode; in sparse_keymap_getkeycode() 123 if (!(ke->flags & INPUT_KEYMAP_BY_INDEX)) in sparse_keymap_getkeycode() 124 ke->index = in sparse_keymap_getkeycode() 126 ke->len = sizeof(key->code); in sparse_keymap_getkeycode() [all …]
|
D | evdev.c | 551 struct input_keymap_entry ke = { in evdev_handle_get_keycode() local 559 if (copy_from_user(ke.scancode, p, sizeof(unsigned int))) in evdev_handle_get_keycode() 562 error = input_get_keycode(dev, &ke); in evdev_handle_get_keycode() 566 if (put_user(ke.keycode, ip + 1)) in evdev_handle_get_keycode() 574 struct input_keymap_entry ke; in evdev_handle_get_keycode_v2() local 577 if (copy_from_user(&ke, p, sizeof(ke))) in evdev_handle_get_keycode_v2() 580 error = input_get_keycode(dev, &ke); in evdev_handle_get_keycode_v2() 584 if (copy_to_user(p, &ke, sizeof(ke))) in evdev_handle_get_keycode_v2() 592 struct input_keymap_entry ke = { in evdev_handle_set_keycode() local 598 if (copy_from_user(ke.scancode, p, sizeof(unsigned int))) in evdev_handle_set_keycode() [all …]
|
D | input.c | 648 int input_scancode_to_scalar(const struct input_keymap_entry *ke, in input_scancode_to_scalar() argument 651 switch (ke->len) { in input_scancode_to_scalar() 653 *scancode = *((u8 *)ke->scancode); in input_scancode_to_scalar() 657 *scancode = *((u16 *)ke->scancode); in input_scancode_to_scalar() 661 *scancode = *((u32 *)ke->scancode); in input_scancode_to_scalar() 693 struct input_keymap_entry *ke) in input_default_getkeycode() argument 701 if (ke->flags & INPUT_KEYMAP_BY_INDEX) in input_default_getkeycode() 702 index = ke->index; in input_default_getkeycode() 704 error = input_scancode_to_scalar(ke, &index); in input_default_getkeycode() 712 ke->keycode = input_fetch_keycode(dev, index); in input_default_getkeycode() [all …]
|
/linux-2.6.39/drivers/media/dvb/dvb-usb/ |
D | dvb-usb-remote.c | 12 legacy_dvb_usb_get_keymap_index(const struct input_keymap_entry *ke, in legacy_dvb_usb_get_keymap_index() argument 19 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in legacy_dvb_usb_get_keymap_index() 20 index = ke->index; in legacy_dvb_usb_get_keymap_index() 22 if (input_scancode_to_scalar(ke, &scancode)) in legacy_dvb_usb_get_keymap_index() 45 struct input_keymap_entry *ke) in legacy_dvb_usb_getkeycode() argument 52 index = legacy_dvb_usb_get_keymap_index(ke, keymap, keymap_size); in legacy_dvb_usb_getkeycode() 56 ke->keycode = keymap[index].keycode; in legacy_dvb_usb_getkeycode() 57 if (ke->keycode == KEY_UNKNOWN) in legacy_dvb_usb_getkeycode() 58 ke->keycode = KEY_RESERVED; in legacy_dvb_usb_getkeycode() 59 ke->len = sizeof(keymap[index].scancode); in legacy_dvb_usb_getkeycode() [all …]
|
/linux-2.6.39/drivers/input/misc/ |
D | ati_remote2.c | 486 struct input_keymap_entry *ke) in ati_remote2_getkeycode() argument 494 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in ati_remote2_getkeycode() 495 index = ke->index; in ati_remote2_getkeycode() 500 mode = ke->index / ARRAY_SIZE(ati_remote2_key_table); in ati_remote2_getkeycode() 501 offset = ke->index % ARRAY_SIZE(ati_remote2_key_table); in ati_remote2_getkeycode() 504 if (input_scancode_to_scalar(ke, &scancode)) in ati_remote2_getkeycode() 518 ke->keycode = ar2->keycode[mode][offset]; in ati_remote2_getkeycode() 519 ke->len = sizeof(scancode); in ati_remote2_getkeycode() 520 memcpy(&ke->scancode, &scancode, sizeof(scancode)); in ati_remote2_getkeycode() 521 ke->index = index; in ati_remote2_getkeycode() [all …]
|
D | dm355evm_keys.c | 108 const struct key_entry *ke; in dm355evm_keys_irq() local 157 ke = sparse_keymap_entry_from_scancode(keys->input, event); in dm355evm_keys_irq() 158 keycode = ke ? ke->keycode : KEY_UNKNOWN; in dm355evm_keys_irq()
|
/linux-2.6.39/drivers/media/rc/ |
D | rc-main.c | 321 const struct input_keymap_entry *ke, in ir_setkeycode() argument 333 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in ir_setkeycode() 334 index = ke->index; in ir_setkeycode() 340 retval = input_scancode_to_scalar(ke, &scancode); in ir_setkeycode() 351 *old_keycode = ir_update_mapping(rdev, rc_map, index, ke->keycode); in ir_setkeycode() 439 struct input_keymap_entry *ke) in ir_getkeycode() argument 451 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in ir_getkeycode() 452 index = ke->index; in ir_getkeycode() 454 retval = input_scancode_to_scalar(ke, &scancode); in ir_getkeycode() 464 ke->index = index; in ir_getkeycode() [all …]
|
/linux-2.6.39/drivers/hid/ |
D | hid-input.c | 125 const struct input_keymap_entry *ke, in hidinput_locate_usage() argument 131 if (ke->flags & INPUT_KEYMAP_BY_INDEX) in hidinput_locate_usage() 132 usage = hidinput_find_key(hid, match_index, ke->index, index); in hidinput_locate_usage() 133 else if (input_scancode_to_scalar(ke, &scancode) == 0) in hidinput_locate_usage() 142 struct input_keymap_entry *ke) in hidinput_getkeycode() argument 148 usage = hidinput_locate_usage(hid, ke, &index); in hidinput_getkeycode() 150 ke->keycode = usage->type == EV_KEY ? in hidinput_getkeycode() 152 ke->index = index; in hidinput_getkeycode() 154 ke->len = sizeof(scancode); in hidinput_getkeycode() 155 memcpy(ke->scancode, &scancode, sizeof(scancode)); in hidinput_getkeycode() [all …]
|
/linux-2.6.39/drivers/tty/vt/ |
D | keyboard.c | 178 struct input_keymap_entry ke; member 186 d->error = input_get_keycode(handle->dev, &d->ke); in getkeycode_helper() 194 .ke = { in getkeycode() 202 memcpy(d.ke.scancode, &scancode, sizeof(scancode)); in getkeycode() 206 return d.error ?: d.ke.keycode; in getkeycode() 213 d->error = input_set_keycode(handle->dev, &d->ke); in setkeycode_helper() 221 .ke = { in setkeycode() 229 memcpy(d.ke.scancode, &scancode, sizeof(scancode)); in setkeycode()
|
/linux-2.6.39/include/linux/input/ |
D | sparse-keymap.h | 56 void sparse_keymap_report_entry(struct input_dev *dev, const struct key_entry *ke,
|
/linux-2.6.39/arch/s390/include/asm/ |
D | nmi.h | 34 __u32 ke : 1; /* 18 storage-key error uncorrected */ member
|
/linux-2.6.39/include/linux/ |
D | input.h | 1244 const struct input_keymap_entry *ke, 1247 struct input_keymap_entry *ke); 1552 int input_scancode_to_scalar(const struct input_keymap_entry *ke, 1555 int input_get_keycode(struct input_dev *dev, struct input_keymap_entry *ke); 1557 const struct input_keymap_entry *ke);
|
/linux-2.6.39/arch/s390/kernel/ |
D | nmi.c | 349 if (mci->ke) in s390_do_machine_check()
|
/linux-2.6.39/Documentation/dvb/ |
D | contributors.txt | 69 Kenneth Aafløy <ke-aa@frisurf.no>
|
/linux-2.6.39/Documentation/uml/ |
D | UserModeLinux-HOWTO.txt | 209 22.. CCoommppiilliinngg tthhee kkeerrnneell aanndd mmoodduulleess 214 22..11.. CCoommppiilliinngg tthhee kkeerrnneell 325 …22..22.. CCoommppiilliinngg aanndd iinnssttaalllliinngg kkeerrnnee… 2478 1111..11.. SSttaarrttiinngg tthhee kkeerrnneell uunnddeerr ggddbb 2816 1111..55.. AAttttaacchhiinngg ggddbb ttoo tthhee kkeerrnneell 4071 1144..11.. CCaassee 11 :: NNoorrmmaall kkeerrnneell ppaanniiccss
|
/linux-2.6.39/Documentation/filesystems/ |
D | coda.txt | 420 …taa ssttrruuccttuurreess sshhaarreedd bbyy tthhee kkeerrnneell aann…
|