Lines Matching refs:kms
25 static int mdp4_hw_init(struct msm_kms *kms) in mdp4_hw_init() argument
27 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_hw_init()
106 static void mdp4_prepare_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp4_prepare_commit() argument
108 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_prepare_commit()
120 static void mdp4_complete_commit(struct msm_kms *kms, struct drm_atomic_state *state) in mdp4_complete_commit() argument
122 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_complete_commit()
134 static void mdp4_wait_for_crtc_commit_done(struct msm_kms *kms, in mdp4_wait_for_crtc_commit_done() argument
140 static long mdp4_round_pixclk(struct msm_kms *kms, unsigned long rate, in mdp4_round_pixclk() argument
158 static void mdp4_destroy(struct msm_kms *kms) in mdp4_destroy() argument
160 struct mdp4_kms *mdp4_kms = to_mdp4_kms(to_mdp_kms(kms)); in mdp4_destroy()
442 struct msm_kms *kms = NULL; in mdp4_kms_init() local
455 kms = &mdp4_kms->base.base; in mdp4_kms_init()
472 kms->irq = irq; in mdp4_kms_init()
586 return kms; in mdp4_kms_init()
589 if (kms) in mdp4_kms_init()
590 mdp4_destroy(kms); in mdp4_kms_init()