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