Searched refs:n_cols (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/input/keyboard/ |
H A D | bcm-keypad.c | 83 unsigned int n_cols; member in struct:bcm_kp 97 unsigned int row_shift = get_count_order(kp->n_cols); bcm_kp_get_keycode() 216 error = matrix_keypad_parse_of_params(dev, &kp->n_rows, &kp->n_cols); bcm_kp_matrix_key_parse_dt() 226 kp->kpcr |= (kp->n_cols - 1) << KPCR_COLUMNWIDTH_SHIFT; bcm_kp_matrix_key_parse_dt() 235 col_mask = (1 << (kp->n_cols)) - 1; bcm_kp_matrix_key_parse_dt() 299 kp->kpior = ((1 << kp->n_cols) - 1) << bcm_kp_matrix_key_parse_dt() 310 kp->n_rows, kp->n_cols, bcm_kp_matrix_key_parse_dt() 362 kp->n_rows, kp->n_cols, bcm_kp_probe()
|
H A D | st-keyscan.c | 38 unsigned int n_cols; member in struct:st_keyscan 73 writel(((keypad->n_cols - 1) << KEYSCAN_MATRIX_DIM_X_SHIFT) | keyscan_start() 110 &keypad_data->n_cols); keypad_matrix_key_parse_dt() 119 keypad_data->n_rows, keypad_data->n_cols, keypad_matrix_key_parse_dt() 162 keypad_data->n_cols, keyscan_probe()
|
H A D | twl4030_keypad.c | 65 unsigned n_cols; member in struct:twl4030_keypad 167 * key on as if it was on matrix position n_cols (ie twl4030_col_xlate() 171 return 1 << kp->n_cols; twl4030_col_xlate() 173 return col & ((1 << kp->n_cols) - 1); twl4030_col_xlate() 233 for (col = 0; col < kp->n_cols + 1; col++) { twl4030_kp_scan() 369 kp->n_cols = pdata->cols; twl4030_kp_probe() 374 &kp->n_cols); twl4030_kp_probe() 381 if (kp->n_rows > TWL4030_MAX_ROWS || kp->n_cols > TWL4030_MAX_COLS) { twl4030_kp_probe()
|
/linux-4.1.27/drivers/s390/char/ |
H A D | tty3270.c | 84 unsigned int n_model, n_cols, n_rows; /* New model & size */ member in struct:tty3270 808 screen = tty3270_alloc_screen(tp->n_rows, tp->n_cols); tty3270_resize_work() 817 tp->view.cols = tp->n_cols; tty3270_resize_work() 846 tp->n_cols = cols; tty3270_resize()
|
Completed in 247 milliseconds