Lines Matching defs:req
2156 struct drm_mode_cursor2 *req,
2166 if (!req->flags || (~DRM_MODE_CURSOR_FLAGS & req->flags))
2169 obj = drm_mode_object_find(dev, req->crtc_id, DRM_MODE_OBJECT_CRTC);
2171 DRM_DEBUG_KMS("Unknown CRTC ID %d\n", req->crtc_id);
2177 if (req->flags & DRM_MODE_CURSOR_BO) {
2184 ret = crtc->funcs->cursor_set2(crtc, file_priv, req->handle,
2185 req->width, req->height, req->hot_x, req->hot_y);
2187 ret = crtc->funcs->cursor_set(crtc, file_priv, req->handle,
2188 req->width, req->height);
2191 if (req->flags & DRM_MODE_CURSOR_MOVE) {
2193 ret = crtc->funcs->cursor_move(crtc, req->x, req->y);
2209 struct drm_mode_cursor *req = data;
2212 (void) memcpy(&new_req, req, sizeof(struct drm_mode_cursor));
2221 struct drm_mode_cursor2 *req = data;
2222 return drm_mode_cursor_common(dev, req, file);