Searched refs:n_cols (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/input/keyboard/ |
D | mt6779-keypad.c | 35 u32 n_cols; member 57 unsigned int row_shift = get_count_order(keypad->n_cols); in mt6779_keypad_irq_handler() 154 &keypad->n_cols); in mt6779_keypad_pdrv_probe() 191 keypad->n_rows, keypad->n_cols, debounce); in mt6779_keypad_pdrv_probe() 194 keypad->n_rows, keypad->n_cols, in mt6779_keypad_pdrv_probe() 214 MTK_KPD_SEL_COLMASK(keypad->n_cols)); in mt6779_keypad_pdrv_probe()
|
D | twl4030_keypad.c | 52 unsigned int n_cols; member 159 return 1 << kp->n_cols; in twl4030_col_xlate() 161 return col & ((1 << kp->n_cols) - 1); in twl4030_col_xlate() 221 for (col = 0; col < kp->n_cols + 1; col++) { in twl4030_kp_scan() 360 kp->n_cols = pdata->cols; in twl4030_kp_probe() 365 &kp->n_cols); in twl4030_kp_probe() 372 if (kp->n_rows > TWL4030_MAX_ROWS || kp->n_cols > TWL4030_MAX_COLS) { in twl4030_kp_probe()
|
D | bcm-keypad.c | 73 unsigned int n_cols; member 87 unsigned int row_shift = get_count_order(kp->n_cols); in bcm_kp_get_keycode() 205 error = matrix_keypad_parse_properties(dev, &kp->n_rows, &kp->n_cols); in bcm_kp_matrix_key_parse_dt() 215 kp->kpcr |= (kp->n_cols - 1) << KPCR_COLUMNWIDTH_SHIFT; in bcm_kp_matrix_key_parse_dt() 224 col_mask = (1 << (kp->n_cols)) - 1; in bcm_kp_matrix_key_parse_dt() 288 kp->kpior = ((1 << kp->n_cols) - 1) << in bcm_kp_matrix_key_parse_dt() 299 kp->n_rows, kp->n_cols, in bcm_kp_matrix_key_parse_dt() 349 kp->n_rows, kp->n_cols, in bcm_kp_probe()
|
D | st-keyscan.c | 37 unsigned int n_cols; member 72 writel(((keypad->n_cols - 1) << KEYSCAN_MATRIX_DIM_X_SHIFT) | in keyscan_start() 109 &keypad_data->n_cols); in keypad_matrix_key_parse_dt() 118 keypad_data->n_rows, keypad_data->n_cols, in keypad_matrix_key_parse_dt() 163 keypad_data->n_cols, in keyscan_probe()
|
/linux-6.1.9/drivers/s390/char/ |
D | tty3270.c | 85 unsigned int n_model, n_cols, n_rows; /* New model & size */ member 856 screen = tty3270_alloc_screen(tp->n_rows, tp->n_cols); in tty3270_resize_work() 866 tp->view.cols = tp->n_cols; in tty3270_resize_work() 893 if (tp->n_model == model && tp->n_rows == rows && tp->n_cols == cols) in tty3270_resize() 897 tp->n_cols = cols; in tty3270_resize()
|
/linux-6.1.9/drivers/soundwire/ |
D | cadence_master.c | 1267 static u32 cdns_set_initial_frame_shape(int n_rows, int n_cols) in cdns_set_initial_frame_shape() argument 1274 c = sdw_find_col_index(n_cols); in cdns_set_initial_frame_shape()
|