Home
last modified time | relevance | path

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

/linux/drivers/input/keyboard/
H A Dlpc32xx-keys.c71 static void lpc32xx_mod_states(struct lpc32xx_kscan_drv *kscandat, int col) in lpc32xx_mod_states() argument
73 struct input_dev *input = kscandat->input; in lpc32xx_mod_states()
77 key = readl(LPC32XX_KS_DATA(kscandat->kscan_base, col)); in lpc32xx_mod_states()
78 changed = key ^ kscandat->lastkeystates[col]; in lpc32xx_mod_states()
79 kscandat->lastkeystates[col] = key; in lpc32xx_mod_states()
85 kscandat->row_shift); in lpc32xx_mod_states()
86 keycode = kscandat->keymap[scancode]; in lpc32xx_mod_states()
95 struct lpc32xx_kscan_drv *kscandat = dev_id; in lpc32xx_kscan_irq() local
98 for (i = 0; i < kscandat->matrix_sz; i++) in lpc32xx_kscan_irq()
99 lpc32xx_mod_states(kscandat, i); in lpc32xx_kscan_irq()
[all …]