Lines Matching +full:3 +full:base +full:- +full:x
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
16 #define SUN8I_MIXER_SIZE(w, h) (((h) - 1) << 16 | ((w) - 1))
17 #define SUN8I_MIXER_COORD(x, y) ((y) << 16 | (x)) argument
39 #define SUN8I_MIXER_BLEND_PIPE_CTL(base) ((base) + 0) argument
40 #define SUN8I_MIXER_BLEND_ATTR_FCOLOR(base, x) ((base) + 0x4 + 0x10 * (x)) argument
41 #define SUN8I_MIXER_BLEND_ATTR_INSIZE(base, x) ((base) + 0x8 + 0x10 * (x)) argument
42 #define SUN8I_MIXER_BLEND_ATTR_COORD(base, x) ((base) + 0xc + 0x10 * (x)) argument
43 #define SUN8I_MIXER_BLEND_ROUTE(base) ((base) + 0x80) argument
44 #define SUN8I_MIXER_BLEND_PREMULTIPLY(base) ((base) + 0x84) argument
45 #define SUN8I_MIXER_BLEND_BKCOLOR(base) ((base) + 0x88) argument
46 #define SUN8I_MIXER_BLEND_OUTSIZE(base) ((base) + 0x8c) argument
47 #define SUN8I_MIXER_BLEND_MODE(base, x) ((base) + 0x90 + 0x04 * (x)) argument
48 #define SUN8I_MIXER_BLEND_CK_CTL(base) ((base) + 0xb0) argument
49 #define SUN8I_MIXER_BLEND_CK_CFG(base) ((base) + 0xb4) argument
50 #define SUN8I_MIXER_BLEND_CK_MAX(base, x) ((base) + 0xc0 + 0x04 * (x)) argument
51 #define SUN8I_MIXER_BLEND_CK_MIN(base, x) ((base) + 0xe0 + 0x04 * (x)) argument
52 #define SUN8I_MIXER_BLEND_OUTCTL(base) ((base) + 0xfc) argument
53 #define SUN50I_MIXER_BLEND_CSC_CTL(base) ((base) + 0x100) argument
54 #define SUN50I_MIXER_BLEND_CSC_COEFF(base, layer, x) \ argument
55 ((base) + 0x110 + (layer) * 0x30 + (x) * 4)
77 #define SUN8I_MIXER_FBFMT_BGRA8888 3
102 #define SUN8I_MIXER_FBFMT_VYUY 3
111 /* format 12 is semi-planar YUV411 UVUV */
112 /* format 13 is semi-planar YUV411 VUVU */
119 /* format 20 is packed YVU444 10-bit */
120 /* format 21 is packed YUV444 10-bit */
123 * Sub-engines listed bellow are unused for now. The EN registers are here only
124 * to be used to disable these sub-engines.
155 * struct sun8i_mixer_cfg - mixer HW configuration
162 * @ccsc: select set of CCSC base addresses from the enumeration above.
217 return mixer->cfg->is_de3 ? DE3_BLD_BASE : DE2_BLD_BASE; in sun8i_blender_base()
223 if (mixer->cfg->is_de3) in sun8i_channel_base()