Searched refs:num_cols (Results 1 – 6 of 6) sorted by relevance
/drivers/video/fbdev/ |
D | arcfb.c | 101 static unsigned long num_cols; variable 209 for (i = 0; i < num_cols; i++) { in arcfb_pan_display() 258 chipindex = (xindex + (yindex*num_cols)); in arcfb_lcd_update_page() 514 videomemorysize = (((64*64)*num_cols)*num_rows)/8; in arcfb_probe() 563 for (i = 0; i < num_cols * num_rows; i++) { in arcfb_probe() 573 for (i = 0; i < num_cols * num_rows; i++) { in arcfb_probe() 640 module_param(num_cols, ulong, 0); 641 MODULE_PARM_DESC(num_cols, "Num horiz panels, eg: 2 = 128 bit wide");
|
/drivers/input/keyboard/ |
D | pmic8xxx-keypad.c | 101 unsigned int num_cols; member 120 return 1 << kp->num_cols; in pmic8xxx_col_state() 122 return col & ((1 << kp->num_cols) - 1); in pmic8xxx_col_state() 238 for (col = 0; col < kp->num_cols; col++) { in __pmic8xxx_kp_scan_matrix() 266 ((1 << kp->num_cols) - 1); in pmic8xxx_detect_ghost_keys() 388 if (kp->num_cols < KEYP_CTRL_SCAN_COLS_MIN) in pmic8xxx_kpd_init() 391 bits = kp->num_cols - KEYP_CTRL_SCAN_COLS_MIN; in pmic8xxx_kpd_init() 545 kp->num_cols = cols; in pmic8xxx_kp_probe()
|
D | tegra-kbc.c | 505 u32 num_cols = 0; in tegra_kbc_parse_dt() local 534 num_cols = proplen / sizeof(u32); in tegra_kbc_parse_dt() 542 if (num_cols > kbc->hw_support->max_columns) { in tegra_kbc_parse_dt() 553 if (!num_rows || !num_cols || ((num_rows + num_cols) > KBC_MAX_GPIO)) { in tegra_kbc_parse_dt() 571 cols_cfg, num_cols); in tegra_kbc_parse_dt() 582 for (i = 0; i < num_cols; i++) { in tegra_kbc_parse_dt()
|
D | samsung-keypad.c | 251 uint32_t *keymap, num_rows = 0, num_cols = 0; in samsung_keypad_parse_dt() local 267 of_property_read_u32(np, "samsung,keypad-num-columns", &num_cols); in samsung_keypad_parse_dt() 268 if (!num_rows || !num_cols) { in samsung_keypad_parse_dt() 273 pdata->cols = num_cols; in samsung_keypad_parse_dt()
|
D | cros_ec_keyb.c | 117 int num_cols; in cros_ec_keyb_process() local 119 num_cols = len; in cros_ec_keyb_process()
|
/drivers/gpu/ipu-v3/ |
D | ipu-image-convert.c | 109 unsigned int num_cols; member 301 ic_image->num_cols, ic_image->num_rows, in dump_format() 367 tile->width = image->base.pix.width / image->num_cols; in calc_tile_dimensions() 400 return src_row * s_image->num_cols + src_col; in transform_tile_index() 407 src_col = src_col * 2 - (s_image->num_cols - 1); in transform_tile_index() 432 dst_col += d_image->num_cols - 1; in transform_tile_index() 436 return dst_row * d_image->num_cols + dst_col; in transform_tile_index() 448 for (col = 0; col < s_image->num_cols; col++) { in calc_out_tile_map() 485 for (col = 0; col < image->num_cols; col++) { in calc_tile_offsets_planar() 535 for (col = 0; col < image->num_cols; col++) { in calc_tile_offsets_packed() [all …]
|