Lines Matching refs:priv_state
91 struct drm_private_state *priv_state; in ingenic_ipu_get_priv_state() local
93 priv_state = drm_atomic_get_private_obj_state(state, &priv->private_obj); in ingenic_ipu_get_priv_state()
94 if (IS_ERR(priv_state)) in ingenic_ipu_get_priv_state()
95 return ERR_CAST(priv_state); in ingenic_ipu_get_priv_state()
97 return to_ingenic_ipu_priv_state(priv_state); in ingenic_ipu_get_priv_state()
103 struct drm_private_state *priv_state; in ingenic_ipu_get_new_priv_state() local
105 priv_state = drm_atomic_get_new_private_obj_state(state, &priv->private_obj); in ingenic_ipu_get_new_priv_state()
106 if (!priv_state) in ingenic_ipu_get_new_priv_state()
109 return to_ingenic_ipu_priv_state(priv_state); in ingenic_ipu_get_new_priv_state()
748 struct ingenic_ipu_private_state *priv_state = to_ingenic_ipu_priv_state(state); in ingenic_ipu_destroy_state() local
750 kfree(priv_state); in ingenic_ipu_destroy_state()