Searched refs:row_shift (Results 1 – 12 of 12) sorted by relevance
/drivers/input/ |
D | matrix-keymap.c | 32 unsigned int row_shift, unsigned int key) in matrix_keypad_map_key() argument 46 keymap[MATRIX_SCAN_CODE(row, col, row_shift)] = code; in matrix_keypad_map_key() 79 unsigned int row_shift = get_count_order(cols); in matrix_keypad_parse_of_keymap() local 80 unsigned int max_keys = rows << row_shift; in matrix_keypad_parse_of_keymap() 113 row_shift, key)) in matrix_keypad_parse_of_keymap() 161 unsigned int row_shift = get_count_order(cols); in matrix_keypad_build_keymap() local 162 size_t max_keys = rows << row_shift; in matrix_keypad_build_keymap() 191 row_shift, key)) in matrix_keypad_build_keymap()
|
/drivers/input/keyboard/ |
D | tca8418_keypad.c | 117 unsigned int row_shift; member 188 code = MATRIX_SCAN_CODE(row, col, keypad_data->row_shift); in tca8418_read_keypad() 277 int error, row_shift, max_keys; in tca8418_keypad_probe() local 317 row_shift = get_count_order(cols); in tca8418_keypad_probe() 318 max_keys = rows << row_shift; in tca8418_keypad_probe() 326 keypad_data->row_shift = row_shift; in tca8418_keypad_probe()
|
D | cros_ec_keyb.c | 53 int row_shift; member 133 int pos = MATRIX_SCAN_CODE(row, col, ckdev->row_shift); in cros_ec_keyb_process() 199 int row_shift = ckdev->row_shift; in cros_ec_keyb_compute_valid_keys() local 207 code = keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; in cros_ec_keyb_compute_valid_keys() 274 ckdev->row_shift = get_count_order(ckdev->cols); in cros_ec_keyb_probe()
|
D | omap-keypad.c | 108 unsigned int row_shift = get_count_order(omap_kp_data->cols); in omap_kp_tasklet() local 131 key = keycodes[MATRIX_SCAN_CODE(row, col, row_shift)]; in omap_kp_tasklet() 196 unsigned int row_shift, keycodemax; in omap_kp_probe() local 203 row_shift = get_count_order(pdata->cols); in omap_kp_probe() 204 keycodemax = pdata->rows << row_shift; in omap_kp_probe()
|
D | samsung-keypad.c | 76 unsigned int row_shift; member 135 val = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in samsung_keypad_report() 326 unsigned int row_shift; in samsung_keypad_probe() local 353 row_shift = get_count_order(pdata->cols); in samsung_keypad_probe() 354 keymap_size = (pdata->rows << row_shift) * sizeof(keypad->keycodes[0]); in samsung_keypad_probe() 384 keypad->row_shift = row_shift; in samsung_keypad_probe()
|
D | clps711x-keypad.c | 33 unsigned int row_shift; member 64 priv->row_shift); in clps711x_keypad_poll() 118 priv->row_shift = get_count_order(CLPS711X_KEYPAD_COL_COUNT); in clps711x_keypad_probe()
|
D | lpc32xx-keys.c | 77 unsigned int row_shift; member 96 kscandat->row_shift); in lpc32xx_mod_states() 157 kscandat->row_shift = get_count_order(columns); in lpc32xx_parse_dt() 202 (kscandat->matrix_sz << kscandat->row_shift); in lpc32xx_kscan_probe()
|
D | nspire-keypad.c | 42 int row_shift; member 85 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in nspire_keypad_irq() 183 keypad->row_shift = get_count_order(KEYPAD_BITMASK_COLS); in nspire_keypad_probe()
|
D | omap4-keypad.c | 82 unsigned int row_shift; member 148 keypad_data->row_shift); in omap4_keypad_irq_thread_fn() 338 keypad_data->row_shift = get_count_order(keypad_data->cols); in omap4_keypad_probe() 339 max_keys = keypad_data->rows << keypad_data->row_shift; in omap4_keypad_probe()
|
D | matrix_keypad.c | 32 unsigned int row_shift; member 154 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in matrix_keypad_scan() 500 keypad->row_shift = get_count_order(pdata->num_col_gpios); in matrix_keypad_probe()
|
D | bcm-keypad.c | 97 unsigned int row_shift = get_count_order(kp->n_cols); in bcm_kp_get_keycode() local 100 return keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; in bcm_kp_get_keycode()
|
D | pxa27x_keypad.c | 111 unsigned int row_shift; member 467 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in pxa27x_keypad_scan_matrix() 793 keypad->row_shift = get_count_order(pdata->matrix_key_cols); in pxa27x_keypad_probe()
|