Home
last modified time | relevance | path

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

/drivers/input/keyboard/
A Dadp5585-keys.c30 u8 max_cols; member
58 row = (events[ev] - 1) / kpad->info->max_cols; in adp5585_keys_validate_events()
59 col = (events[ev] - 1) % kpad->info->max_cols; in adp5585_keys_validate_events()
194 unsigned int i = 0, max_cols = kpad->info->max_cols; in adp5585_keys_setup() local
213 if (max_cols > 8) { in adp5585_keys_setup()
215 max_cols -= nbits; in adp5585_keys_setup()
217 nbits = max_cols; in adp5585_keys_setup()
245 row = (key - 1) / (kpad->info->max_cols); in adp5585_keys_ev_handle()
246 col = (key - 1) % (kpad->info->max_cols); in adp5585_keys_ev_handle()
341 .max_cols = 5,
[all …]
A Dstmpe-keypad.c77 int max_cols; member
88 .max_cols = 8,
98 .max_cols = 8,
108 .max_cols = 8,
218 for (i = 0; i < variant->max_cols; i++) { in stmpe_keypad_altfunc_init()

Completed in 5 milliseconds