Lines Matching refs:format
204 const struct mdp_format *format; in mdp4_plane_mode_set() local
224 format = to_mdp_format(msm_framebuffer_format(fb)); in mdp4_plane_mode_set()
250 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set()
266 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set()
298 MDP4_PIPE_SRC_FORMAT_A_BPC(format->bpc_a) | in mdp4_plane_mode_set()
299 MDP4_PIPE_SRC_FORMAT_R_BPC(format->bpc_r) | in mdp4_plane_mode_set()
300 MDP4_PIPE_SRC_FORMAT_G_BPC(format->bpc_g) | in mdp4_plane_mode_set()
301 MDP4_PIPE_SRC_FORMAT_B_BPC(format->bpc_b) | in mdp4_plane_mode_set()
302 COND(format->alpha_enable, MDP4_PIPE_SRC_FORMAT_ALPHA_ENABLE) | in mdp4_plane_mode_set()
303 MDP4_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | in mdp4_plane_mode_set()
304 MDP4_PIPE_SRC_FORMAT_UNPACK_COUNT(format->unpack_count - 1) | in mdp4_plane_mode_set()
305 MDP4_PIPE_SRC_FORMAT_FETCH_PLANES(format->fetch_type) | in mdp4_plane_mode_set()
306 MDP4_PIPE_SRC_FORMAT_CHROMA_SAMP(format->chroma_sample) | in mdp4_plane_mode_set()
307 COND(format->unpack_tight, MDP4_PIPE_SRC_FORMAT_UNPACK_TIGHT)); in mdp4_plane_mode_set()
310 MDP4_PIPE_SRC_UNPACK_ELEM0(format->unpack[0]) | in mdp4_plane_mode_set()
311 MDP4_PIPE_SRC_UNPACK_ELEM1(format->unpack[1]) | in mdp4_plane_mode_set()
312 MDP4_PIPE_SRC_UNPACK_ELEM2(format->unpack[2]) | in mdp4_plane_mode_set()
313 MDP4_PIPE_SRC_UNPACK_ELEM3(format->unpack[3])); in mdp4_plane_mode_set()
315 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set()