Lines Matching defs:twl4030_keypad
3 * twl4030_keypad.c - driver for 8x8 keypad controller in twl4030 chips
47 struct twl4030_keypad {
125 static int twl4030_kpread(struct twl4030_keypad *kp,
138 static int twl4030_kpwrite_u8(struct twl4030_keypad *kp, u8 data, u32 reg)
150 static inline u16 twl4030_col_xlate(struct twl4030_keypad *kp, u8 col)
164 static int twl4030_read_kp_matrix_state(struct twl4030_keypad *kp, u16 *state)
177 static bool twl4030_is_in_ghost_state(struct twl4030_keypad *kp, u16 *key_state)
194 static void twl4030_kp_scan(struct twl4030_keypad *kp, bool release_all)
246 struct twl4030_keypad *kp = _kp;
265 static int twl4030_kp_program(struct twl4030_keypad *kp)
327 struct twl4030_keypad *kp;
346 input->phys = "twl4030_keypad/input0";
449 .name = "twl4030_keypad",
458 MODULE_ALIAS("platform:twl4030_keypad");