Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/input/keyboard/
Dlpc32xx-keys.c72 static void lpc32xx_mod_states(struct lpc32xx_kscan_drv *kscandat, int col) in lpc32xx_mod_states() argument
74 struct input_dev *input = kscandat->input; in lpc32xx_mod_states()
78 key = readl(LPC32XX_KS_DATA(kscandat->kscan_base, col)); in lpc32xx_mod_states()
79 changed = key ^ kscandat->lastkeystates[col]; in lpc32xx_mod_states()
80 kscandat->lastkeystates[col] = key; in lpc32xx_mod_states()
86 kscandat->row_shift); in lpc32xx_mod_states()
87 keycode = kscandat->keymap[scancode]; in lpc32xx_mod_states()
96 struct lpc32xx_kscan_drv *kscandat = dev_id; in lpc32xx_kscan_irq() local
99 for (i = 0; i < kscandat->matrix_sz; i++) in lpc32xx_kscan_irq()
100 lpc32xx_mod_states(kscandat, i); in lpc32xx_kscan_irq()
[all …]