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

/linux-4.4.14/drivers/input/keyboard/
H A Dimx_keypad.c40 #define KPDR 0x06 /* Keypad Data Register */ macro
97 reg_val = readw(keypad->mmio_base + KPDR); imx_keypad_scan_matrix()
99 writew(reg_val, keypad->mmio_base + KPDR); imx_keypad_scan_matrix()
116 reg_val = readw(keypad->mmio_base + KPDR); imx_keypad_scan_matrix()
118 writew(reg_val, keypad->mmio_base + KPDR); imx_keypad_scan_matrix()
130 reg_val = readw(keypad->mmio_base + KPDR); imx_keypad_scan_matrix()
138 reg_val = readw(keypad->mmio_base + KPDR); imx_keypad_scan_matrix()
140 writew(reg_val, keypad->mmio_base + KPDR); imx_keypad_scan_matrix()
329 /* Write 0's to KPDR[15:8] (Colums) */ imx_keypad_config()
330 reg_val = readw(keypad->mmio_base + KPDR); imx_keypad_config()
332 writew(reg_val, keypad->mmio_base + KPDR); imx_keypad_config()
402 if ((readw(keypad->mmio_base + KPDR) & keypad->rows_en_mask) == 0) { imx_keypad_open()

Completed in 165 milliseconds