Searched refs:rows (Results 26 - 50 of 99) sorted by relevance

1234

/linux-master/tools/perf/ui/
H A Dbrowser.c181 if (++row == browser->rows)
197 browser->height = browser->rows = SLtt_Screen_Rows - 2;
198 browser->rows -= browser->extra_title_lines;
346 browser->rows - row, width, ' ');
427 if (browser->index == browser->top_idx + browser->rows) {
455 if (browser->top_idx + browser->rows > browser->nr_entries - 1)
458 offset = browser->rows;
469 if (browser->top_idx < browser->rows)
472 offset = browser->rows;
482 offset = browser->rows
[all...]
H A Dbrowser.h20 u16 y, x, width, height, rows, columns, horiz_scroll; member in struct:ui_browser
/linux-master/drivers/s390/char/
H A Draw3270.c43 int model, rows, cols; member in struct:raw3270
127 y = max_t(int, 0, rp->view->rows + y);
459 rp->rows = diag8c_data.height;
476 rp->rows = 24;
481 rp->rows = 32;
486 rp->rows = 43;
491 rp->rows = 27;
507 rp->rows = 24;
511 /* Copy rows/columns of default Usable Area */
512 rp->rows
[all...]
H A Draw3270.h82 unsigned int rows, cols; /* # of rows & colums of the view */ member in struct:raw3270_view
/linux-master/drivers/net/ethernet/sfc/
H A Dnic.c200 u32 step:6, rows:21; member in struct:efx_nic_reg_table
203 #define REGISTER_TABLE_DIMENSIONS(_, offset, arch, min_rev, max_rev, step, rows) { \
207 step, rows \
239 len += table->rows * min_t(size_t, table->step, 16);
270 for (i = 0; i < table->rows; i++) {
/linux-master/tools/lib/subcmd/
H A Dhelp.c130 int cols = 1, rows; local
141 rows = (cmds->cnt + cols - 1) / cols;
143 for (i = 0; i < rows; i++) {
147 unsigned int n = j * rows + i;
152 if (j == cols-1 || n + rows >= cmds->cnt)
/linux-master/drivers/auxdisplay/
H A Dht16k33.c73 uint32_t rows; member in struct:ht16k33_keypad
509 u32 rows = HT16K33_MATRIX_KEYPAD_MAX_ROWS; local
537 err = matrix_keypad_parse_properties(dev, &rows, &cols);
540 if (rows > HT16K33_MATRIX_KEYPAD_MAX_ROWS ||
542 dev_err(dev, "%u rows or %u cols out of range in DT\n", rows,
547 keypad->rows = rows;
551 err = matrix_keypad_build_keymap(NULL, NULL, rows, cols, NULL,
/linux-master/tools/perf/util/
H A Dsvghelper.h9 void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end);
/linux-master/drivers/input/keyboard/
H A Dlpc32xx-keys.c135 u32 rows = 0, columns = 0; local
138 err = matrix_keypad_parse_properties(dev, &rows, &columns);
141 if (rows != columns) {
142 dev_err(dev, "rows and columns must be equal!\n");
146 kscandat->matrix_sz = rows;
H A Domap4-keypad.c79 unsigned int rows; member in struct:omap4_keypad
126 for_each_set_bit(bit, mask, keypad_data->rows * BITS_PER_BYTE) {
280 err = matrix_keypad_parse_properties(dev, &keypad_data->rows,
435 max_keys = keypad_data->rows << keypad_data->row_shift;
446 keypad_data->rows, keypad_data->cols,
H A Dadp5588-keys.c127 * 10cols * 8rows are used.
187 u32 rows; member in struct:adp5588_kpad
345 for (i = 0; i < kpad->rows; i++)
604 ret = adp5588_write(client, KP_GPIO1, KP_SEL(kpad->rows));
650 ret = matrix_keypad_parse_properties(&client->dev, &kpad->rows,
655 if (kpad->rows > ADP5588_ROWS_MAX || kpad->cols > ADP5588_COLS_MAX) {
656 dev_err(&client->dev, "Invalid nr of rows(%u) or cols(%u)\n",
657 kpad->rows, kpad->cols);
661 ret = matrix_keypad_build_keymap(NULL, NULL, kpad->rows, kpad->cols,
700 if (kpad->unlock_keys[i] >= kpad->cols * kpad->rows) {
[all...]
H A Dcros_ec_keyb.c35 * @rows: Number of rows in the keypad
37 * @row_shift: log2 or number of rows, rounded up
50 unsigned int rows; member in struct:cros_ec_keyb
196 for (row = 0; row < ckdev->rows; row++) {
322 for (row = 0; row < ckdev->rows; row++) {
598 err = matrix_keypad_parse_properties(dev, &ckdev->rows, &ckdev->cols);
634 err = matrix_keypad_build_keymap(NULL, NULL, ckdev->rows, ckdev->cols,
/linux-master/drivers/video/fbdev/
H A Datafb_utils.h359 static inline u32 *fill16_col(u32 *dst, int rows, u32 m[]) argument
361 while (rows) {
370 rows--;
/linux-master/drivers/video/fbdev/core/
H A Dfbcon.h35 int vrows; /* number of virtual rows */
234 int rows = p->vrows; local
237 return ypos < rows ? ypos : ypos - rows;
/linux-master/drivers/edac/
H A Dversal_edac.c587 * Initialize the chip select rows associated with the EDAC memory
939 union edac_info rows; local
941 rows.i = regval;
942 priv->row_bit[start] = rows.row0;
943 priv->row_bit[start + 1] = rows.row1;
944 priv->row_bit[start + 2] = rows.row2;
945 priv->row_bit[start + 3] = rows.row3;
946 priv->row_bit[start + 4] = rows.row4;
952 union edac_info rows; local
964 rows
[all...]
H A Dskx_common.c340 #define numrow(reg) skx_get_dimm_attr(reg, 2, 4, 12, 1, 6, "rows")
347 int banks, ranks, rows, cols, npages; local
352 rows = numrow(mtr);
369 size = ((1ull << (rows + cols + ranks)) * banks) >> (20 - 3);
374 banks, 1 << ranks, rows, cols);
379 imc->chan[chan].dimms[dimmno].rowbits = rows;
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dnic.c308 u32 step:6, rows:21; member in struct:efx_nic_reg_table
311 #define REGISTER_TABLE_DIMENSIONS(_, offset, arch, min_rev, max_rev, step, rows) { \
315 step, rows \
385 len += table->rows * min_t(size_t, table->step, 16);
416 for (i = 0; i < table->rows; i++) {
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dnic.c302 u32 step:6, rows:21; member in struct:ef4_nic_reg_table
305 #define REGISTER_TABLE_DIMENSIONS(_, offset, arch, min_rev, max_rev, step, rows) { \
309 step, rows \
379 len += table->rows * min_t(size_t, table->step, 16);
410 for (i = 0; i < table->rows; i++) {
/linux-master/drivers/gpu/drm/gma500/
H A Dmmu.c482 uint32_t rows = 1; local
496 rows = num_pages / desired_tile_stride;
503 for (i = 0; i < rows; ++i) {
569 uint32_t rows = 1; local
579 rows = num_pages / desired_tile_stride;
590 for (i = 0; i < rows; ++i) {
672 uint32_t rows = 1; local
686 rows = num_pages / desired_tile_stride;
696 for (i = 0; i < rows; ++i) {
/linux-master/arch/x86/xen/
H A Dvga.c29 screen_info->orig_video_lines = info->u.text_mode_3.rows;
/linux-master/drivers/dma/qcom/
H A Dqcom_adm.c237 u32 rows, row_offset, crci_cmd; local
261 rows = remainder / burst;
262 rows = min_t(u32, rows, ADM_MAX_ROWS);
263 box_desc->num_rows = rows << 16 | rows;
266 *incr_addr += burst * rows;
267 remainder -= burst * rows;
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Damx_test.c44 u8 rows[MAX_TILES]; member in struct:tile_config
123 cfg->rows[i] = xtile.max_rows;
/linux-master/drivers/pinctrl/
H A Dpinctrl-single.c1005 int rows, *pins, found = 0, res = -ENOMEM, i, fsel, gsel; local
1008 rows = pinctrl_count_index_with_args(np, name);
1009 if (rows <= 0) {
1010 dev_err(pcs->dev, "Invalid number of rows: %d\n", rows);
1014 vals = devm_kcalloc(pcs->dev, rows, sizeof(*vals), GFP_KERNEL);
1018 pins = devm_kcalloc(pcs->dev, rows, sizeof(*pins), GFP_KERNEL);
1022 for (i = 0; i < rows; i++) {
1119 int rows, *pins, found = 0, res = -ENOMEM, i, fsel; local
1123 rows
[all...]
/linux-master/drivers/media/usb/pwc/
H A Dpwc-dec23.c520 unsigned int htable_idx, rows = 0; local
558 rows = ((mask << shift) + 0x80) & 0xFF;
560 block = pdec->table_subblock[rows];
573 rows = ptable0004[offset1 + hash_table_ops [htable_idx * 4 + 3]];
574 block = pdec->table_subblock[rows];
/linux-master/tools/thermal/tmon/
H A Dtui.c107 * list cooling devices + "set temp" entry; wraps after 5 rows, if they fit
112 int rows = max(DIAG_DEV_ROWS, (entries + 1) / 2); local
113 return min(rows, entries);
279 int rows, cols; local
285 getmaxyx(w, rows, cols);
309 mvwprintw(w, rows - 2, 1,

Completed in 372 milliseconds

1234