Searched refs:KPCR (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/input/keyboard/
H A Dimx_keypad.c28 #define KPCR 0x00 /* Keypad Control Register */ macro
101 reg_val = readw(keypad->mmio_base + KPCR); imx_keypad_scan_matrix()
103 writew(reg_val, keypad->mmio_base + KPCR); imx_keypad_scan_matrix()
107 reg_val = readw(keypad->mmio_base + KPCR); imx_keypad_scan_matrix()
109 writew(reg_val, keypad->mmio_base + KPCR); imx_keypad_scan_matrix()
321 * Include enabled rows in interrupt generation (KPCR[7:0]) imx_keypad_config()
322 * Configure keypad columns as open-drain (KPCR[15:8]) imx_keypad_config()
324 reg_val = readw(keypad->mmio_base + KPCR); imx_keypad_config()
327 writew(reg_val, keypad->mmio_base + KPCR); imx_keypad_config()
364 writew(reg_val, keypad->mmio_base + KPCR); imx_keypad_inhibit()
H A Dbcm-keypad.c213 /* Initialize the KPCR Keypad Configuration Register */ bcm_kp_matrix_key_parse_dt()

Completed in 270 milliseconds