Home
last modified time | relevance | path

Searched refs:n_rows (Results 1 – 5 of 5) sorted by relevance

/drivers/input/keyboard/
Dtwl4030_keypad.c64 unsigned int n_rows; member
182 KEYP_FULL_CODE_7_0, kp->n_rows); in twl4030_read_kp_matrix_state()
184 for (row = 0; row < kp->n_rows; row++) in twl4030_read_kp_matrix_state()
195 for (i = 0; i < kp->n_rows; i++) { in twl4030_is_in_ghost_state()
227 for (row = 0; row < kp->n_rows; row++) { in twl4030_kp_scan()
372 kp->n_rows = pdata->rows; in twl4030_kp_probe()
377 error = matrix_keypad_parse_of_params(&pdev->dev, &kp->n_rows, in twl4030_kp_probe()
385 if (kp->n_rows > TWL4030_MAX_ROWS || kp->n_cols > TWL4030_MAX_COLS) { in twl4030_kp_probe()
Dbcm-keypad.c82 unsigned int n_rows; member
216 error = matrix_keypad_parse_of_params(dev, &kp->n_rows, &kp->n_cols); in bcm_kp_matrix_key_parse_dt()
223 kp->kpcr |= (kp->n_rows - 1) << KPCR_ROWWIDTH_SHIFT; in bcm_kp_matrix_key_parse_dt()
236 num_rows = kp->n_rows; in bcm_kp_matrix_key_parse_dt()
296 kp->kpior = ((1 << kp->n_rows) - 1) << in bcm_kp_matrix_key_parse_dt()
310 kp->n_rows, kp->n_cols, in bcm_kp_matrix_key_parse_dt()
362 kp->n_rows, kp->n_cols, in bcm_kp_probe()
Dst-keyscan.c37 unsigned int n_rows; member
74 ((keypad->n_rows - 1) << KEYSCAN_MATRIX_DIM_Y_SHIFT), in keyscan_start()
109 error = matrix_keypad_parse_of_params(dev, &keypad_data->n_rows, in keypad_matrix_key_parse_dt()
119 keypad_data->n_rows, keypad_data->n_cols, in keypad_matrix_key_parse_dt()
161 keypad_data->n_rows, in keyscan_probe()
/drivers/uwb/
Dallocator.c273 int n_rows; in uwb_rsv_find_best_row_alloc() local
278 for (n_rows = max_rows; n_rows >= min_rows; n_rows--) { in uwb_rsv_find_best_row_alloc()
279 if (n_rows <= ai->ri.free_rows) { in uwb_rsv_find_best_row_alloc()
280 ai->ri.used_rows = n_rows; in uwb_rsv_find_best_row_alloc()
/drivers/s390/char/
Dtty3270.c84 unsigned int n_model, n_cols, n_rows; /* New model & size */ member
852 screen = tty3270_alloc_screen(tp->n_rows, tp->n_cols); in tty3270_resize_work()
861 tp->view.rows = tp->n_rows; in tty3270_resize_work()
889 if (tp->n_model == model && tp->n_rows == rows && tp->n_cols == cols) in tty3270_resize()
892 tp->n_rows = rows; in tty3270_resize()