Searched refs:n_cols (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A 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()
|
H A D | twl4030_keypad.c | 52 unsigned int n_cols; member 155 * key on as if it was on matrix position n_cols (i.e. in twl4030_col_xlate() 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()
|
H A 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() 162 keypad_data->n_cols, in keyscan_probe()
|
H A 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() 348 kp->n_rows, kp->n_cols, in bcm_kp_probe()
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | twl4030_keypad.c | 52 unsigned int n_cols; member 155 * key on as if it was on matrix position n_cols (i.e. in twl4030_col_xlate() 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()
|
H A D | st-keyscan.c | 35 unsigned int n_cols; member 70 writel(((keypad->n_cols - 1) << KEYSCAN_MATRIX_DIM_X_SHIFT) | in keyscan_start() 107 &keypad_data->n_cols); in keypad_matrix_key_parse_dt() 116 keypad_data->n_rows, keypad_data->n_cols, in keypad_matrix_key_parse_dt() 161 keypad_data->n_cols, in keyscan_probe()
|
H A D | bcm-keypad.c | 83 unsigned int n_cols; member 97 unsigned int row_shift = get_count_order(kp->n_cols); in bcm_kp_get_keycode() 216 error = matrix_keypad_parse_properties(dev, &kp->n_rows, &kp->n_cols); in bcm_kp_matrix_key_parse_dt() 226 kp->kpcr |= (kp->n_cols - 1) << KPCR_COLUMNWIDTH_SHIFT; in bcm_kp_matrix_key_parse_dt() 235 col_mask = (1 << (kp->n_cols)) - 1; in bcm_kp_matrix_key_parse_dt() 299 kp->kpior = ((1 << kp->n_cols) - 1) << in bcm_kp_matrix_key_parse_dt() 310 kp->n_rows, kp->n_cols, in bcm_kp_matrix_key_parse_dt() 360 kp->n_rows, kp->n_cols, in bcm_kp_probe()
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | tty3270.c | 85 unsigned int n_model, n_cols, n_rows; /* New model & size */ member 854 screen = tty3270_alloc_screen(tp->n_rows, tp->n_cols); in tty3270_resize_work() 864 tp->view.cols = tp->n_cols; in tty3270_resize_work() 891 if (tp->n_model == model && tp->n_rows == rows && tp->n_cols == cols) in tty3270_resize() 895 tp->n_cols = cols; in tty3270_resize()
|
/kernel/linux/linux-5.10/drivers/soundwire/ |
H A D | cadence_master.c | 1174 static u32 cdns_set_initial_frame_shape(int n_rows, int n_cols) in cdns_set_initial_frame_shape() argument 1181 c = sdw_find_col_index(n_cols); in cdns_set_initial_frame_shape()
|
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | cadence_master.c | 1309 static u32 cdns_set_initial_frame_shape(int n_rows, int n_cols) in cdns_set_initial_frame_shape() argument 1316 c = sdw_find_col_index(n_cols); in cdns_set_initial_frame_shape()
|
Completed in 14 milliseconds