Home
last modified time | relevance | path

Searched refs:ke (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/input/
A Dsparse-keymap.c112 struct input_keymap_entry *ke) in sparse_keymap_getkeycode() argument
117 key = sparse_keymap_locate(dev, ke); in sparse_keymap_getkeycode()
119 ke->keycode = key->keycode; in sparse_keymap_getkeycode()
121 ke->index = in sparse_keymap_getkeycode()
123 ke->len = sizeof(key->code); in sparse_keymap_getkeycode()
142 key->keycode = ke->keycode; in sparse_keymap_setkeycode()
143 set_bit(ke->keycode, dev->keybit); in sparse_keymap_setkeycode()
237 switch (ke->type) { in sparse_keymap_report_entry()
249 value = ke->sw.value; in sparse_keymap_report_entry()
276 const struct key_entry *ke = in sparse_keymap_report_event() local
[all …]
A Devdev.c804 struct input_keymap_entry ke = { in evdev_handle_get_keycode() local
819 if (put_user(ke.keycode, ip + 1)) in evdev_handle_get_keycode()
827 struct input_keymap_entry ke; in evdev_handle_get_keycode_v2() local
830 if (copy_from_user(&ke, p, sizeof(ke))) in evdev_handle_get_keycode_v2()
837 if (copy_to_user(p, &ke, sizeof(ke))) in evdev_handle_get_keycode_v2()
845 struct input_keymap_entry ke = { in evdev_handle_set_keycode() local
854 if (get_user(ke.keycode, ip + 1)) in evdev_handle_set_keycode()
857 return input_set_keycode(dev, &ke); in evdev_handle_set_keycode()
862 struct input_keymap_entry ke; in evdev_handle_set_keycode_v2() local
864 if (copy_from_user(&ke, p, sizeof(ke))) in evdev_handle_set_keycode_v2()
[all …]
A Dinput.c770 switch (ke->len) { in input_scancode_to_scalar()
772 *scancode = *((u8 *)ke->scancode); in input_scancode_to_scalar()
821 index = ke->index; in input_default_getkeycode()
832 ke->index = index; in input_default_getkeycode()
833 ke->len = sizeof(index); in input_default_getkeycode()
851 index = ke->index; in input_default_setkeycode()
869 k[index] = ke->keycode; in input_default_setkeycode()
875 k[index] = ke->keycode; in input_default_setkeycode()
881 k[index] = ke->keycode; in input_default_setkeycode()
915 retval = dev->getkeycode(dev, ke); in input_get_keycode()
[all …]
/linux/drivers/gpu/drm/i915/gt/
A Dsysfs_engines.c427 struct kobj_engine *ke; in kobj_engine() local
429 ke = kzalloc(sizeof(*ke), GFP_KERNEL); in kobj_engine()
430 if (!ke) in kobj_engine()
434 ke->engine = engine; in kobj_engine()
437 kobject_put(&ke->base); in kobj_engine()
442 return &ke->base; in kobj_engine()
455 struct kobj_engine *ke; in add_defaults() local
457 ke = kzalloc(sizeof(*ke), GFP_KERNEL); in add_defaults()
458 if (!ke) in add_defaults()
462 ke->engine = parent->engine; in add_defaults()
[all …]
/linux/drivers/media/usb/dvb-usb/
A Ddvb-usb-remote.c20 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in legacy_dvb_usb_get_keymap_index()
21 index = ke->index; in legacy_dvb_usb_get_keymap_index()
46 struct input_keymap_entry *ke) in legacy_dvb_usb_getkeycode() argument
57 ke->keycode = keymap[index].keycode; in legacy_dvb_usb_getkeycode()
58 if (ke->keycode == KEY_UNKNOWN) in legacy_dvb_usb_getkeycode()
59 ke->keycode = KEY_RESERVED; in legacy_dvb_usb_getkeycode()
60 ke->len = sizeof(keymap[index].scancode); in legacy_dvb_usb_getkeycode()
61 memcpy(&ke->scancode, &keymap[index].scancode, ke->len); in legacy_dvb_usb_getkeycode()
62 ke->index = index; in legacy_dvb_usb_getkeycode()
88 keymap->keycode = ke->keycode; in legacy_dvb_usb_setkeycode()
[all …]
/linux/drivers/input/misc/
A Dati_remote2.c482 struct input_keymap_entry *ke) in ati_remote2_getkeycode() argument
490 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in ati_remote2_getkeycode()
491 index = ke->index; in ati_remote2_getkeycode()
514 ke->keycode = ar2->keycode[mode][offset]; in ati_remote2_getkeycode()
515 ke->len = sizeof(scancode); in ati_remote2_getkeycode()
517 ke->index = index; in ati_remote2_getkeycode()
523 const struct input_keymap_entry *ke, in ati_remote2_setkeycode() argument
532 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in ati_remote2_setkeycode()
533 if (ke->index >= ATI_REMOTE2_MODES * in ati_remote2_setkeycode()
553 ar2->keycode[mode][offset] = ke->keycode; in ati_remote2_setkeycode()
[all …]
A Ddm355evm_keys.c103 const struct key_entry *ke; in dm355evm_keys_irq() local
152 ke = sparse_keymap_entry_from_scancode(keys->input, event); in dm355evm_keys_irq()
153 keycode = ke ? ke->keycode : KEY_UNKNOWN; in dm355evm_keys_irq()
/linux/drivers/media/rc/
A Drc-main.c177 switch (ke->len) { in scancode_to_u64()
179 *scancode = *((u8 *)ke->scancode); in scancode_to_u64()
183 *scancode = *((u16 *)ke->scancode); in scancode_to_u64()
187 *scancode = *((u32 *)ke->scancode); in scancode_to_u64()
438 index = ke->index; in ir_setkeycode()
545 struct input_keymap_entry *ke) in ir_getkeycode() argument
558 index = ke->index; in ir_getkeycode()
570 ke->index = index; in ir_getkeycode()
571 ke->keycode = entry->keycode; in ir_getkeycode()
580 ke->index = index; in ir_getkeycode()
[all …]
/linux/include/linux/
A Dinput.h162 const struct input_keymap_entry *ke,
165 struct input_keymap_entry *ke);
501 int input_scancode_to_scalar(const struct input_keymap_entry *ke,
504 int input_get_keycode(struct input_dev *dev, struct input_keymap_entry *ke);
506 const struct input_keymap_entry *ke);
/linux/drivers/platform/x86/intel/
A Dvbtn.c152 const struct key_entry *ke, *ke_rel; in notify_handler() local
157 if ((ke = sparse_keymap_entry_from_scancode(priv->buttons_dev, event))) { in notify_handler()
163 } else if ((ke = sparse_keymap_entry_from_scancode(priv->switches_dev, event))) { in notify_handler()
189 if (ke->type == KE_KEY) in notify_handler()
/linux/drivers/hid/
A Dhid-input.c115 const struct input_keymap_entry *ke, in hidinput_locate_usage() argument
121 if (ke->flags & INPUT_KEYMAP_BY_INDEX) in hidinput_locate_usage()
132 struct input_keymap_entry *ke) in hidinput_getkeycode() argument
138 usage = hidinput_locate_usage(hid, ke, &index); in hidinput_getkeycode()
140 ke->keycode = usage->type == EV_KEY ? in hidinput_getkeycode()
142 ke->index = index; in hidinput_getkeycode()
144 ke->len = sizeof(scancode); in hidinput_getkeycode()
145 memcpy(ke->scancode, &scancode, sizeof(scancode)); in hidinput_getkeycode()
153 const struct input_keymap_entry *ke, in hidinput_setkeycode() argument
159 usage = hidinput_locate_usage(hid, ke, NULL); in hidinput_setkeycode()
[all …]
/linux/include/linux/input/
A Dsparse-keymap.h53 void sparse_keymap_report_entry(struct input_dev *dev, const struct key_entry *ke,
/linux/drivers/tty/vt/
A Dkeyboard.c185 struct input_keymap_entry ke; member
193 d->error = input_get_keycode(handle->dev, &d->ke); in getkeycode_helper()
201 .ke = { in getkeycode()
209 memcpy(d.ke.scancode, &scancode, sizeof(scancode)); in getkeycode()
213 return d.error ?: d.ke.keycode; in getkeycode()
220 d->error = input_set_keycode(handle->dev, &d->ke); in setkeycode_helper()
228 .ke = { in setkeycode()
236 memcpy(d.ke.scancode, &scancode, sizeof(scancode)); in setkeycode()
/linux/arch/s390/include/asm/
A Dnmi.h59 u64 ke : 1; /* 18 storage-key error uncorrected */ member
/linux/arch/parisc/include/asm/
A Dpdcpat.h238 unsigned int ke; /* bit 0: memory inside good memory? */ member
/linux/Documentation/driver-api/media/drivers/
A Dcontributors.rst96 - Kenneth Aafløy <ke-aa@frisurf.no>
/linux/tools/power/pm-graph/
A Dsleepgraph.py3609 kb, ke = e['begin'], e['end']
3610 if ke - kb < 0.000001 or tlb > kb or tle <= kb:
3613 data.newActionGlobal(e['name'], kb, ke, pid, color)
3621 kb, ke = e['begin'], e['end']
3622 if ke - kb < 0.000001 or tlb > kb or tle <= kb:
3625 ke, e['cdata'], e['rdata'])
/linux/
A Dmodules.builtin.modinfo13 …scription=ROCKCHIP SPI Controller Driver�spi_rockchip.author=Addy Ke <addy.ke@rock-chips.com>�spi_…
16 …hip Specific DW-MSHC Driver Extension�dw_mmc_rockchip.author=Addy Ke <addy.ke@rock-chips.com>�meso…

Completed in 62 milliseconds