/kernel/linux/linux-5.10/drivers/input/ |
H A D | matrix-keymap.c | 23 unsigned int rows, unsigned int cols, in matrix_keypad_map_key() 31 if (row >= rows || col >= cols) { in matrix_keypad_map_key() 33 "%s: invalid keymap entry 0x%x (row: %d, col: %d, rows: %d, cols: %d)\n", in matrix_keypad_map_key() 34 __func__, key, row, col, rows, cols); in matrix_keypad_map_key() 48 * @rows: Returns number of matrix rows 53 unsigned int *rows, unsigned int *cols) in matrix_keypad_parse_properties() 55 *rows = *cols = 0; in matrix_keypad_parse_properties() 57 device_property_read_u32(dev, "keypad,num-rows", rows); in matrix_keypad_parse_properties() 22 matrix_keypad_map_key(struct input_dev *input_dev, unsigned int rows, unsigned int cols, unsigned int row_shift, unsigned int key) matrix_keypad_map_key() argument 52 matrix_keypad_parse_properties(struct device *dev, unsigned int *rows, unsigned int *cols) matrix_keypad_parse_properties() argument 69 matrix_keypad_parse_keymap(const char *propname, unsigned int rows, unsigned int cols, struct input_dev *input_dev) matrix_keypad_parse_keymap() argument 150 matrix_keypad_build_keymap(const struct matrix_keymap_data *keymap_data, const char *keymap_name, unsigned int rows, unsigned int cols, unsigned short *keymap, struct input_dev *input_dev) matrix_keypad_build_keymap() argument [all...] |
/kernel/linux/linux-6.6/drivers/input/ |
H A D | matrix-keymap.c | 23 unsigned int rows, unsigned int cols, in matrix_keypad_map_key() 31 if (row >= rows || col >= cols) { in matrix_keypad_map_key() 33 "%s: invalid keymap entry 0x%x (row: %d, col: %d, rows: %d, cols: %d)\n", in matrix_keypad_map_key() 34 __func__, key, row, col, rows, cols); in matrix_keypad_map_key() 48 * @rows: Returns number of matrix rows 53 unsigned int *rows, unsigned int *cols) in matrix_keypad_parse_properties() 55 *rows = *cols = 0; in matrix_keypad_parse_properties() 57 device_property_read_u32(dev, "keypad,num-rows", rows); in matrix_keypad_parse_properties() 22 matrix_keypad_map_key(struct input_dev *input_dev, unsigned int rows, unsigned int cols, unsigned int row_shift, unsigned int key) matrix_keypad_map_key() argument 52 matrix_keypad_parse_properties(struct device *dev, unsigned int *rows, unsigned int *cols) matrix_keypad_parse_properties() argument 69 matrix_keypad_parse_keymap(const char *propname, unsigned int rows, unsigned int cols, struct input_dev *input_dev) matrix_keypad_parse_keymap() argument 150 matrix_keypad_build_keymap(const struct matrix_keymap_data *keymap_data, const char *keymap_name, unsigned int rows, unsigned int cols, unsigned short *keymap, struct input_dev *input_dev) matrix_keypad_build_keymap() argument [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | atafb_mfb.c | 28 u_int rows; in atafb_mfb_copyarea() local 37 for (rows = height; rows--;) { in atafb_mfb_copyarea() 45 for (rows = height; rows--;) { in atafb_mfb_copyarea() 57 u_int rows; in atafb_mfb_fillrect() local 67 for (rows = height; rows--; dest += next_line) { in atafb_mfb_fillrect() 81 u_int rows; in atafb_mfb_linefill() local 85 for (rows in atafb_mfb_linefill() [all...] |
H A D | atafb_iplan2p4.c | 210 int rows, i; in atafb_iplan2p4_fillrect() local 228 rows = width >> 4; in atafb_iplan2p4_fillrect() 229 if (rows) { in atafb_iplan2p4_fillrect() 231 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p4_fillrect() 233 d = fill16_col(d, rows, cval); in atafb_iplan2p4_fillrect() 236 dest += rows * BPL / 2; in atafb_iplan2p4_fillrect() 258 int rows; in atafb_iplan2p4_linefill() local 272 for (rows = width / 16; rows; rows in atafb_iplan2p4_linefill() [all...] |
H A D | atafb_iplan2p2.c | 196 int rows, i; in atafb_iplan2p2_fillrect() local 214 rows = width >> 4; in atafb_iplan2p2_fillrect() 215 if (rows) { in atafb_iplan2p2_fillrect() 217 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p2_fillrect() 219 d = fill16_col(d, rows, cval); in atafb_iplan2p2_fillrect() 222 dest += rows * BPL / 2; in atafb_iplan2p2_fillrect() 244 int rows; in atafb_iplan2p2_linefill() local 258 for (rows = width / 16; rows; rows in atafb_iplan2p2_linefill() [all...] |
H A D | hgafb.c | 465 u_int rows, y; in hgafb_fillrect() local 470 for (rows = rect->height; rows--; y++) { in hgafb_fillrect() 485 u_int rows, y1, y2; in hgafb_copyarea() local 493 for (rows = area->height; rows--; ) { in hgafb_copyarea() 504 for (rows = area->height; rows--;) { in hgafb_copyarea() 518 u_int rows, y = image->dy; in hgafb_imageblit() local 522 for (rows in hgafb_imageblit() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | atafb_mfb.c | 28 u_int rows; in atafb_mfb_copyarea() local 37 for (rows = height; rows--;) { in atafb_mfb_copyarea() 45 for (rows = height; rows--;) { in atafb_mfb_copyarea() 57 u_int rows; in atafb_mfb_fillrect() local 67 for (rows = height; rows--; dest += next_line) { in atafb_mfb_fillrect() 81 u_int rows; in atafb_mfb_linefill() local 85 for (rows in atafb_mfb_linefill() [all...] |
H A D | atafb_iplan2p4.c | 210 int rows, i; in atafb_iplan2p4_fillrect() local 228 rows = width >> 4; in atafb_iplan2p4_fillrect() 229 if (rows) { in atafb_iplan2p4_fillrect() 231 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p4_fillrect() 233 d = fill16_col(d, rows, cval); in atafb_iplan2p4_fillrect() 236 dest += rows * BPL / 2; in atafb_iplan2p4_fillrect() 258 int rows; in atafb_iplan2p4_linefill() local 272 for (rows = width / 16; rows; rows in atafb_iplan2p4_linefill() [all...] |
H A D | atafb_iplan2p2.c | 196 int rows, i; in atafb_iplan2p2_fillrect() local 214 rows = width >> 4; in atafb_iplan2p2_fillrect() 215 if (rows) { in atafb_iplan2p2_fillrect() 217 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p2_fillrect() 219 d = fill16_col(d, rows, cval); in atafb_iplan2p2_fillrect() 222 dest += rows * BPL / 2; in atafb_iplan2p2_fillrect() 244 int rows; in atafb_iplan2p2_linefill() local 258 for (rows = width / 16; rows; rows in atafb_iplan2p2_linefill() [all...] |
H A D | hgafb.c | 465 u_int rows, y; in hgafb_fillrect() local 470 for (rows = rect->height; rows--; y++) { in hgafb_fillrect() 485 u_int rows, y1, y2; in hgafb_copyarea() local 493 for (rows = area->height; rows--; ) { in hgafb_copyarea() 504 for (rows = area->height; rows--;) { in hgafb_copyarea() 518 u_int rows, y = image->dy; in hgafb_imageblit() local 522 for (rows in hgafb_imageblit() [all...] |
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | video-mode.c | 26 int force_x, force_y; /* Don't query the BIOS for cols/rows */ 118 unsigned int font_size, rows; in vga_recalc_vertical() local 124 rows = force_y ? force_y : rdfs8(0x484)+1; /* Text rows */ in vga_recalc_vertical() 126 rows *= font_size; /* Visible scan lines */ in vga_recalc_vertical() 127 rows--; /* ... minus one */ in vga_recalc_vertical() 135 out_idx((u8)rows, crtc, 0x12); /* Lower height register */ in vga_recalc_vertical() 139 ov |= (rows >> (8-1)) & 0x02; in vga_recalc_vertical() 140 ov |= (rows >> (9-6)) & 0x40; in vga_recalc_vertical()
|
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | video-mode.c | 26 int force_x, force_y; /* Don't query the BIOS for cols/rows */ 118 unsigned int font_size, rows; in vga_recalc_vertical() local 124 rows = force_y ? force_y : rdfs8(0x484)+1; /* Text rows */ in vga_recalc_vertical() 126 rows *= font_size; /* Visible scan lines */ in vga_recalc_vertical() 127 rows--; /* ... minus one */ in vga_recalc_vertical() 135 out_idx((u8)rows, crtc, 0x12); /* Lower height register */ in vga_recalc_vertical() 139 ov |= (rows >> (8-1)) & 0x02; in vga_recalc_vertical() 140 ov |= (rows >> (9-6)) & 0x40; in vga_recalc_vertical()
|
/kernel/linux/linux-5.10/Documentation/sphinx/ |
H A D | rstFlatTable.py | 21 additional rows 30 * header-rows: [int] count of header rows 38 * rspan: [int] additionale rows (*morerows*) 117 , 'header-rows': directives.nonnegative_int 152 self.rows = [] 164 header_rows = self.directive.options.get('header-rows', 0) 188 for row in self.rows[:header_rows]: 194 for row in self.rows[header_rows:]: 234 self.rows [all...] |
/kernel/linux/linux-6.6/Documentation/sphinx/ |
H A D | rstFlatTable.py | 21 additional rows 30 * header-rows: [int] count of header rows 38 * rspan: [int] additionale rows (*morerows*) 107 , 'header-rows': directives.nonnegative_int 142 self.rows = [] 154 header_rows = self.directive.options.get('header-rows', 0) 178 for row in self.rows[:header_rows]: 184 for row in self.rows[header_rows:]: 224 self.rows [all...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | sa1110-cpufreq.c | 34 u_char rows; /* bits */ member 52 .rows = 12, 61 .rows = 12, 70 .rows = 14, 79 .rows = 12, 87 .rows = 13, 96 .rows = 16, 105 .rows = 12, 215 u_int ns_row = (sdram->refresh * 1000) >> sdram->rows; in sdram_update_refresh()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | sa1110-cpufreq.c | 34 u_char rows; /* bits */ member 52 .rows = 12, 61 .rows = 12, 70 .rows = 14, 79 .rows = 12, 87 .rows = 13, 96 .rows = 16, 105 .rows = 12, 215 u_int ns_row = (sdram->refresh * 1000) >> sdram->rows; in sdram_update_refresh()
|
/kernel/linux/linux-5.10/tools/perf/ui/ |
H A D | browser.c | 181 if (++row == browser->rows) in ui_browser__rb_tree_refresh() 197 browser->height = browser->rows = SLtt_Screen_Rows - 2; in ui_browser__refresh_dimensions() 198 browser->rows -= browser->extra_title_lines; in ui_browser__refresh_dimensions() 346 browser->rows - row, width, ' '); in __ui_browser__refresh() 427 if (browser->index == browser->top_idx + browser->rows) { in ui_browser__run() 455 if (browser->top_idx + browser->rows > browser->nr_entries - 1) in ui_browser__run() 458 offset = browser->rows; in ui_browser__run() 469 if (browser->top_idx < browser->rows) in ui_browser__run() 472 offset = browser->rows; in ui_browser__run() 482 offset = browser->rows in ui_browser__run() [all...] |
/kernel/linux/linux-6.6/tools/perf/ui/ |
H A D | browser.c | 181 if (++row == browser->rows) in ui_browser__rb_tree_refresh() 197 browser->height = browser->rows = SLtt_Screen_Rows - 2; in ui_browser__refresh_dimensions() 198 browser->rows -= browser->extra_title_lines; in ui_browser__refresh_dimensions() 346 browser->rows - row, width, ' '); in __ui_browser__refresh() 427 if (browser->index == browser->top_idx + browser->rows) { in ui_browser__run() 455 if (browser->top_idx + browser->rows > browser->nr_entries - 1) in ui_browser__run() 458 offset = browser->rows; in ui_browser__run() 469 if (browser->top_idx < browser->rows) in ui_browser__run() 472 offset = browser->rows; in ui_browser__run() 482 offset = browser->rows in ui_browser__run() [all...] |
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | stmpe-keypad.c | 67 * @max_rows: maximum number of rows supported 69 * @row_gpios: bitmask of gpios which can be used for rows 124 * @rows: bitmask for the rows 135 unsigned int rows; member 210 * {cols,rows}_gpios are bitmasks of which pins on the chip can be used in stmpe_keypad_altfunc_init() 213 * keypad->{cols,rows} are a bitmask of which pins (of the ones useable in stmpe_keypad_altfunc_init() 231 if (keypad->rows & (1 << i)) in stmpe_keypad_altfunc_init() 288 ret = stmpe_reg_write(stmpe, STMPE_KPC_ROW_LSB, keypad->rows); in stmpe_keypad_chip_init() 295 keypad->rows >> in stmpe_keypad_chip_init() 336 u32 rows; stmpe_keypad_probe() local [all...] |
H A D | tca8418_keypad.c | 235 u32 rows, u32 cols) in tca8418_configure() 240 reg = ~(~0 << rows); in tca8418_configure() 268 u32 rows = 0, cols = 0; in tca8418_keypad_probe() local 279 error = matrix_keypad_parse_properties(dev, &rows, &cols); in tca8418_keypad_probe() 283 if (!rows || rows > TCA8418_MAX_ROWS) { in tca8418_keypad_probe() 284 dev_err(dev, "invalid rows\n"); in tca8418_keypad_probe() 321 error = matrix_keypad_build_keymap(NULL, NULL, rows, cols, NULL, input); in tca8418_keypad_probe() 343 error = tca8418_configure(keypad_data, rows, cols); in tca8418_keypad_probe() 234 tca8418_configure(struct tca8418_keypad *keypad_data, u32 rows, u32 cols) tca8418_configure() argument
|
H A D | samsung-keypad.c | 73 unsigned int rows; member 98 row_state[col] = ~val & ((1 << keypad->rows) - 1); in samsung_keypad_scan() 121 for (row = 0; row < keypad->rows; row++) { in samsung_keypad_report() 262 of_property_read_u32(np, "samsung,keypad-num-rows", &num_rows); in samsung_keypad_parse_dt() 265 dev_err(dev, "number of keypad rows/columns not specified\n"); in samsung_keypad_parse_dt() 268 pdata->rows = num_rows; in samsung_keypad_parse_dt() 339 if (!pdata->rows || pdata->rows > SAMSUNG_MAX_ROWS) in samsung_keypad_probe() 347 pdata->cfg_gpio(pdata->rows, pdata->cols); in samsung_keypad_probe() 350 keymap_size = (pdata->rows << row_shif in samsung_keypad_probe() [all...] |
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | stmpe-keypad.c | 68 * @max_rows: maximum number of rows supported 70 * @row_gpios: bitmask of gpios which can be used for rows 125 * @rows: bitmask for the rows 136 unsigned int rows; member 211 * {cols,rows}_gpios are bitmasks of which pins on the chip can be used in stmpe_keypad_altfunc_init() 214 * keypad->{cols,rows} are a bitmask of which pins (of the ones useable in stmpe_keypad_altfunc_init() 232 if (keypad->rows & (1 << i)) in stmpe_keypad_altfunc_init() 289 ret = stmpe_reg_write(stmpe, STMPE_KPC_ROW_LSB, keypad->rows); in stmpe_keypad_chip_init() 296 keypad->rows >> in stmpe_keypad_chip_init() 337 u32 rows; stmpe_keypad_probe() local [all...] |
H A D | tca8418_keypad.c | 235 u32 rows, u32 cols) in tca8418_configure() 240 reg = ~(~0 << rows); in tca8418_configure() 267 u32 rows = 0, cols = 0; in tca8418_keypad_probe() local 278 error = matrix_keypad_parse_properties(dev, &rows, &cols); in tca8418_keypad_probe() 282 if (!rows || rows > TCA8418_MAX_ROWS) { in tca8418_keypad_probe() 283 dev_err(dev, "invalid rows\n"); in tca8418_keypad_probe() 320 error = matrix_keypad_build_keymap(NULL, NULL, rows, cols, NULL, input); in tca8418_keypad_probe() 342 error = tca8418_configure(keypad_data, rows, cols); in tca8418_keypad_probe() 234 tca8418_configure(struct tca8418_keypad *keypad_data, u32 rows, u32 cols) tca8418_configure() argument
|
H A D | samsung-keypad.c | 73 unsigned int rows; member 98 row_state[col] = ~val & ((1 << keypad->rows) - 1); in samsung_keypad_scan() 121 for (row = 0; row < keypad->rows; row++) { in samsung_keypad_report() 261 of_property_read_u32(np, "samsung,keypad-num-rows", &num_rows); in samsung_keypad_parse_dt() 264 dev_err(dev, "number of keypad rows/columns not specified\n"); in samsung_keypad_parse_dt() 267 pdata->rows = num_rows; in samsung_keypad_parse_dt() 337 if (!pdata->rows || pdata->rows > SAMSUNG_MAX_ROWS) in samsung_keypad_probe() 345 pdata->cfg_gpio(pdata->rows, pdata->cols); in samsung_keypad_probe() 348 keymap_size = (pdata->rows << row_shif in samsung_keypad_probe() [all...] |
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | tty3270.c | 155 off = tp->view.cols * tp->view.rows - 9; in tty3270_update_prompt() 181 offset = tp->view.cols * (tp->view.rows - 2); in tty3270_create_prompt() 183 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_prompt() 220 offset = tp->view.cols * tp->view.rows - 9; in tty3270_create_status() 256 line = tp->view.rows - 3; in tty3270_rebuild_update() 284 BUG_ON(tp->nr_lines <= tp->view.rows - 2); in tty3270_alloc_string() 295 tp->nr_up + tp->view.rows - 2 >= tp->nr_lines) { in tty3270_alloc_string() 296 tp->nr_up = tp->nr_lines - tp->view.rows + 2; in tty3270_alloc_string() 332 for (i = 0; i < tp->view.rows - 2; i++) in tty3270_blank_screen() 521 nr_up = tp->nr_up - tp->view.rows in tty3270_scroll_forward() 805 tty3270_alloc_screen(unsigned int rows, unsigned int cols) tty3270_alloc_screen() argument 834 tty3270_free_screen(struct tty3270_line *screen, unsigned int rows) tty3270_free_screen() argument 887 tty3270_resize(struct raw3270_view *view, int model, int rows, int cols) tty3270_resize() argument [all...] |