Lines Matching +full:2 +full:x
110 writel(value, dc->regs + (offset << 2)); in tegra_dc_writel()
115 u32 value = readl(dc->regs + (offset << 2)); in tegra_dc_readl()
124 unsigned int x; member
130 unsigned int x; member
136 unsigned int stride[2];
181 #define DISP_CTRL_MODE_NC_DISPLAY (2 << 5)
186 #define PW1_ENABLE (1 << 2)
200 #define VBLANK_INT (1 << 2)
225 #define WRITE_MUX (1 << 2)
230 #define WIN_B_ACT_REQ (1 << 2)
251 #define DC_COM_CRC_CONTROL_FULL_FRAME (0 << 2)
252 #define DC_COM_CRC_CONTROL_ACTIVE_DATA (1 << 2)
256 #define DC_COM_PIN_OUTPUT_ENABLE(x) (0x302 + (x)) argument
257 #define DC_COM_PIN_OUTPUT_POLARITY(x) (0x306 + (x)) argument
260 #define DC_COM_PIN_OUTPUT_DATA(x) (0x30a + (x)) argument
261 #define DC_COM_PIN_INPUT_ENABLE(x) (0x30e + (x)) argument
262 #define DC_COM_PIN_INPUT_DATA(x) (0x312 + (x)) argument
263 #define DC_COM_PIN_OUTPUT_SELECT(x) (0x314 + (x)) argument
299 #define SOR_ENABLE(x) (1 << (25 + (((x) > 1) ? ((x) + 1) : (x)))) argument
302 #define CURSOR_THRESHOLD(x) (((x) & 0x03) << 24) argument
303 #define WINDOW_A_THRESHOLD(x) (((x) & 0x7f) << 16) argument
304 #define WINDOW_B_THRESHOLD(x) (((x) & 0x7f) << 8) argument
305 #define WINDOW_C_THRESHOLD(x) (((x) & 0xff) << 0) argument
308 #define CURSOR_DELAY(x) (((x) & 0x3f) << 24) argument
309 #define WINDOW_A_DELAY(x) (((x) & 0x3f) << 16) argument
310 #define WINDOW_B_DELAY(x) (((x) & 0x3f) << 8) argument
311 #define WINDOW_C_DELAY(x) (((x) & 0x3f) << 0) argument
314 #define VSYNC_H_POSITION(x) ((x) & 0xfff) argument
362 #define PULSE_QUAL_VACTIVE (2 << 6)
366 #define PULSE_LAST_START_B (2 << 8)
373 #define PULSE_START(x) (((x) & 0xfff) << 0) argument
374 #define PULSE_END(x) (((x) & 0xfff) << 16) argument
379 #define PIXEL_CLK_DIVIDER_PCD2 (2 << 8)
390 #define SHIFT_CLK_DIVIDER(x) ((x) & 0xff) argument
395 #define DISP_DATA_FORMAT_DF1P2C18B (2 << 0)
410 #define BASE_COLOR_SIZE222 ( 2 << 0)
421 #define DITHER_CONTROL_ORDERED (2 << 8)
426 #define BASE_COLOR_SIZE_222 ( 2 << 0)
443 #define DE_SELECT_ACTIVE_IS (2 << 0)
444 #define DE_CONTROL_ONECLK (0 << 2)
445 #define DE_CONTROL_NORMAL (1 << 2)
446 #define DE_CONTROL_EARLY_EXT (2 << 2)
447 #define DE_CONTROL_EARLY (3 << 2)
448 #define DE_CONTROL_ACTIVE_BLANK (4 << 2)
464 #define CURSOR_CLIP_WIN_B (2 << 28)
468 #define CURSOR_SIZE_128x128 (2 << 24)
491 #define DC_DISP_SD_LUT(x) (0x4c4 + (x)) argument
494 #define DC_DISP_SD_HISTOGRAM(x) (0x4cf + (x)) argument
496 #define DC_DISP_SD_BL_TF(x) (0x4d8 + (x)) argument
502 #define BACKGROUND_COLOR_ALPHA(x) (((x) & 0xff) << 24) argument
503 #define BACKGROUND_COLOR_BLUE(x) (((x) & 0xff) << 16) argument
504 #define BACKGROUND_COLOR_GREEN(x) (((x) & 0xff) << 8) argument
505 #define BACKGROUND_COLOR_RED(x) (((x) & 0xff) << 0) argument
508 #define INTERLACE_STATUS (1 << 2)
518 #define CURSOR_DST_BLEND_NEG_K1_TIMES_SRC (2 << 16)
530 #define LATENCY_CTL_MODE_ENABLE (1 << 2)
536 #define PIPE_METER_INT(x) (((x) & 0xff) << 8) argument
537 #define PIPE_METER_FRAC(x) (((x) & 0xff) << 0) argument
540 #define MEMPOOL_ENTRIES(x) (((x) & 0xffff) << 0) argument
543 #define SLOTS(x) (((x) & 0xff) << 0) argument
551 #define THREAD_NUM(x) (((x) & 0x1f) << 1) argument
568 #define V_DIRECTION (1 << 2)
578 #define BYTE_SWAP_SWAP4 (2 << 0)
584 #define BUFFER_CONTROL_EPP (2 << 0)
591 #define WIN_COLOR_DEPTH_P4 2
627 #define H_POSITION(x) (((x) & 0x1fff) << 0) /* XXX 0x7fff on Tegra186 */ argument
628 #define V_POSITION(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */ argument
631 #define H_SIZE(x) (((x) & 0x1fff) << 0) /* XXX 0x7fff on Tegra186 */ argument
632 #define V_SIZE(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */ argument
635 #define H_PRESCALED_SIZE(x) (((x) & 0x7fff) << 0) argument
636 #define V_PRESCALED_SIZE(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */ argument
641 #define H_DDA_INC(x) (((x) & 0xffff) << 0) argument
642 #define V_DDA_INC(x) (((x) & 0xffff) << 16) argument
656 #define BLEND_WEIGHT1(x) (((x) & 0xff) << 16) argument
657 #define BLEND_WEIGHT0(x) (((x) & 0xff) << 8) argument
660 #define BLEND_CONTROL_FIX (0 << 2)
661 #define BLEND_CONTROL_ALPHA (1 << 2)
664 #define BLEND_COLOR_KEY_1 (2 << 0)
668 #define BLEND_CONTROL_DEPENDENT (2 << 2)
691 #define DC_WINBUF_SURFACE_KIND_BLOCK (2 << 0)
692 #define DC_WINBUF_SURFACE_KIND_BLOCK_HEIGHT(x) (((x) & 0x7) << 4) argument
704 #define DC_DISP_CORE_SOR_SET_CONTROL(x) (0x403 + (x)) argument
710 #define OWNER(x) (((x) & 0xf) << 0) argument
715 #define PITCH(x) (((x) >> 6) & 0x1fff) argument
721 #define DEGAMMA_YUV8_10 (2 << 13)
725 #define INPUT_RANGE_FULL (2 << 10)
728 #define COLOR_SPACE_YUV_709 (2 << 8)
738 #define INPUT_SCALER_USE422 (1 << 2)
745 #define COLOR_KEY_DST (2 << 25)
747 #define K2(x) (((x) & 0xff) << 16) argument
748 #define K1(x) (((x) & 0xff) << 8) argument
749 #define WINDOW_LAYER_DEPTH(x) (((x) & 0xff) << 0) argument
754 #define BLEND_FACTOR_DST_ALPHA_NEG_K1_TIMES_SRC (2 << 12)
758 #define BLEND_FACTOR_SRC_ALPHA_K2 (2 << 8)
762 #define BLEND_FACTOR_DST_COLOR_K1 (2 << 4)
770 #define BLEND_FACTOR_SRC_COLOR_K1 (2 << 0)
784 #define OFFSET_Y(x) (((x) & 0xffff) << 16) argument
785 #define OFFSET_X(x) (((x) & 0xffff) << 0) argument