Lines Matching defs:funcs
130 if (crtc->funcs->late_register)
131 ret = crtc->funcs->late_register(crtc);
144 if (crtc->funcs->early_unregister)
145 crtc->funcs->early_unregister(crtc);
250 const struct drm_crtc_funcs *funcs,
264 (!funcs->atomic_destroy_state ||
265 !funcs->atomic_duplicate_state));
268 crtc->funcs = funcs;
331 * @funcs: callbacks for the new CRTC
357 const struct drm_crtc_funcs *funcs,
363 WARN_ON(!funcs->destroy);
366 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
387 const struct drm_crtc_funcs *funcs,
393 drm_WARN_ON(dev, funcs && funcs->destroy);
395 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
415 * @funcs: callbacks for the new CRTC
439 const struct drm_crtc_funcs *funcs,
446 ret = __drmm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
460 const struct drm_crtc_funcs *funcs,
468 if (WARN_ON(!funcs || funcs->destroy))
478 ret = __drmm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
516 WARN_ON(crtc->state && !crtc->funcs->atomic_destroy_state);
517 if (crtc->state && crtc->funcs->atomic_destroy_state)
518 crtc->funcs->atomic_destroy_state(crtc, crtc->state);
621 ret = crtc->funcs->set_config(set, ctx);
886 ret = crtc->funcs->set_config(&set, &ctx);
921 if (crtc->funcs->set_property)
922 ret = crtc->funcs->set_property(crtc, property, value);