| /linux/drivers/input/ |
| H A D | matrix-keymap.c | 23 unsigned int rows, unsigned int cols, in matrix_keypad_map_key() argument 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() argument 55 *rows = *cols = 0; in matrix_keypad_parse_properties() 57 device_property_read_u32(dev, "keypad,num-rows", rows); in matrix_keypad_parse_properties() 60 if (!*rows || !*cols) { in matrix_keypad_parse_properties() 61 dev_err(dev, "number of keypad rows/columns not specified\n"); in matrix_keypad_parse_properties() [all …]
|
| /linux/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 = width / 8; rows--; /* check margins */ ) { in atafb_mfb_linefill()
|
| 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()
|
| 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()
|
| H A D | atafb_iplan2p8.c | 245 int rows, i; in atafb_iplan2p8_fillrect() local 263 rows = width >> 4; in atafb_iplan2p8_fillrect() 264 if (rows) { in atafb_iplan2p8_fillrect() 266 u32 off = next_line - rows * BPL * 2; in atafb_iplan2p8_fillrect() 268 d = fill16_col(d, rows, cval); in atafb_iplan2p8_fillrect() 271 dest += rows * BPL / 2; in atafb_iplan2p8_fillrect() 293 int rows; in atafb_iplan2p8_linefill() local 307 for (rows = width / 16; rows; rows--) { in atafb_iplan2p8_linefill()
|
| /linux/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 >> 8); in stmpe_keypad_chip_init() 324 keypad->rows |= 1 << row; in stmpe_keypad_fill_used_pins() [all …]
|
| H A D | samsung-keypad.c | 72 unsigned int rows; member 92 row_state[col] = ~val & GENMASK(keypad->rows - 1, 0); in samsung_keypad_scan() 115 for (row = 0; row < keypad->rows; row++) { in samsung_keypad_report() 255 of_property_read_u32(np, "samsung,keypad-num-rows", &num_rows); in samsung_keypad_parse_dt() 258 dev_err(dev, "number of keypad rows/columns not specified\n"); in samsung_keypad_parse_dt() 261 pdata->rows = num_rows; in samsung_keypad_parse_dt() 331 if (!pdata->rows || pdata->rows > SAMSUNG_MAX_ROWS) in samsung_keypad_probe() 339 pdata->cfg_gpio(pdata->rows, pdata->cols); in samsung_keypad_probe() 345 pdata->rows << row_shift), in samsung_keypad_probe() 371 keypad->rows = pdata->rows; in samsung_keypad_probe() [all …]
|
| H A D | omap-keypad.c | 42 unsigned int rows; member 106 for (row = 0; row < omap_kp_data->rows; row++) { in omap_kp_tasklet() 188 if (!pdata->rows || !pdata->cols || !pdata->keymap_data) { in omap_kp_probe() 189 printk(KERN_ERR "No rows, cols or keymap_data from pdata\n"); in omap_kp_probe() 194 keycodemax = pdata->rows << row_shift; in omap_kp_probe() 214 omap_kp->rows = pdata->rows; in omap_kp_probe() 237 pdata->rows, pdata->cols, in omap_kp_probe()
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | adi,adp5588.yaml | 43 This property applies if either keypad,num-rows lower than 8 or 51 This property applies if either keypad,num-rows lower than 8 or 53 keypad,num-rows or keypad,num-columns are not specified as the 66 or equal than keypad,num-rows * keypad,num-columns. 72 keypad,num-rows: 77 - keypad,num-rows 79 - keypad,num-rows 109 keypad,num-rows = <1>;
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-codec.rst | 49 :header-rows: 0 104 :header-rows: 0 127 :header-rows: 0 151 :header-rows: 0 178 :header-rows: 0 223 :header-rows: 0 268 :header-rows: 0 316 :header-rows: 0 371 :header-rows: 0 398 :header-rows: 0 [all …]
|
| H A D | ext-ctrls-codec-stateless.rst | 44 :header-rows: 0 114 :header-rows: 0 144 :header-rows: 0 187 :header-rows: 0 242 :header-rows: 0 293 :header-rows: 0 328 :header-rows: 0 397 :header-rows: 0 424 :header-rows: 0 452 :header-rows: 0 [all …]
|
| H A D | vidioc-dqevent.rst | 46 :header-rows: 0 107 :header-rows: 0 195 :header-rows: 0 209 :header-rows: 0 259 :header-rows: 0 273 :header-rows: 0 288 :header-rows: 0 317 :header-rows: 0 347 :header-rows: 0
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | legacy_dvb_video.rst | 57 :header-rows: 0 110 :header-rows: 0 161 :header-rows: 0 209 :header-rows: 0 259 :header-rows: 0 322 :header-rows: 0 421 :header-rows: 0 544 :header-rows: 0 637 :header-rows: 0 717 :header-rows: 0 [all …]
|
| H A D | legacy_dvb_osd.rst | 70 :header-rows: 1 334 :header-rows: 0 426 :header-rows: 0 577 :header-rows: 0 596 :header-rows: 0 634 :header-rows: 0 667 :header-rows: 0 697 :header-rows: 0 741 :header-rows: 0 771 :header-rows: 0 [all …]
|
| /linux/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()
|
| /linux/Documentation/driver-api/ |
| H A D | edac.rst | 8 *sockets, *socket sets*, *banks*, *rows*, *chip-select rows*, *channels*, 70 accessed. Common chip-select rows for single channel are 64 bits, for 79 stick, will occupy only one of those rows. The other will be unused. 85 A double-ranked stick has two chip-select rows which access different 86 sets of memory devices. The two rows cannot be accessed concurrently. 92 A double-sided stick has two chip-select rows which access different sets 93 of memory devices. The two rows cannot be accessed concurrently. 101 set has two chip-select rows and if double-sided sticks are used these 102 will occupy those chip-select rows. 107 between chip-select rows and socket sets.
|
| /linux/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() 356 browser->rows - row, width, ' '); in __ui_browser__refresh() 437 if (browser->index == browser->top_idx + browser->rows) { in ui_browser__run() 467 if (browser->top_idx + browser->rows > browser->nr_entries - 1) in ui_browser__run() 470 offset = browser->rows; in ui_browser__run() 481 if (browser->top_idx < browser->rows) in ui_browser__run() 484 offset = browser->rows; in ui_browser__run() 494 offset = browser->rows - 1; in ui_browser__run() [all …]
|
| /linux/drivers/edac/ |
| H A D | versalnet_edac.c | 276 union row_col_mapping rows; in convert_to_physical() local 283 rows.i = reg; in convert_to_physical() 284 err_addr |= (row & BIT(0)) << rows.row0; in convert_to_physical() 286 err_addr |= (row & BIT(0)) << rows.row1; in convert_to_physical() 288 err_addr |= (row & BIT(0)) << rows.row2; in convert_to_physical() 290 err_addr |= (row & BIT(0)) << rows.row3; in convert_to_physical() 292 err_addr |= (row & BIT(0)) << rows.row4; in convert_to_physical() 296 rows.i = reg; in convert_to_physical() 297 err_addr |= (row & BIT(0)) << rows.row0; in convert_to_physical() 299 err_addr |= (row & BIT(0)) << rows.row1; in convert_to_physical() [all …]
|
| /linux/Documentation/filesystems/ext4/ |
| H A D | journal.rst | 63 :header-rows: 1 91 :header-rows: 1 113 :header-rows: 1 139 :header-rows: 1 169 :header-rows: 1 288 :header-rows: 1 302 :header-rows: 1 332 :header-rows: 1 356 :header-rows: 1 381 :header-rows: 1 [all …]
|
| H A D | directory.rst | 38 :header-rows: 1 70 :header-rows: 1 103 :header-rows: 1 133 :header-rows: 1 159 :header-rows: 1 241 :header-rows: 1 335 :header-rows: 1 359 :header-rows: 1 407 :header-rows: 1 437 :header-rows: 1
|
| H A D | super.rst | 23 :header-rows: 1 507 :header-rows: 1 524 :header-rows: 1 541 :header-rows: 1 562 :header-rows: 1 580 :header-rows: 1 631 :header-rows: 1 683 :header-rows: 1 744 :header-rows: 1 767 :header-rows: 1 [all …]
|
| /linux/include/uapi/linux/ |
| H A D | vt.h | 49 __u16 v_rows; /* number of rows */ 56 __u16 v_rows; /* number of rows */ 58 __u16 v_vlin; /* number of pixel rows on screen */ 59 __u16 v_clin; /* number of pixel rows per character */ 91 __u16 con_rows; /* number of console rows */
|
| /linux/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()
|
| /linux/drivers/s390/char/ |
| H A D | raw3270.c | 45 int model, rows, cols; member 129 y = max_t(int, 0, rp->view->rows + y); in raw3270_buffer_address() 461 rp->rows = diag8c_data.height; in raw3270_size_device_vm() 478 rp->rows = 24; in raw3270_size_device_vm() 483 rp->rows = 32; in raw3270_size_device_vm() 488 rp->rows = 43; in raw3270_size_device_vm() 493 rp->rows = 27; in raw3270_size_device_vm() 509 rp->rows = 24; in raw3270_size_device() 513 /* Copy rows/columns of default Usable Area */ in raw3270_size_device() 514 rp->rows = uap->uab.h; in raw3270_size_device() [all …]
|
| /linux/include/linux/input/ |
| H A D | samsung-keypad.h | 20 * @rows: number of keypad row supported. 31 unsigned int rows; member 36 void (*cfg_gpio)(unsigned int rows, unsigned int cols);
|