Home
last modified time | relevance | path

Searched refs:MATRIX_SCAN_CODE (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/include/linux/input/
Dmatrix_keypad.h20 #define MATRIX_SCAN_CODE(row, col, row_shift) (((row) << (row_shift)) + (col)) macro
/linux-6.1.9/drivers/input/keyboard/
Dstmpe-keypad.c179 int code = MATRIX_SCAN_CODE(row, col, STMPE_KEYPAD_ROW_SHIFT); in stmpe_keypad_irq()
320 int code = MATRIX_SCAN_CODE(row, col, in stmpe_keypad_fill_used_pins()
Dcros_ec_keyb.c182 int pos = MATRIX_SCAN_CODE(row, col, ckdev->row_shift); in cros_ec_keyb_process()
308 code = keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; in cros_ec_keyb_compute_valid_keys()
559 scancode = MATRIX_SCAN_CODE(row, col, ckdev->row_shift); in cros_ec_keyb_parse_vivaldi_physmap()
Dclps711x-keypad.c60 int code = MATRIX_SCAN_CODE(row, col, in clps711x_keypad_poll()
Dimx_keypad.c169 code = MATRIX_SCAN_CODE(row, col, MATRIX_ROW_SHIFT); in imx_keypad_fire_events()
476 i = MATRIX_SCAN_CODE(row, col, MATRIX_ROW_SHIFT); in imx_keypad_probe()
Dmax7359_keypad.c96 code = MATRIX_SCAN_CODE(row, col, MAX7359_ROW_SHIFT); in max7359_interrupt()
Dnspire-keypad.c82 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in nspire_keypad_irq()
Dmt6779-keypad.c76 scancode = MATRIX_SCAN_CODE(row, col, row_shift); in mt6779_keypad_irq_handler()
Domap-keypad.c119 key = keycodes[MATRIX_SCAN_CODE(row, col, row_shift)]; in omap_kp_tasklet()
Dtca8418_keypad.c187 code = MATRIX_SCAN_CODE(row, col, keypad_data->row_shift); in tca8418_read_keypad()
Dlpc32xx-keys.c85 scancode = MATRIX_SCAN_CODE(row, col, in lpc32xx_mod_states()
Dtwl4030_keypad.c231 code = MATRIX_SCAN_CODE(row, col, TWL4030_ROW_SHIFT); in twl4030_kp_scan()
Dnomadik-ske-keypad.c156 code = MATRIX_SCAN_CODE(row, col, SKE_KEYPAD_ROW_SHIFT); in ske_keypad_report()
Dtc3589x-keypad.c207 code = MATRIX_SCAN_CODE(row_index, col_index, in tc3589x_keypad_irq()
Dbcm-keypad.c90 return keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; in bcm_kp_get_keycode()
Domap4-keypad.c127 code = MATRIX_SCAN_CODE(row, col, keypad_data->row_shift); in omap4_keypad_report_keys()
Dpinephone-keyboard.c257 code = MATRIX_SCAN_CODE(fn_state ? PPKB_ROWS + row : row, in ppkb_update()
Dmatrix_keypad.c153 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in matrix_keypad_scan()
Dpmic8xxx-keypad.c238 code = MATRIX_SCAN_CODE(row, col, PM8XXX_ROW_SHIFT); in __pmic8xxx_kp_scan_matrix()
Dsamsung-keypad.c131 val = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in samsung_keypad_report()
Dpxa27x_keypad.c464 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in pxa27x_keypad_scan_matrix()
Dtegra-kbc.c162 MATRIX_SCAN_CODE(row, col, KBC_ROW_SHIFT); in tegra_kbc_report_keys()
Dadp5588-keys.c539 int code = MATRIX_SCAN_CODE(row, col, kpad->row_shift); in adp5588_report_events()
/linux-6.1.9/drivers/input/
Dmatrix-keymap.c38 keymap[MATRIX_SCAN_CODE(row, col, row_shift)] = code; in matrix_keypad_map_key()
/linux-6.1.9/drivers/auxdisplay/
Dht16k33.c397 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in ht16k33_keypad_scan()