Lines Matching defs:cursor
581 struct qxl_cursor *cursor;
617 ret = qxl_bo_kmap(cursor_bo, (void **)&cursor);
621 cursor->header.unique = 0;
622 cursor->header.type = SPICE_CURSOR_TYPE_ALPHA;
623 cursor->header.width = 64;
624 cursor->header.height = 64;
625 cursor->header.hot_spot_x = fb->hot_x;
626 cursor->header.hot_spot_y = fb->hot_y;
627 cursor->data_size = size;
628 cursor->chunk.next_chunk = 0;
629 cursor->chunk.prev_chunk = 0;
630 cursor->chunk.data_size = size;
631 memcpy(cursor->chunk.data, user_ptr, size);
928 struct drm_plane *primary, *cursor;
942 cursor = qxl_create_plane(qdev, 1 << crtc_id, DRM_PLANE_TYPE_CURSOR);
943 if (IS_ERR(cursor)) {
948 r = drm_crtc_init_with_planes(dev, &qxl_crtc->base, primary, cursor,
958 drm_plane_cleanup(cursor);
959 kfree(cursor);