/drivers/input/ |
D | matrix-keymap.c | 24 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() 110 row_shift, keys[i])) { in matrix_keypad_parse_keymap() 156 unsigned int row_shift = get_count_order(cols); in matrix_keypad_build_keymap() local 157 size_t max_keys = rows << row_shift; in matrix_keypad_build_keymap() 186 row_shift, key)) in matrix_keypad_build_keymap()
|
/drivers/edac/ |
D | synopsys_edac.c | 332 u32 row_shift[18]; member 934 if (priv->row_shift[index]) in ddr_poison_setup() 935 row |= (((hif_addr >> priv->row_shift[index]) & in ddr_poison_setup() 1063 priv->row_shift[0] = (addrmap[5] & ROW_MAX_VAL_MASK) + ROW_B0_BASE; in setup_row_address_map() 1064 priv->row_shift[1] = ((addrmap[5] >> 8) & in setup_row_address_map() 1070 priv->row_shift[index] = addrmap_row_b2_10 + in setup_row_address_map() 1074 priv->row_shift[2] = (addrmap[9] & in setup_row_address_map() 1076 priv->row_shift[3] = ((addrmap[9] >> 8) & in setup_row_address_map() 1078 priv->row_shift[4] = ((addrmap[9] >> 16) & in setup_row_address_map() 1080 priv->row_shift[5] = ((addrmap[9] >> 24) & in setup_row_address_map() [all …]
|
/drivers/input/keyboard/ |
D | tca8418_keypad.c | 116 unsigned int row_shift; member 187 code = MATRIX_SCAN_CODE(row, col, keypad_data->row_shift); in tca8418_read_keypad() 269 int error, row_shift; in tca8418_keypad_probe() local 293 row_shift = get_count_order(cols); in tca8418_keypad_probe() 301 keypad_data->row_shift = row_shift; in tca8418_keypad_probe()
|
D | omap-keypad.c | 95 unsigned int row_shift = get_count_order(omap_kp_data->cols); in omap_kp_tasklet() local 118 key = keycodes[MATRIX_SCAN_CODE(row, col, row_shift)]; in omap_kp_tasklet() 183 unsigned int row_shift, keycodemax; in omap_kp_probe() local 190 row_shift = get_count_order(pdata->cols); in omap_kp_probe() 191 keycodemax = pdata->rows << row_shift; in omap_kp_probe()
|
D | samsung-keypad.c | 72 unsigned int row_shift; member 131 val = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in samsung_keypad_report() 322 unsigned int row_shift; in samsung_keypad_probe() local 349 row_shift = get_count_order(pdata->cols); in samsung_keypad_probe() 350 keymap_size = (pdata->rows << row_shift) * sizeof(keypad->keycodes[0]); in samsung_keypad_probe() 380 keypad->row_shift = row_shift; in samsung_keypad_probe()
|
D | clps711x-keypad.c | 28 unsigned int row_shift; member 59 priv->row_shift); in clps711x_keypad_poll() 113 priv->row_shift = get_count_order(CLPS711X_KEYPAD_COL_COUNT); in clps711x_keypad_probe()
|
D | cros_ec_keyb.c | 47 int row_shift; member 176 int pos = MATRIX_SCAN_CODE(row, col, ckdev->row_shift); in cros_ec_keyb_process() 294 int row_shift = ckdev->row_shift; in cros_ec_keyb_compute_valid_keys() local 302 code = keymap[MATRIX_SCAN_CODE(row, col, row_shift)]; in cros_ec_keyb_compute_valid_keys() 573 ckdev->row_shift = get_count_order(ckdev->cols); in cros_ec_keyb_register_matrix()
|
D | lpc32xx-keys.c | 67 unsigned int row_shift; member 86 kscandat->row_shift); in lpc32xx_mod_states() 147 kscandat->row_shift = get_count_order(columns); in lpc32xx_parse_dt() 190 (kscandat->matrix_sz << kscandat->row_shift); in lpc32xx_kscan_probe()
|
D | nspire-keypad.c | 39 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()
|
D | omap4-keypad.c | 79 unsigned int row_shift; member 141 keypad_data->row_shift); in omap4_keypad_irq_thread_fn() 345 keypad_data->row_shift = get_count_order(keypad_data->cols); in omap4_keypad_probe() 346 max_keys = keypad_data->rows << keypad_data->row_shift; in omap4_keypad_probe()
|
D | matrix_keypad.c | 28 unsigned int row_shift; member 152 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in matrix_keypad_scan() 506 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 | 108 unsigned int row_shift; member 464 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()
|
/drivers/auxdisplay/ |
D | ht16k33.c | 55 uint32_t row_shift; member 279 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in ht16k33_keypad_scan() 370 keypad->row_shift = get_count_order(cols); in ht16k33_keypad_probe()
|