Home
last modified time | relevance | path

Searched refs:srf (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c46 struct vmw_surface srf; member
156 static inline uint32_t vmw_surface_dma_size(const struct vmw_surface *srf) in vmw_surface_dma_size() argument
158 return srf->num_sizes * sizeof(struct vmw_surface_dma); in vmw_surface_dma_size()
170 static inline uint32_t vmw_surface_define_size(const struct vmw_surface *srf) in vmw_surface_define_size() argument
172 return sizeof(struct vmw_surface_define) + srf->num_sizes * in vmw_surface_define_size()
211 static void vmw_surface_define_encode(const struct vmw_surface *srf, in vmw_surface_define_encode() argument
221 cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize); in vmw_surface_define_encode()
225 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
226 cmd->body.surfaceFlags = srf->flags; in vmw_surface_define_encode()
227 cmd->body.format = srf->format; in vmw_surface_define_encode()
[all …]
Dvmwgfx_so.c64 struct vmw_resource *srf; /* Immutable */ member
133 struct vmw_surface *srf = vmw_res_to_srf(view->srf); in vmw_view_commit_notify() local
135 list_add_tail(&view->srf_head, &srf->view_list); in vmw_view_commit_notify()
160 struct vmw_surface *srf = vmw_res_to_srf(view->srf); in vmw_view_create() local
183 WARN_ON(view->srf->id == SVGA3D_INVALID_ID); in vmw_view_create()
184 cmd->body.sid = view->srf->id; in vmw_view_create()
187 list_add_tail(&view->srf_head, &srf->view_list); in vmw_view_create()
294 vmw_resource_unreference(&view->srf); in vmw_view_res_free()
316 struct vmw_resource *srf, in vmw_view_add() argument
364 view->srf = vmw_resource_reference(srf); in vmw_view_add()
[all …]
Dvmwgfx_drv.h906 void vmw_kms_cursor_snoop(struct vmw_surface *srf,
1048 struct vmw_surface *srf);
1162 static inline void vmw_surface_unreference(struct vmw_surface **srf) in vmw_surface_unreference() argument
1164 struct vmw_surface *tmp_srf = *srf; in vmw_surface_unreference()
1166 *srf = NULL; in vmw_surface_unreference()
1171 static inline struct vmw_surface *vmw_surface_reference(struct vmw_surface *srf) in vmw_surface_reference() argument
1173 (void) vmw_resource_reference(&srf->res); in vmw_surface_reference()
1174 return srf; in vmw_surface_reference()
Dvmwgfx_stdu.c997 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty() argument
1009 if (!srf) in vmw_kms_stdu_surface_dirty()
1010 srf = &vfbs->surface->res; in vmw_kms_stdu_surface_dirty()
1012 ret = vmw_kms_helper_resource_prepare(srf, true, &ctx); in vmw_kms_stdu_surface_dirty()
1017 ret = vmw_kms_update_proxy(srf, clips, num_clips, inc); in vmw_kms_stdu_surface_dirty()
1027 sdirty.sid = srf->id; in vmw_kms_stdu_surface_dirty()
Dvmwgfx_kms.h288 struct vmw_resource *srf,
315 struct vmw_resource *srf,
Dvmwgfx_scrn.c835 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty() argument
847 if (!srf) in vmw_kms_sou_do_surface_dirty()
848 srf = &vfbs->surface->res; in vmw_kms_sou_do_surface_dirty()
850 ret = vmw_kms_helper_resource_prepare(srf, true, &ctx); in vmw_kms_sou_do_surface_dirty()
860 sdirty.sid = srf->id; in vmw_kms_sou_do_surface_dirty()
Dvmwgfx_so.h139 struct vmw_resource *srf,
Dvmwgfx_kms.c263 void vmw_kms_cursor_snoop(struct vmw_surface *srf, in vmw_kms_cursor_snoop() argument
284 if (!srf->snooper.image) in vmw_kms_cursor_snoop()
333 memcpy(srf->snooper.image, virtual, 64*64*4); in vmw_kms_cursor_snoop()
337 memcpy(srf->snooper.image + i * 64, in vmw_kms_cursor_snoop()
342 srf->snooper.age++; in vmw_kms_cursor_snoop()
Dvmwgfx_execbuf.c1667 struct vmw_surface *srf = NULL; in vmw_cmd_dma() local
1712 srf = vmw_res_to_srf(sw_context->res_cache[vmw_res_surface].res); in vmw_cmd_dma()
1714 vmw_kms_cursor_snoop(srf, sw_context->fp->tfile, &vmw_bo->base, in vmw_cmd_dma()
/drivers/net/fddi/skfp/
Dsrf.c157 smc->srf.TSR = smt_get_time() ; in smt_init_evc()
158 smc->srf.sr_state = SR0_WAIT ; in smt_init_evc()
224 smc->srf.any_report = TRUE ; in smt_srf_event()
240 smc->srf.any_report = TRUE ; in smt_srf_event()
247 tsr = smt_get_time() - smc->srf.TSR ; in smt_srf_event()
249 switch (smc->srf.sr_state) { in smt_srf_event()
253 smc->srf.SRThreshold = THRESHOLD_2 ; in smt_srf_event()
254 smc->srf.sr_state = SR1_HOLDOFF ; in smt_srf_event()
259 smc->srf.sr_state = SR1_HOLDOFF ; in smt_srf_event()
264 smc->srf.sr_state = SR1_HOLDOFF ; in smt_srf_event()
[all …]
DMakefile9 smtdef.o smtinit.o smttimer.o srf.o hwt.o \
/drivers/net/fddi/skfp/h/
Dsmc.h305 ring_status_indication(smc,smc->srf.ring_status |= bit)
307 ring_status_indication(smc,smc->srf.ring_status &= ~bit)
455 struct s_srf srf ; /* SRF */ member