Lines Matching refs:pstate
104 struct mdp5_plane_state *pstate; in mdp5_plane_atomic_set_property() local
108 pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_set_property()
112 pstate->name = (type)val; \ in mdp5_plane_atomic_set_property()
132 struct mdp5_plane_state *pstate; in mdp5_plane_atomic_get_property() local
136 pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_get_property()
140 *val = pstate->name; \ in mdp5_plane_atomic_get_property()
159 struct mdp5_plane_state *pstate = to_mdp5_plane_state(state); in mdp5_plane_atomic_print_state() local
162 drm_printf(p, "\thwpipe=%s\n", pstate->hwpipe ? in mdp5_plane_atomic_print_state()
163 pstate->hwpipe->name : "(null)"); in mdp5_plane_atomic_print_state()
166 pstate->r_hwpipe ? pstate->r_hwpipe->name : in mdp5_plane_atomic_print_state()
168 drm_printf(p, "\tpremultiplied=%u\n", pstate->premultiplied); in mdp5_plane_atomic_print_state()
169 drm_printf(p, "\tzpos=%u\n", pstate->zpos); in mdp5_plane_atomic_print_state()
170 drm_printf(p, "\talpha=%u\n", pstate->alpha); in mdp5_plane_atomic_print_state()
171 drm_printf(p, "\tstage=%s\n", stage2name(pstate->stage)); in mdp5_plane_atomic_print_state()
219 struct mdp5_plane_state *pstate = to_mdp5_plane_state(state); in mdp5_plane_destroy_state() local
224 kfree(pstate); in mdp5_plane_destroy_state()
917 struct drm_plane_state *pstate = plane->state; in mdp5_plane_mode_set() local
918 struct mdp5_hw_pipe *hwpipe = to_mdp5_plane_state(pstate)->hwpipe; in mdp5_plane_mode_set()
969 right_hwpipe = to_mdp5_plane_state(pstate)->r_hwpipe; in mdp5_plane_mode_set()
1003 rotation = drm_rotation_simplify(pstate->rotation, in mdp5_plane_mode_set()
1031 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); in mdp5_plane_pipe() local
1033 if (WARN_ON(!pstate->hwpipe)) in mdp5_plane_pipe()
1036 return pstate->hwpipe->pipe; in mdp5_plane_pipe()
1041 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); in mdp5_plane_right_pipe() local
1043 if (!pstate->r_hwpipe) in mdp5_plane_right_pipe()
1046 return pstate->r_hwpipe->pipe; in mdp5_plane_right_pipe()
1051 struct mdp5_plane_state *pstate = to_mdp5_plane_state(plane->state); in mdp5_plane_get_flush() local
1054 if (WARN_ON(!pstate->hwpipe)) in mdp5_plane_get_flush()
1057 mask = pstate->hwpipe->flush_mask; in mdp5_plane_get_flush()
1059 if (pstate->r_hwpipe) in mdp5_plane_get_flush()
1060 mask |= pstate->r_hwpipe->flush_mask; in mdp5_plane_get_flush()