Lines Matching refs:format
226 const struct mdp_format *format; in mdp4_plane_mode_set() local
249 format = to_mdp_format(msm_framebuffer_format(fb)); in mdp4_plane_mode_set()
275 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set()
291 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set()
323 MDP4_PIPE_SRC_FORMAT_A_BPC(format->bpc_a) | in mdp4_plane_mode_set()
324 MDP4_PIPE_SRC_FORMAT_R_BPC(format->bpc_r) | in mdp4_plane_mode_set()
325 MDP4_PIPE_SRC_FORMAT_G_BPC(format->bpc_g) | in mdp4_plane_mode_set()
326 MDP4_PIPE_SRC_FORMAT_B_BPC(format->bpc_b) | in mdp4_plane_mode_set()
327 COND(format->alpha_enable, MDP4_PIPE_SRC_FORMAT_ALPHA_ENABLE) | in mdp4_plane_mode_set()
328 MDP4_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | in mdp4_plane_mode_set()
329 MDP4_PIPE_SRC_FORMAT_UNPACK_COUNT(format->unpack_count - 1) | in mdp4_plane_mode_set()
330 MDP4_PIPE_SRC_FORMAT_FETCH_PLANES(format->fetch_type) | in mdp4_plane_mode_set()
331 MDP4_PIPE_SRC_FORMAT_CHROMA_SAMP(format->chroma_sample) | in mdp4_plane_mode_set()
333 COND(format->unpack_tight, MDP4_PIPE_SRC_FORMAT_UNPACK_TIGHT)); in mdp4_plane_mode_set()
336 MDP4_PIPE_SRC_UNPACK_ELEM0(format->unpack[0]) | in mdp4_plane_mode_set()
337 MDP4_PIPE_SRC_UNPACK_ELEM1(format->unpack[1]) | in mdp4_plane_mode_set()
338 MDP4_PIPE_SRC_UNPACK_ELEM2(format->unpack[2]) | in mdp4_plane_mode_set()
339 MDP4_PIPE_SRC_UNPACK_ELEM3(format->unpack[3])); in mdp4_plane_mode_set()
341 if (MDP_FORMAT_IS_YUV(format)) { in mdp4_plane_mode_set()