Lines Matching refs:format
441 const struct mdp_format *format; in mdp5_plane_mode_set() local
456 format = to_mdp_format(msm_framebuffer_format(fb)); in mdp5_plane_mode_set()
457 pix_format = format->base.pixel_format; in mdp5_plane_mode_set()
485 if ((src_w != crtc_w) || MDP_FORMAT_IS_YUV(format)) { in mdp5_plane_mode_set()
496 if ((src_h != crtc_h) || MDP_FORMAT_IS_YUV(format)) { in mdp5_plane_mode_set()
530 MDP5_PIPE_SRC_FORMAT_A_BPC(format->bpc_a) | in mdp5_plane_mode_set()
531 MDP5_PIPE_SRC_FORMAT_R_BPC(format->bpc_r) | in mdp5_plane_mode_set()
532 MDP5_PIPE_SRC_FORMAT_G_BPC(format->bpc_g) | in mdp5_plane_mode_set()
533 MDP5_PIPE_SRC_FORMAT_B_BPC(format->bpc_b) | in mdp5_plane_mode_set()
534 COND(format->alpha_enable, MDP5_PIPE_SRC_FORMAT_ALPHA_ENABLE) | in mdp5_plane_mode_set()
535 MDP5_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | in mdp5_plane_mode_set()
536 MDP5_PIPE_SRC_FORMAT_UNPACK_COUNT(format->unpack_count - 1) | in mdp5_plane_mode_set()
537 COND(format->unpack_tight, MDP5_PIPE_SRC_FORMAT_UNPACK_TIGHT) | in mdp5_plane_mode_set()
538 MDP5_PIPE_SRC_FORMAT_NUM_PLANES(format->fetch_type) | in mdp5_plane_mode_set()
539 MDP5_PIPE_SRC_FORMAT_CHROMA_SAMP(format->chroma_sample)); in mdp5_plane_mode_set()
542 MDP5_PIPE_SRC_UNPACK_ELEM0(format->unpack[0]) | in mdp5_plane_mode_set()
543 MDP5_PIPE_SRC_UNPACK_ELEM1(format->unpack[1]) | in mdp5_plane_mode_set()
544 MDP5_PIPE_SRC_UNPACK_ELEM2(format->unpack[2]) | in mdp5_plane_mode_set()
545 MDP5_PIPE_SRC_UNPACK_ELEM3(format->unpack[3])); in mdp5_plane_mode_set()
566 if (MDP_FORMAT_IS_YUV(format)) in mdp5_plane_mode_set()