| /kernel/linux/linux-5.10/drivers/input/ |
| D | matrix-keymap.c | 26 unsigned short *keymap = input_dev->keycode; in matrix_keypad_map_key() local 33 "%s: invalid keymap entry 0x%x (row: %d, col: %d, rows: %d, cols: %d)\n", in matrix_keypad_map_key() 38 keymap[MATRIX_SCAN_CODE(row, col, row_shift)] = code; in matrix_keypad_map_key() 82 propname = "linux,keymap"; in matrix_keypad_parse_keymap() 124 * matrix_keypad_build_keymap - convert platform keymap into matrix keymap 125 * @keymap_data: keymap supplied by the platform code 126 * @keymap_name: name of device tree property containing keymap (if device 128 * @rows: number of rows in target keymap array 129 * @cols: number of cols in target keymap array 130 * @keymap: expanded version of keymap that is suitable for use by [all …]
|
| D | sparse-keymap.c | 14 #include <linux/input/sparse-keymap.h> 54 * sparse_keymap_entry_from_scancode - perform sparse keymap lookup 55 * @dev: Input device using sparse keymap 59 * input device using sparse keymap. 75 * sparse_keymap_entry_from_keycode - perform sparse keymap lookup 76 * @dev: Input device using sparse keymap 80 * input device using sparse keymap. 154 * sparse_keymap_setup - set up sparse keymap for an input device 156 * @keymap: Keymap in form of array of &key_entry structures ending 158 * @setup: Function that can be used to adjust keymap entries [all …]
|
| /kernel/linux/linux-6.6/drivers/input/ |
| D | matrix-keymap.c | 26 unsigned short *keymap = input_dev->keycode; in matrix_keypad_map_key() local 33 "%s: invalid keymap entry 0x%x (row: %d, col: %d, rows: %d, cols: %d)\n", in matrix_keypad_map_key() 38 keymap[MATRIX_SCAN_CODE(row, col, row_shift)] = code; in matrix_keypad_map_key() 82 propname = "linux,keymap"; in matrix_keypad_parse_keymap() 124 * matrix_keypad_build_keymap - convert platform keymap into matrix keymap 125 * @keymap_data: keymap supplied by the platform code 126 * @keymap_name: name of device tree property containing keymap (if device 128 * @rows: number of rows in target keymap array 129 * @cols: number of cols in target keymap array 130 * @keymap: expanded version of keymap that is suitable for use by [all …]
|
| D | sparse-keymap.c | 14 #include <linux/input/sparse-keymap.h> 54 * sparse_keymap_entry_from_scancode - perform sparse keymap lookup 55 * @dev: Input device using sparse keymap 59 * input device using sparse keymap. 75 * sparse_keymap_entry_from_keycode - perform sparse keymap lookup 76 * @dev: Input device using sparse keymap 80 * input device using sparse keymap. 154 * sparse_keymap_setup - set up sparse keymap for an input device 156 * @keymap: Keymap in form of array of &key_entry structures ending 158 * @setup: Function that can be used to adjust keymap entries [all …]
|
| D | Kconfig | 55 tristate "Sparse keymap support library" 58 device that uses sparse keymap. This option is only 65 module will be called sparse-keymap. 68 tristate "Matrix keymap support library" 71 device that uses matrix keymap. This option is only 78 module will be called matrix-keymap. 83 ChromeOS Vivaldi keymap support library. This is a hidden 85 expose the vivaldi function row keymap.
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | dell-wmi.c | 22 #include <linux/input/sparse-keymap.h> 72 * Keymap for WMI events of type 0x0000 188 struct dell_bios_keymap_entry keymap[]; member 195 struct key_entry *keymap; member 243 * Keymap for WMI events of type 0x0010 311 * Keymap for WMI events of type 0x0011 341 * Keymap for WMI events of type 0x0012 457 static bool have_scancode(u32 scancode, const struct key_entry *keymap, int len) in have_scancode() argument 462 if (keymap[i].code == scancode) in have_scancode() 473 struct key_entry *keymap; in handle_dmi_entry() local [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/x86/dell/ |
| D | dell-wmi-base.c | 22 #include <linux/input/sparse-keymap.h> 74 * Keymap for WMI events of type 0x0000 196 struct dell_bios_keymap_entry keymap[]; member 203 struct key_entry *keymap; member 251 * Keymap for WMI events of type 0x0010 328 * Keymap for WMI events of type 0x0011 361 * Keymap for WMI events of type 0x0012 536 static bool have_scancode(u32 scancode, const struct key_entry *keymap, int len) in have_scancode() argument 541 if (keymap[i].code == scancode) in have_scancode() 552 struct key_entry *keymap; in handle_dmi_entry() local [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ |
| D | key.c | 391 if (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot_tkip() 392 test_bit(i + 64, common->keymap)) in ath_reserve_key_cache_slot_tkip() 395 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot_tkip() 396 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot_tkip() 416 if (!test_bit(i, common->keymap) && in ath_reserve_key_cache_slot() 417 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot() 418 test_bit(i + 64, common->keymap) || in ath_reserve_key_cache_slot() 419 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot() 421 if (!test_bit(i + 32, common->keymap) && in ath_reserve_key_cache_slot() 422 (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ |
| D | key.c | 391 if (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot_tkip() 392 test_bit(i + 64, common->keymap)) in ath_reserve_key_cache_slot_tkip() 395 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot_tkip() 396 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot_tkip() 416 if (!test_bit(i, common->keymap) && in ath_reserve_key_cache_slot() 417 (test_bit(i + 32, common->keymap) || in ath_reserve_key_cache_slot() 418 test_bit(i + 64, common->keymap) || in ath_reserve_key_cache_slot() 419 test_bit(i + 64 + 32, common->keymap))) in ath_reserve_key_cache_slot() 421 if (!test_bit(i + 32, common->keymap) && in ath_reserve_key_cache_slot() 422 (test_bit(i, common->keymap) || in ath_reserve_key_cache_slot() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | qcom,pm8xxx-keypad.txt | 25 - linux,keymap: 28 Definition: the linux keymap. More information can be found in 29 input/matrix-keymap.txt. 45 Definition: number of rows in the keymap. More information can be found 46 in input/matrix-keymap.txt. 51 Definition: number of columns in the keymap. More information can be 52 found in input/matrix-keymap.txt. 79 linux,keymap = <
|
| D | nvidia,tegra20-kbc.txt | 14 - linux,keymap: The keymap for keys as described in the binding document 15 devicetree/bindings/input/matrix-keymap.txt. 26 - linux,fn-keymap: a second keymap, same specification as the 48 linux,keymap = <0x00000074
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | qcom,pm8xxx-keypad.txt | 25 - linux,keymap: 28 Definition: the linux keymap. More information can be found in 29 input/matrix-keymap.txt. 45 Definition: number of rows in the keymap. More information can be found 46 in input/matrix-keymap.txt. 51 Definition: number of columns in the keymap. More information can be 52 found in input/matrix-keymap.txt. 79 linux,keymap = <
|
| D | stmpe-keypad.txt | 5 - linux,keymap : See ./matrix-keymap.txt 11 - keypad,num-rows : See ./matrix-keymap.txt 12 - keypad,num-columns : See ./matrix-keymap.txt 23 linux,keymap = <0x205006b
|
| D | nvidia,tegra20-kbc.txt | 14 - linux,keymap: The keymap for keys as described in the binding document 15 devicetree/bindings/input/matrix-keymap.txt. 26 - linux,fn-keymap: a second keymap, same specification as the 48 linux,keymap = <0x00000074
|
| /kernel/linux/linux-6.6/drivers/input/misc/ |
| D | sgi_btns.c | 48 unsigned short keymap[ARRAY_SIZE(sgi_map)]; member 60 for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) { in handle_buttons() 64 input_report_key(input, bdev->keymap[i], 1); in handle_buttons() 70 input_report_key(input, bdev->keymap[i], 0); in handle_buttons() 92 memcpy(bdev->keymap, sgi_map, sizeof(bdev->keymap)); in sgi_buttons_probe() 100 input->keycode = bdev->keymap; in sgi_buttons_probe() 101 input->keycodemax = ARRAY_SIZE(bdev->keymap); in sgi_buttons_probe() 107 __set_bit(bdev->keymap[i], input->keybit); in sgi_buttons_probe()
|
| D | cobalt_btns.c | 30 unsigned short keymap[ARRAY_SIZE(cobalt_map)]; member 43 for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) { in handle_buttons() 47 input_report_key(input, bdev->keymap[i], 1); in handle_buttons() 53 input_report_key(input, bdev->keymap[i], 0); in handle_buttons() 80 memcpy(bdev->keymap, cobalt_map, sizeof(bdev->keymap)); in cobalt_buttons_probe() 92 input->keycode = bdev->keymap; in cobalt_buttons_probe() 93 input->keycodemax = ARRAY_SIZE(bdev->keymap); in cobalt_buttons_probe() 99 __set_bit(bdev->keymap[i], input->keybit); in cobalt_buttons_probe()
|
| D | mc13783-pwrbutton.c | 39 unsigned short keymap[3]; member 68 input_report_key(priv->pwr, priv->keymap[0], val); in button_irq() 75 input_report_key(priv->pwr, priv->keymap[1], val); in button_irq() 82 input_report_key(priv->pwr, priv->keymap[2], val); in button_irq() 129 priv->keymap[0] = pdata->b1on_key; in mc13783_pwrbutton_probe() 148 priv->keymap[1] = pdata->b2on_key; in mc13783_pwrbutton_probe() 167 priv->keymap[2] = pdata->b3on_key; in mc13783_pwrbutton_probe() 193 pwr->keycode = priv->keymap; in mc13783_pwrbutton_probe() 194 pwr->keycodemax = ARRAY_SIZE(priv->keymap); in mc13783_pwrbutton_probe() 195 pwr->keycodesize = sizeof(priv->keymap[0]); in mc13783_pwrbutton_probe()
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | sgi_btns.c | 48 unsigned short keymap[ARRAY_SIZE(sgi_map)]; member 60 for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) { in handle_buttons() 64 input_report_key(input, bdev->keymap[i], 1); in handle_buttons() 70 input_report_key(input, bdev->keymap[i], 0); in handle_buttons() 92 memcpy(bdev->keymap, sgi_map, sizeof(bdev->keymap)); in sgi_buttons_probe() 100 input->keycode = bdev->keymap; in sgi_buttons_probe() 101 input->keycodemax = ARRAY_SIZE(bdev->keymap); in sgi_buttons_probe() 107 __set_bit(bdev->keymap[i], input->keybit); in sgi_buttons_probe()
|
| D | cobalt_btns.c | 30 unsigned short keymap[ARRAY_SIZE(cobalt_map)]; member 43 for (i = 0; i < ARRAY_SIZE(bdev->keymap); i++) { in handle_buttons() 47 input_report_key(input, bdev->keymap[i], 1); in handle_buttons() 53 input_report_key(input, bdev->keymap[i], 0); in handle_buttons() 80 memcpy(bdev->keymap, cobalt_map, sizeof(bdev->keymap)); in cobalt_buttons_probe() 92 input->keycode = bdev->keymap; in cobalt_buttons_probe() 93 input->keycodemax = ARRAY_SIZE(bdev->keymap); in cobalt_buttons_probe() 99 __set_bit(bdev->keymap[i], input->keybit); in cobalt_buttons_probe()
|
| D | mc13783-pwrbutton.c | 39 unsigned short keymap[3]; member 68 input_report_key(priv->pwr, priv->keymap[0], val); in button_irq() 75 input_report_key(priv->pwr, priv->keymap[1], val); in button_irq() 82 input_report_key(priv->pwr, priv->keymap[2], val); in button_irq() 129 priv->keymap[0] = pdata->b1on_key; in mc13783_pwrbutton_probe() 148 priv->keymap[1] = pdata->b2on_key; in mc13783_pwrbutton_probe() 167 priv->keymap[2] = pdata->b3on_key; in mc13783_pwrbutton_probe() 193 pwr->keycode = priv->keymap; in mc13783_pwrbutton_probe() 194 pwr->keycodemax = ARRAY_SIZE(priv->keymap); in mc13783_pwrbutton_probe() 195 pwr->keycodesize = sizeof(priv->keymap[0]); in mc13783_pwrbutton_probe()
|
| /kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
| D | dvb-usb-remote.c | 14 struct rc_map_table *keymap, in legacy_dvb_usb_get_keymap_index() argument 28 if (keymap[index].scancode == scancode) in legacy_dvb_usb_get_keymap_index() 34 if (keymap[index].keycode == KEY_RESERVED || in legacy_dvb_usb_get_keymap_index() 35 keymap[index].keycode == KEY_UNKNOWN) { in legacy_dvb_usb_get_keymap_index() 49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode() local 53 index = legacy_dvb_usb_get_keymap_index(ke, keymap, keymap_size); in legacy_dvb_usb_getkeycode() 57 ke->keycode = keymap[index].keycode; 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() 72 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_setkeycode() local [all …]
|
| /kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/ |
| D | dvb-usb-remote.c | 14 struct rc_map_table *keymap, in legacy_dvb_usb_get_keymap_index() argument 28 if (keymap[index].scancode == scancode) in legacy_dvb_usb_get_keymap_index() 34 if (keymap[index].keycode == KEY_RESERVED || in legacy_dvb_usb_get_keymap_index() 35 keymap[index].keycode == KEY_UNKNOWN) { in legacy_dvb_usb_get_keymap_index() 49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode() local 53 index = legacy_dvb_usb_get_keymap_index(ke, keymap, keymap_size); in legacy_dvb_usb_getkeycode() 57 ke->keycode = keymap[index].keycode; 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() 72 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_setkeycode() local [all …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | davinci_keyscan.c | 59 unsigned short keymap[]; member 109 unsigned short *keymap = davinci_ks->keymap; in davinci_ks_interrupt() local 132 keycode = keymap[i]; in davinci_ks_interrupt() 169 if (!pdata->keymap) { in davinci_ks_probe() 170 dev_dbg(dev, "no keymap from pdata\n"); in davinci_ks_probe() 181 memcpy(davinci_ks->keymap, pdata->keymap, in davinci_ks_probe() 236 __set_bit(davinci_ks->pdata->keymap[i], key_dev->keybit); in davinci_ks_probe() 245 key_dev->keycode = davinci_ks->keymap; in davinci_ks_probe() 246 key_dev->keycodesize = sizeof(davinci_ks->keymap[0]); in davinci_ks_probe()
|
| /kernel/linux/linux-6.6/include/linux/input/ |
| D | matrix_keypad.h | 24 * struct matrix_keymap_data - keymap for matrix keyboards 25 * @keymap: pointer to array of uint32 values encoded with KEY() macro 26 * representing keymap 27 * @keymap_size: number of entries (initialized) in this keymap 33 const uint32_t *keymap; member 86 unsigned short *keymap,
|
| /kernel/linux/linux-5.10/include/linux/input/ |
| D | matrix_keypad.h | 23 * struct matrix_keymap_data - keymap for matrix keyboards 24 * @keymap: pointer to array of uint32 values encoded with KEY() macro 25 * representing keymap 26 * @keymap_size: number of entries (initialized) in this keymap 32 const uint32_t *keymap; member 85 unsigned short *keymap,
|