Lines Matching defs:funcs
128 if (!plane->funcs->format_mod_supported)
134 if (plane->funcs->format_mod_supported(plane,
160 * @funcs: callbacks for the new plane
175 const struct drm_plane_funcs *funcs,
197 (!funcs->atomic_destroy_state ||
198 !funcs->atomic_duplicate_state));
208 plane->funcs = funcs;
299 if (plane->funcs->late_register)
300 ret = plane->funcs->late_register(plane);
320 if (plane->funcs->early_unregister)
321 plane->funcs->early_unregister(plane);
330 * @funcs: callbacks for the new plane
344 const struct drm_plane_funcs *funcs,
351 return drm_universal_plane_init(dev, plane, possible_crtcs, funcs,
385 WARN_ON(plane->state && !plane->funcs->atomic_destroy_state);
386 if (plane->state && plane->funcs->atomic_destroy_state)
387 plane->funcs->atomic_destroy_state(plane, plane->state);
441 ret = plane->funcs->disable_plane(plane, NULL);
475 if (plane->funcs->set_property)
476 ret = plane->funcs->set_property(plane, property, value);
588 if (plane->funcs->format_mod_supported) {
589 if (!plane->funcs->format_mod_supported(plane, format, modifier))
700 ret = plane->funcs->disable_plane(plane, ctx);
717 ret = plane->funcs->update_plane(plane, crtc, fb,
751 return plane->funcs->disable_plane(plane, ctx);
766 return plane->funcs->update_plane(plane, crtc, fb,
983 if (!crtc->funcs->cursor_set && !crtc->funcs->cursor_set2) {
988 if (crtc->funcs->cursor_set2)
989 ret = crtc->funcs->cursor_set2(crtc, file_priv, req->handle,
992 ret = crtc->funcs->cursor_set(crtc, file_priv, req->handle,
997 if (crtc->funcs->cursor_move) {
998 ret = crtc->funcs->cursor_move(crtc, req->x, req->y);
1083 if (crtc->funcs->page_flip_target) {
1117 } else if (crtc->funcs->page_flip == NULL ||
1193 if (crtc->funcs->page_flip_target)
1194 ret = crtc->funcs->page_flip_target(crtc, fb, e,
1199 ret = crtc->funcs->page_flip(crtc, fb, e, page_flip->flags,
1230 if (ret && crtc->funcs->page_flip_target)