Searched refs:n_rows (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/input/keyboard/ |
H A D | twl4030_keypad.c | 51 unsigned int n_rows; member 169 KEYP_FULL_CODE_7_0, kp->n_rows); in twl4030_read_kp_matrix_state() 171 for (row = 0; row < kp->n_rows; row++) in twl4030_read_kp_matrix_state() 182 for (i = 0; i < kp->n_rows; i++) { in twl4030_is_in_ghost_state() 214 for (row = 0; row < kp->n_rows; row++) { in twl4030_kp_scan() 359 kp->n_rows = pdata->rows; in twl4030_kp_probe() 364 error = matrix_keypad_parse_properties(&pdev->dev, &kp->n_rows, in twl4030_kp_probe() 372 if (kp->n_rows > TWL4030_MAX_ROWS || kp->n_cols > TWL4030_MAX_COLS) { in twl4030_kp_probe()
|
H A D | bcm-keypad.c | 72 unsigned int n_rows; member 205 error = matrix_keypad_parse_properties(dev, &kp->n_rows, &kp->n_cols); in bcm_kp_matrix_key_parse_dt() 212 kp->kpcr |= (kp->n_rows - 1) << KPCR_ROWWIDTH_SHIFT; in bcm_kp_matrix_key_parse_dt() 225 num_rows = kp->n_rows; in bcm_kp_matrix_key_parse_dt() 285 kp->kpior = ((1 << kp->n_rows) - 1) << in bcm_kp_matrix_key_parse_dt() 299 kp->n_rows, kp->n_cols, in bcm_kp_matrix_key_parse_dt() 348 kp->n_rows, kp->n_cols, in bcm_kp_probe()
|
H A D | mt6779-keypad.c | 34 u32 n_rows; member 148 error = matrix_keypad_parse_properties(&pdev->dev, &keypad->n_rows, in mt6779_keypad_pdrv_probe() 186 keypad->n_rows, keypad->n_cols, debounce); in mt6779_keypad_pdrv_probe() 189 keypad->n_rows, keypad->n_cols, in mt6779_keypad_pdrv_probe() 207 MTK_KPD_SEL_ROWMASK(keypad->n_rows)); in mt6779_keypad_pdrv_probe()
|
H A D | st-keyscan.c | 36 unsigned int n_rows; member 73 ((keypad->n_rows - 1) << KEYSCAN_MATRIX_DIM_Y_SHIFT), in keyscan_start() 108 error = matrix_keypad_parse_properties(dev, &keypad_data->n_rows, in keypad_matrix_key_parse_dt() 118 keypad_data->n_rows, keypad_data->n_cols, in keypad_matrix_key_parse_dt() 161 keypad_data->n_rows, in keyscan_probe()
|