Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/input/
Dmatrix-keymap.c24 unsigned int row_shift, unsigned int key) in matrix_keypad_map_key() argument
38 keymap[MATRIX_SCAN_CODE(row, col, row_shift)] = code; in matrix_keypad_map_key()
74 unsigned int row_shift = get_count_order(cols); in matrix_keypad_parse_keymap() local
75 unsigned int max_keys = rows << row_shift; in matrix_keypad_parse_keymap()
109 row_shift, keys[i])) in matrix_keypad_parse_keymap()
149 unsigned int row_shift = get_count_order(cols); in matrix_keypad_build_keymap() local
150 size_t max_keys = rows << row_shift; in matrix_keypad_build_keymap()
179 row_shift, key)) in matrix_keypad_build_keymap()
/linux-6.12.1/drivers/edac/
Dsynopsys_edac.c327 u32 row_shift[18]; member
1017 if (priv->row_shift[index]) in ddr_poison_setup()
1018 row |= (((hif_addr >> priv->row_shift[index]) & in ddr_poison_setup()
1146 priv->row_shift[0] = (addrmap[5] & ROW_MAX_VAL_MASK) + ROW_B0_BASE; in setup_row_address_map()
1147 priv->row_shift[1] = ((addrmap[5] >> 8) & in setup_row_address_map()
1153 priv->row_shift[index] = addrmap_row_b2_10 + in setup_row_address_map()
1157 priv->row_shift[2] = (addrmap[9] & in setup_row_address_map()
1159 priv->row_shift[3] = ((addrmap[9] >> 8) & in setup_row_address_map()
1161 priv->row_shift[4] = ((addrmap[9] >> 16) & in setup_row_address_map()
1163 priv->row_shift[5] = ((addrmap[9] >> 24) & in setup_row_address_map()
[all …]
/linux-6.12.1/drivers/input/keyboard/
Dtca8418_keypad.c116 unsigned int row_shift; member
187 code = MATRIX_SCAN_CODE(row, col, keypad_data->row_shift); in tca8418_read_keypad()
268 int error, row_shift; in tca8418_keypad_probe() local
292 row_shift = get_count_order(cols); in tca8418_keypad_probe()
300 keypad_data->row_shift = row_shift; in tca8418_keypad_probe()
Domap-keypad.c92 unsigned int row_shift = get_count_order(omap_kp_data->cols); in omap_kp_tasklet() local
115 key = keycodes[MATRIX_SCAN_CODE(row, col, row_shift)]; in omap_kp_tasklet()
186 unsigned int row_shift, keycodemax; in omap_kp_probe() local
193 row_shift = get_count_order(pdata->cols); in omap_kp_probe()
194 keycodemax = pdata->rows << row_shift; in omap_kp_probe()
Dsamsung-keypad.c72 unsigned int row_shift; member
131 val = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in samsung_keypad_report()
320 unsigned int row_shift; in samsung_keypad_probe() local
347 row_shift = get_count_order(pdata->cols); in samsung_keypad_probe()
348 keymap_size = (pdata->rows << row_shift) * sizeof(keypad->keycodes[0]); in samsung_keypad_probe()
378 keypad->row_shift = row_shift; in samsung_keypad_probe()
Dclps711x-keypad.c30 unsigned int row_shift; member
61 priv->row_shift); in clps711x_keypad_poll()
113 priv->row_shift = get_count_order(CLPS711X_KEYPAD_COL_COUNT); in clps711x_keypad_probe()
Dcros_ec_keyb.c51 int row_shift; member
195 int pos = MATRIX_SCAN_CODE(row, col, ckdev->row_shift); in cros_ec_keyb_process()
313 int row_shift = ckdev->row_shift; in cros_ec_keyb_compute_valid_keys() local
321 code = keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; in cros_ec_keyb_compute_valid_keys()
572 scancode = MATRIX_SCAN_CODE(row, col, ckdev->row_shift); in cros_ec_keyb_parse_vivaldi_physmap()
639 ckdev->row_shift = get_count_order(ckdev->cols); in cros_ec_keyb_register_matrix()
Dlpc32xx-keys.c65 unsigned int row_shift; member
85 kscandat->row_shift); in lpc32xx_mod_states()
146 kscandat->row_shift = get_count_order(columns); in lpc32xx_parse_dt()
182 (kscandat->matrix_sz << kscandat->row_shift); in lpc32xx_kscan_probe()
Dnspire-keypad.c39 int row_shift; member
82 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in nspire_keypad_irq()
165 keypad->row_shift = get_count_order(KEYPAD_BITMASK_COLS); in nspire_keypad_probe()
Domap4-keypad.c83 unsigned int row_shift; member
129 code = MATRIX_SCAN_CODE(row, col, keypad_data->row_shift); in omap4_keypad_report_keys()
434 keypad_data->row_shift = get_count_order(keypad_data->cols); in omap4_keypad_probe()
435 max_keys = keypad_data->rows << keypad_data->row_shift; in omap4_keypad_probe()
Dmatrix_keypad.c27 unsigned int row_shift; member
147 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in matrix_keypad_scan()
403 keypad->row_shift = get_count_order(keypad->num_col_gpios); in matrix_keypad_probe()
Dmt6779-keypad.c57 unsigned int row_shift = get_count_order(keypad->n_cols); in mt6779_keypad_irq_handler() local
76 scancode = MATRIX_SCAN_CODE(row, col, row_shift); in mt6779_keypad_irq_handler()
Dbcm-keypad.c87 unsigned int row_shift = get_count_order(kp->n_cols); in bcm_kp_get_keycode() local
90 return keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; in bcm_kp_get_keycode()
Dpxa27x_keypad.c108 unsigned int row_shift; member
464 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in pxa27x_keypad_scan_matrix()
784 keypad->row_shift = get_count_order(pdata->matrix_key_cols); in pxa27x_keypad_probe()
Dpinephone-keyboard.c210 int row_shift = get_count_order(PPKB_COLS); in ppkb_update() local
258 col, row_shift); in ppkb_update()
Dadp5588-keys.c186 u32 row_shift; member
532 int code = MATRIX_SCAN_CODE(row, col, kpad->row_shift); in adp5588_report_events()
671 kpad->row_shift = get_count_order(kpad->cols); in adp5588_fw_parse()
/linux-6.12.1/include/linux/input/
Dmatrix_keypad.h21 #define MATRIX_SCAN_CODE(row, col, row_shift) (((row) << (row_shift)) + (col)) argument
/linux-6.12.1/drivers/auxdisplay/
Dht16k33.c74 uint32_t row_shift; member
353 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in ht16k33_keypad_scan()
537 keypad->row_shift = get_count_order(cols); in ht16k33_keypad_probe()