Lines Matching refs:vc_par

1544 	switch (vc->vc_par[0]) {  in csi_K()
1570 unsigned int count = clamp(vc->vc_par[0], 1, vc->vc_cols - vc->state.x); in csi_X()
1659 if (vc->vc_par[i] == 5 && i + 1 <= vc->vc_npar) { in vc_t416_color()
1662 rgb_from_256(vc->vc_par[i], &c); in vc_t416_color()
1663 } else if (vc->vc_par[i] == 2 && i + 3 <= vc->vc_npar) { in vc_t416_color()
1665 c.r = vc->vc_par[i + 1]; in vc_t416_color()
1666 c.g = vc->vc_par[i + 2]; in vc_t416_color()
1667 c.b = vc->vc_par[i + 3]; in vc_t416_color()
1716 switch (vc->vc_par[i]) { in csi_m()
1798 vc->vc_par[i] -= CSI_m_BRIGHT_FG_COLOR_OFF; in csi_m()
1801 vc->vc_par[i] -= CSI_m_FG_COLOR_BEG; in csi_m()
1802 vc->state.color = color_table[vc->vc_par[i]] | in csi_m()
1806 vc->vc_par[i] -= CSI_m_BRIGHT_BG_COLOR_OFF; in csi_m()
1809 vc->vc_par[i] -= CSI_m_BG_COLOR_BEG; in csi_m()
1810 vc->state.color = (color_table[vc->vc_par[i]] << 4) | in csi_m()
1883 switch (vc->vc_par[i]) { in csi_DEC_hl()
1942 switch (vc->vc_par[i]) { /* ANSI modes set/reset */ in csi_hl()
1981 switch (vc->vc_par[0]) { in csi_RSB()
1983 if (vc->vc_can_do_color && vc->vc_par[1] < 16) { in csi_RSB()
1984 vc->vc_ulcolor = color_table[vc->vc_par[1]]; in csi_RSB()
1990 if (vc->vc_can_do_color && vc->vc_par[1] < 16) { in csi_RSB()
1991 vc->vc_halfcolor = color_table[vc->vc_par[1]]; in csi_RSB()
2004 blankinterval = min(vc->vc_par[1], 60U) * 60; in csi_RSB()
2009 vc->vc_bell_pitch = vc->vc_par[1]; in csi_RSB()
2015 vc->vc_bell_duration = (vc->vc_par[1] < 2000) ? in csi_RSB()
2016 msecs_to_jiffies(vc->vc_par[1]) : 0; in csi_RSB()
2021 if (vc->vc_par[1] >= 1 && vc_cons_allocated(vc->vc_par[1] - 1)) in csi_RSB()
2022 set_console(vc->vc_par[1] - 1); in csi_RSB()
2028 vesa_off_interval = min(vc->vc_par[1], 60U) * 60 * HZ; in csi_RSB()
2034 if (vc->vc_npar >= 1 && vc->vc_par[1] >= 50 && in csi_RSB()
2035 vc->vc_par[1] <= USHRT_MAX) in csi_RSB()
2036 vc->vc_cur_blink_ms = vc->vc_par[1]; in csi_RSB()
2053 unsigned int nr = clamp(vc->vc_par[0], 1, vc->vc_rows - vc->state.y); in csi_L()
2062 unsigned int nr = clamp(vc->vc_par[0], 1, vc->vc_cols - vc->state.x); in csi_P()
2070 unsigned int nr = clamp(vc->vc_par[0], 1, vc->vc_rows - vc->state.y); in csi_M()
2391 if (vc->vc_par[0]) in csi_DEC()
2392 vc->vc_cursor_type = CUR_MAKE(vc->vc_par[0], in csi_DEC()
2393 vc->vc_par[1], in csi_DEC()
2394 vc->vc_par[2]); in csi_DEC()
2400 if (vc->vc_par[0]) in csi_DEC()
2401 vc->vc_complement_mask = vc->vc_par[0] << 8 | vc->vc_par[1]; in csi_DEC()
2406 if (vc->vc_par[0] == 5) in csi_DEC()
2408 else if (vc->vc_par[0] == 6) in csi_DEC()
2424 if (vc->vc_par[0]) in csi_ECMA()
2425 vc->vc_par[0]--; in csi_ECMA()
2426 gotoxy(vc, vc->vc_par[0], vc->state.y); in csi_ECMA()
2429 if (!vc->vc_par[0]) in csi_ECMA()
2430 vc->vc_par[0]++; in csi_ECMA()
2431 gotoxy(vc, vc->state.x, vc->state.y - vc->vc_par[0]); in csi_ECMA()
2435 if (!vc->vc_par[0]) in csi_ECMA()
2436 vc->vc_par[0]++; in csi_ECMA()
2437 gotoxy(vc, vc->state.x, vc->state.y + vc->vc_par[0]); in csi_ECMA()
2441 if (!vc->vc_par[0]) in csi_ECMA()
2442 vc->vc_par[0]++; in csi_ECMA()
2443 gotoxy(vc, vc->state.x + vc->vc_par[0], vc->state.y); in csi_ECMA()
2446 if (!vc->vc_par[0]) in csi_ECMA()
2447 vc->vc_par[0]++; in csi_ECMA()
2448 gotoxy(vc, vc->state.x - vc->vc_par[0], vc->state.y); in csi_ECMA()
2451 if (!vc->vc_par[0]) in csi_ECMA()
2452 vc->vc_par[0]++; in csi_ECMA()
2453 gotoxy(vc, 0, vc->state.y + vc->vc_par[0]); in csi_ECMA()
2456 if (!vc->vc_par[0]) in csi_ECMA()
2457 vc->vc_par[0]++; in csi_ECMA()
2458 gotoxy(vc, 0, vc->state.y - vc->vc_par[0]); in csi_ECMA()
2461 if (vc->vc_par[0]) in csi_ECMA()
2462 vc->vc_par[0]--; in csi_ECMA()
2463 gotoxay(vc, vc->state.x ,vc->vc_par[0]); in csi_ECMA()
2467 if (vc->vc_par[0]) in csi_ECMA()
2468 vc->vc_par[0]--; in csi_ECMA()
2469 if (vc->vc_par[1]) in csi_ECMA()
2470 vc->vc_par[1]--; in csi_ECMA()
2471 gotoxay(vc, vc->vc_par[1], vc->vc_par[0]); in csi_ECMA()
2474 csi_J(vc, vc->vc_par[0]); in csi_ECMA()
2489 if (!vc->vc_par[0]) in csi_ECMA()
2493 if (!vc->vc_par[0] && vc->state.x < VC_TABSTOPS_COUNT) in csi_ECMA()
2495 else if (vc->vc_par[0] == 3) in csi_ECMA()
2508 if (vc->vc_par[0] == 5) in csi_ECMA()
2510 else if (vc->vc_par[0] == 6) in csi_ECMA()
2515 if (vc->vc_par[0] < 4) in csi_ECMA()
2517 (vc->vc_par[0] < 3) ? vc->vc_par[0] : 4); in csi_ECMA()
2520 if (!vc->vc_par[0]) in csi_ECMA()
2521 vc->vc_par[0]++; in csi_ECMA()
2522 if (!vc->vc_par[1]) in csi_ECMA()
2523 vc->vc_par[1] = vc->vc_rows; in csi_ECMA()
2525 if (vc->vc_par[0] < vc->vc_par[1] && in csi_ECMA()
2526 vc->vc_par[1] <= vc->vc_rows) { in csi_ECMA()
2527 vc->vc_top = vc->vc_par[0] - 1; in csi_ECMA()
2528 vc->vc_bottom = vc->vc_par[1]; in csi_ECMA()
2542 csi_at(vc, vc->vc_par[0]); in csi_ECMA()
2553 memset(vc->vc_par, 0, sizeof(vc->vc_par)); in vc_reset_params()
2592 vc->vc_par[vc->vc_npar++] = hex_to_bin(c); in do_con_trol()
2594 int i = vc->vc_par[0] * 3, j = 1; in do_con_trol()
2595 vc->vc_palette[i] = 16 * vc->vc_par[j++]; in do_con_trol()
2596 vc->vc_palette[i++] += vc->vc_par[j++]; in do_con_trol()
2597 vc->vc_palette[i] = 16 * vc->vc_par[j++]; in do_con_trol()
2598 vc->vc_palette[i++] += vc->vc_par[j++]; in do_con_trol()
2599 vc->vc_palette[i] = 16 * vc->vc_par[j++]; in do_con_trol()
2600 vc->vc_palette[i] += vc->vc_par[j]; in do_con_trol()
2639 vc->vc_par[vc->vc_npar] *= 10; in do_con_trol()
2640 vc->vc_par[vc->vc_npar] += c - '0'; in do_con_trol()