Searched refs:srf (Results 1 - 10 of 10) sorted by relevance

/netbsd-current/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_surface.c50 * @srf: The surface metadata.
56 struct vmw_surface srf; member in struct:vmw_user_surface
200 * @srf: Pointer to a struct vmw_surface
203 * restoration of the surface represented by @srf.
205 static inline uint32_t vmw_surface_dma_size(const struct vmw_surface *srf) argument
207 return srf->num_sizes * sizeof(struct vmw_surface_dma);
214 * @srf: Pointer to a struct vmw_surface
217 * of the surface represented by @srf.
219 static inline uint32_t vmw_surface_define_size(const struct vmw_surface *srf) argument
221 return sizeof(struct vmw_surface_define) + srf
260 vmw_surface_define_encode(const struct vmw_surface *srf, void *cmd_space) argument
305 vmw_surface_dma_encode(struct vmw_surface *srf, void *cmd_space, const SVGAGuestPtr *ptr, bool to_surface) argument
414 struct vmw_surface *srf; local
493 struct vmw_surface *srf = vmw_res_to_srf(res); local
617 vmw_surface_init(struct vmw_private *dev_priv, struct vmw_surface *srf, void (*res_free) (struct vmw_resource *res)) argument
667 struct vmw_surface *srf = vmw_res_to_srf(res); local
735 struct vmw_surface *srf; local
1024 struct vmw_surface *srf; local
1069 struct vmw_surface *srf = vmw_res_to_srf(res); local
1292 struct vmw_surface *srf = vmw_res_to_srf(res); local
1419 struct vmw_surface *srf; local
1598 struct vmw_surface *srf; local
1768 struct vmw_surface *srf; local
1970 struct vmw_surface *srf = vmw_res_to_srf(res); local
2065 struct vmw_surface *srf = vmw_res_to_srf(res); local
[all...]
H A Dvmwgfx_so.c52 * @srf: Refcounted pointer to the surface pointed to by this view.
69 struct vmw_resource *srf; /* Immutable */ member in struct:vmw_view
138 struct vmw_surface *srf = vmw_res_to_srf(view->srf); local
140 list_add_tail(&view->srf_head, &srf->view_list);
165 struct vmw_surface *srf = vmw_res_to_srf(view->srf); local
187 WARN_ON(view->srf->id == SVGA3D_INVALID_ID);
188 cmd->body.sid = view->srf->id;
191 list_add_tail(&view->srf_head, &srf
315 vmw_view_add(struct vmw_cmdbuf_res_manager *man, struct vmw_resource *ctx, struct vmw_resource *srf, enum vmw_view_type view_type, u32 user_key, const void *cmd, size_t cmd_size, struct list_head *list) argument
[all...]
H A Dvmwgfx_so.h141 struct vmw_resource *srf,
H A Dvmwgfx_kms.h517 struct vmw_resource *srf,
547 struct vmw_resource *srf,
H A Dvmwgfx_drv.h1142 void vmw_kms_cursor_snoop(struct vmw_surface *srf,
1286 struct vmw_surface *srf);
1504 static inline void vmw_surface_unreference(struct vmw_surface **srf) argument
1506 struct vmw_surface *tmp_srf = *srf;
1508 *srf = NULL;
1513 static inline struct vmw_surface *vmw_surface_reference(struct vmw_surface *srf) argument
1515 (void) vmw_resource_reference(&srf->res);
1516 return srf;
H A Dvmwgfx_scrn.c1116 * @srf: Pointer to surface to blit from. If NULL, the surface attached
1118 * @dest_x: X coordinate offset to align @srf with framebuffer coordinates.
1119 * @dest_y: Y coordinate offset to align @srf with framebuffer coordinates.
1134 struct vmw_resource *srf,
1147 if (!srf)
1148 srf = &vfbs->surface->res;
1150 ret = vmw_validation_add_resource(&val_ctx, srf, 0, VMW_RES_DIRTY_NONE,
1166 sdirty.sid = srf->id;
1130 vmw_kms_sou_do_surface_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, struct vmw_resource *srf, s32 dest_x, s32 dest_y, unsigned num_clips, int inc, struct vmw_fence_obj **out_fence, struct drm_crtc *crtc) argument
H A Dvmwgfx_stdu.c839 * @srf: Pointer to surface to blit from. If NULL, the surface attached
841 * @dest_x: X coordinate offset to align @srf with framebuffer coordinates.
842 * @dest_y: Y coordinate offset to align @srf with framebuffer coordinates.
857 struct vmw_resource *srf,
870 if (!srf)
871 srf = &vfbs->surface->res;
873 ret = vmw_validation_add_resource(&val_ctx, srf, 0, VMW_RES_DIRTY_NONE,
883 ret = vmw_kms_update_proxy(srf, clips, num_clips, inc);
894 sdirty.sid = srf->id;
853 vmw_kms_stdu_surface_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, struct vmw_resource *srf, s32 dest_x, s32 dest_y, unsigned num_clips, int inc, struct vmw_fence_obj **out_fence, struct drm_crtc *crtc) argument
H A Dvmwgfx_kms.c149 void vmw_kms_cursor_snoop(struct vmw_surface *srf, argument
170 if (!srf->snooper.image)
219 memcpy(srf->snooper.image, virtual, 64*64*4);
223 memcpy(srf->snooper.image + i * 64,
228 srf->snooper.age++;
H A Dvmwgfx_execbuf.c1526 struct vmw_surface *srf = NULL; local
1570 srf = vmw_res_to_srf(sw_context->res_cache[vmw_res_surface].res);
1572 vmw_kms_cursor_snoop(srf, sw_context->fp->tfile, &vmw_bo->base, header);
2424 struct vmw_resource *srf; local
2452 &cmd->sid, &srf);
2461 return vmw_view_add(sw_context->man, ctx_node->ctx, srf, view_type,
/netbsd-current/sys/stand/efiboot/
H A Defifile.c71 SIMPLE_READ_FILE *srf; local
99 srf = AllocatePool(sizeof(*srf));
100 if (srf == NULL)
104 status = OpenSimpleReadFile(FALSE, NULL, 0, &dp, &device, srf);
107 FreePool(srf);
117 FreePool(srf);
121 f->f_fsdata = srf;
130 SIMPLE_READ_FILE *srf = f->f_fsdata; local
132 CloseSimpleReadFile(*srf);
142 SIMPLE_READ_FILE *srf = f->f_fsdata; local
[all...]

Completed in 219 milliseconds