Lines Matching +full:2 +full:x

123 	writel(value, dc->regs + (offset << 2));  in tegra_dc_writel()
128 u32 value = readl(dc->regs + (offset << 2)); in tegra_dc_readl()
137 unsigned int x; member
143 unsigned int x; member
149 unsigned int stride[2];
196 #define DISP_CTRL_MODE_NC_DISPLAY (2 << 5)
201 #define PW1_ENABLE (1 << 2)
215 #define VBLANK_INT (1 << 2)
240 #define WRITE_MUX (1 << 2)
245 #define WIN_B_ACT_REQ (1 << 2)
266 #define DC_COM_CRC_CONTROL_FULL_FRAME (0 << 2)
267 #define DC_COM_CRC_CONTROL_ACTIVE_DATA (1 << 2)
271 #define DC_COM_PIN_OUTPUT_ENABLE(x) (0x302 + (x)) argument
272 #define DC_COM_PIN_OUTPUT_POLARITY(x) (0x306 + (x)) argument
275 #define DC_COM_PIN_OUTPUT_DATA(x) (0x30a + (x)) argument
276 #define DC_COM_PIN_INPUT_ENABLE(x) (0x30e + (x)) argument
277 #define DC_COM_PIN_INPUT_DATA(x) (0x312 + (x)) argument
278 #define DC_COM_PIN_OUTPUT_SELECT(x) (0x314 + (x)) argument
314 #define SOR_ENABLE(x) (1 << (25 + (((x) > 1) ? ((x) + 1) : (x)))) argument
317 #define CURSOR_THRESHOLD(x) (((x) & 0x03) << 24) argument
318 #define WINDOW_A_THRESHOLD(x) (((x) & 0x7f) << 16) argument
319 #define WINDOW_B_THRESHOLD(x) (((x) & 0x7f) << 8) argument
320 #define WINDOW_C_THRESHOLD(x) (((x) & 0xff) << 0) argument
323 #define CURSOR_DELAY(x) (((x) & 0x3f) << 24) argument
324 #define WINDOW_A_DELAY(x) (((x) & 0x3f) << 16) argument
325 #define WINDOW_B_DELAY(x) (((x) & 0x3f) << 8) argument
326 #define WINDOW_C_DELAY(x) (((x) & 0x3f) << 0) argument
329 #define VSYNC_H_POSITION(x) ((x) & 0xfff) argument
377 #define PULSE_QUAL_VACTIVE (2 << 6)
381 #define PULSE_LAST_START_B (2 << 8)
388 #define PULSE_START(x) (((x) & 0xfff) << 0) argument
389 #define PULSE_END(x) (((x) & 0xfff) << 16) argument
394 #define PIXEL_CLK_DIVIDER_PCD2 (2 << 8)
405 #define SHIFT_CLK_DIVIDER(x) ((x) & 0xff) argument
410 #define DISP_DATA_FORMAT_DF1P2C18B (2 << 0)
425 #define BASE_COLOR_SIZE222 ( 2 << 0)
436 #define DITHER_CONTROL_ORDERED (2 << 8)
441 #define BASE_COLOR_SIZE_222 ( 2 << 0)
458 #define DE_SELECT_ACTIVE_IS (2 << 0)
459 #define DE_CONTROL_ONECLK (0 << 2)
460 #define DE_CONTROL_NORMAL (1 << 2)
461 #define DE_CONTROL_EARLY_EXT (2 << 2)
462 #define DE_CONTROL_EARLY (3 << 2)
463 #define DE_CONTROL_ACTIVE_BLANK (4 << 2)
479 #define CURSOR_CLIP_WIN_B (2 << 28)
483 #define CURSOR_SIZE_128x128 (2 << 24)
506 #define DC_DISP_SD_LUT(x) (0x4c4 + (x)) argument
509 #define DC_DISP_SD_HISTOGRAM(x) (0x4cf + (x)) argument
511 #define DC_DISP_SD_BL_TF(x) (0x4d8 + (x)) argument
517 #define BACKGROUND_COLOR_ALPHA(x) (((x) & 0xff) << 24) argument
518 #define BACKGROUND_COLOR_BLUE(x) (((x) & 0xff) << 16) argument
519 #define BACKGROUND_COLOR_GREEN(x) (((x) & 0xff) << 8) argument
520 #define BACKGROUND_COLOR_RED(x) (((x) & 0xff) << 0) argument
523 #define INTERLACE_STATUS (1 << 2)
535 #define CURSOR_DST_BLEND_NEG_K1_TIMES_SRC (2 << 16)
547 #define LATENCY_CTL_MODE_ENABLE (1 << 2)
553 #define PIPE_METER_INT(x) (((x) & 0xff) << 8) argument
554 #define PIPE_METER_FRAC(x) (((x) & 0xff) << 0) argument
557 #define MEMPOOL_ENTRIES(x) (((x) & 0xffff) << 0) argument
560 #define SLOTS(x) (((x) & 0xff) << 0) argument
568 #define THREAD_NUM(x) (((x) & 0x1f) << 1) argument
585 #define V_DIRECTION (1 << 2)
595 #define BYTE_SWAP_SWAP4 (2 << 0)
601 #define BUFFER_CONTROL_EPP (2 << 0)
608 #define WIN_COLOR_DEPTH_P4 2
651 #define H_POSITION(x) (((x) & 0x1fff) << 0) /* XXX 0x7fff on Tegra186 */ argument
652 #define V_POSITION(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */ argument
655 #define H_SIZE(x) (((x) & 0x1fff) << 0) /* XXX 0x7fff on Tegra186 */ argument
656 #define V_SIZE(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */ argument
659 #define H_PRESCALED_SIZE(x) (((x) & 0x7fff) << 0) argument
660 #define V_PRESCALED_SIZE(x) (((x) & 0x1fff) << 16) /* XXX 0x7fff on Tegra186 */ argument
665 #define H_DDA_INC(x) (((x) & 0xffff) << 0) argument
666 #define V_DDA_INC(x) (((x) & 0xffff) << 16) argument
680 #define BLEND_WEIGHT1(x) (((x) & 0xff) << 16) argument
681 #define BLEND_WEIGHT0(x) (((x) & 0xff) << 8) argument
684 #define BLEND_CONTROL_FIX (0 << 2)
685 #define BLEND_CONTROL_ALPHA (1 << 2)
688 #define BLEND_COLOR_KEY_1 (2 << 0)
692 #define BLEND_CONTROL_DEPENDENT (2 << 2)
715 #define DC_WINBUF_SURFACE_KIND_BLOCK (2 << 0)
716 #define DC_WINBUF_SURFACE_KIND_BLOCK_HEIGHT(x) (((x) & 0x7) << 4) argument
731 #define DC_DISP_CORE_SOR_SET_CONTROL(x) (0x403 + (x)) argument
741 #define MAX_PIXELS_5TAP444(x) ((x) & 0xffff) argument
744 #define MAX_PIXELS_2TAP444(x) ((x) & 0xffff) argument
749 #define OWNER(x) (((x) & 0xf) << 0) argument
757 #define PITCH(x) (((x) >> 6) & 0x1fff) argument
760 #define PITCH_U(x) ((((x) >> 6) & 0x1fff) << 0) argument
761 #define PITCH_V(x) ((((x) >> 6) & 0x1fff) << 16) argument
770 #define DEGAMMA_YUV8_10 (2 << 13)
774 #define INPUT_RANGE_FULL (2 << 10)
777 #define COLOR_SPACE_YUV_709 (2 << 8)
787 #define COEFF_INDEX(x) (((x) & 0xff) << 15) argument
788 #define COEFF_DATA(x) (((x) & 0x3ff) << 0) argument
791 #define INPUT_SCALER_USE422 (1 << 2)
798 #define COLOR_KEY_DST (2 << 25)
800 #define K2(x) (((x) & 0xff) << 16) argument
801 #define K1(x) (((x) & 0xff) << 8) argument
802 #define WINDOW_LAYER_DEPTH(x) (((x) & 0xff) << 0) argument
807 #define BLEND_FACTOR_DST_ALPHA_NEG_K1_TIMES_SRC (2 << 12)
811 #define BLEND_FACTOR_SRC_ALPHA_K2 (2 << 8)
815 #define BLEND_FACTOR_DST_COLOR_K1 (2 << 4)
823 #define BLEND_FACTOR_SRC_COLOR_K1 (2 << 0)
837 #define OFFSET_Y(x) (((x) & 0xffff) << 16) argument
838 #define OFFSET_X(x) (((x) & 0xffff) << 0) argument