Lines Matching refs:funcs
358 const struct drm_framebuffer_funcs *funcs)
366 fb->funcs = funcs;
387 fb->funcs->destroy(fb);
586 * @funcs: callbacks for the new CRTC
592 const struct drm_crtc_funcs *funcs)
597 crtc->funcs = funcs;
674 * @funcs: callbacks for this connector
686 const struct drm_connector_funcs *funcs,
699 connector->funcs = funcs;
763 const struct drm_encoder_funcs *funcs,
775 encoder->funcs = funcs;
801 * @funcs: callbacks for the new plane
813 const struct drm_plane_funcs *funcs,
827 plane->funcs = funcs;
897 ret = plane->funcs->disable_plane(plane);
1576 connector->funcs->fill_modes(connector,
1847 plane->funcs->disable_plane(plane);
1917 ret = plane->funcs->update_plane(plane, crtc, fb,
1961 ret = crtc->funcs->set_config(set);
2178 if (!crtc->funcs->cursor_set && !crtc->funcs->cursor_set2) {
2183 if (crtc->funcs->cursor_set2)
2184 ret = crtc->funcs->cursor_set2(crtc, file_priv, req->handle,
2187 ret = crtc->funcs->cursor_set(crtc, file_priv, req->handle,
2192 if (crtc->funcs->cursor_move) {
2193 ret = crtc->funcs->cursor_move(crtc, req->x, req->y);
2302 fb = dev->mode_config.funcs->fb_create(dev, file, &r);
2482 fb = dev->mode_config.funcs->fb_create(dev, file, r);
2583 if (fb->funcs->create_handle)
2584 ret = fb->funcs->create_handle(fb, file, &r->handle);
2646 if (fb->funcs->dirty) {
2648 ret = fb->funcs->dirty(fb, file, flags, r->color,
3159 if (connector->funcs->dpms)
3160 (*connector->funcs->dpms)(connector, (int)value);
3162 } else if (connector->funcs->set_property)
3163 ret = connector->funcs->set_property(connector, property, value);
3178 if (crtc->funcs->set_property)
3179 ret = crtc->funcs->set_property(crtc, property, value);
3193 if (plane->funcs->set_property)
3194 ret = plane->funcs->set_property(plane, property, value);
3375 if (crtc->funcs->gamma_set == NULL) {
3405 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size);
3494 if (crtc->funcs->page_flip == NULL)
3552 ret = crtc->funcs->page_flip(crtc, fb, e);
3591 if (crtc->funcs->reset)
3592 crtc->funcs->reset(crtc);
3595 if (encoder->funcs->reset)
3596 encoder->funcs->reset(encoder);
3599 if (connector->funcs->reset)
3600 connector->funcs->reset(connector);
3903 encoder->funcs->destroy(encoder);
3908 connector->funcs->destroy(connector);
3936 plane->funcs->destroy(plane);
3940 crtc->funcs->destroy(crtc);