Lines Matching full:modifier

58 static int meson_gxm_afbcd_pixel_fmt(u64 modifier, uint32_t format)  in meson_gxm_afbcd_pixel_fmt()  argument
71 static bool meson_gxm_afbcd_supported_fmt(u64 modifier, uint32_t format) in meson_gxm_afbcd_supported_fmt() argument
73 if (modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_32x8) in meson_gxm_afbcd_supported_fmt()
76 if (!(modifier & AFBC_FORMAT_MOD_YTR)) in meson_gxm_afbcd_supported_fmt()
79 return meson_gxm_afbcd_pixel_fmt(modifier, format) >= 0; in meson_gxm_afbcd_supported_fmt()
124 meson_gxm_afbcd_pixel_fmt(priv->afbcd.modifier, in meson_gxm_afbcd_setup()
127 if (priv->afbcd.modifier & AFBC_FORMAT_MOD_SPARSE) in meson_gxm_afbcd_setup()
130 if (priv->afbcd.modifier & AFBC_FORMAT_MOD_SPLIT) in meson_gxm_afbcd_setup()
206 static int meson_g12a_afbcd_pixel_fmt(u64 modifier, uint32_t format) in meson_g12a_afbcd_pixel_fmt() argument
212 if (modifier & AFBC_FORMAT_MOD_YTR) in meson_g12a_afbcd_pixel_fmt()
220 if (modifier & AFBC_FORMAT_MOD_YTR) in meson_g12a_afbcd_pixel_fmt()
225 if (modifier & AFBC_FORMAT_MOD_YTR) in meson_g12a_afbcd_pixel_fmt()
254 static int meson_g12a_afbcd_fmt_to_blk_mode(u64 modifier, uint32_t format) in meson_g12a_afbcd_fmt_to_blk_mode() argument
273 static bool meson_g12a_afbcd_supported_fmt(u64 modifier, uint32_t format) in meson_g12a_afbcd_supported_fmt() argument
275 return meson_g12a_afbcd_pixel_fmt(modifier, format) >= 0; in meson_g12a_afbcd_supported_fmt()
343 u32 format = meson_g12a_afbcd_pixel_fmt(priv->afbcd.modifier, in meson_g12a_afbcd_setup()
346 if (priv->afbcd.modifier & AFBC_FORMAT_MOD_YTR) in meson_g12a_afbcd_setup()
349 if (priv->afbcd.modifier & AFBC_FORMAT_MOD_SPLIT) in meson_g12a_afbcd_setup()
352 if (priv->afbcd.modifier & AFBC_FORMAT_MOD_TILED) in meson_g12a_afbcd_setup()
355 if ((priv->afbcd.modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK) == in meson_g12a_afbcd_setup()