Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c43 struct vmw_surface srf; member
152 static inline uint32_t vmw_surface_dma_size(const struct vmw_surface *srf) in vmw_surface_dma_size() argument
154 return srf->num_sizes * sizeof(struct vmw_surface_dma); in vmw_surface_dma_size()
166 static inline uint32_t vmw_surface_define_size(const struct vmw_surface *srf) in vmw_surface_define_size() argument
168 return sizeof(struct vmw_surface_define) + srf->num_sizes * in vmw_surface_define_size()
207 static void vmw_surface_define_encode(const struct vmw_surface *srf, in vmw_surface_define_encode() argument
217 cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize); in vmw_surface_define_encode()
221 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
222 cmd->body.surfaceFlags = srf->flags; in vmw_surface_define_encode()
223 cmd->body.format = cpu_to_le32(srf->format); in vmw_surface_define_encode()
[all …]
Dvmwgfx_drv.h890 void vmw_kms_cursor_snoop(struct vmw_surface *srf,
1027 struct vmw_surface *srf);
1081 static inline void vmw_surface_unreference(struct vmw_surface **srf) in vmw_surface_unreference() argument
1083 struct vmw_surface *tmp_srf = *srf; in vmw_surface_unreference()
1085 *srf = NULL; in vmw_surface_unreference()
1090 static inline struct vmw_surface *vmw_surface_reference(struct vmw_surface *srf) in vmw_surface_reference() argument
1092 (void) vmw_resource_reference(&srf->res); in vmw_surface_reference()
1093 return srf; in vmw_surface_reference()
Dvmwgfx_kms.c289 void vmw_kms_cursor_snoop(struct vmw_surface *srf, in vmw_kms_cursor_snoop() argument
310 if (!srf->snooper.image) in vmw_kms_cursor_snoop()
359 memcpy(srf->snooper.image, virtual, 64*64*4); in vmw_kms_cursor_snoop()
363 memcpy(srf->snooper.image + i * 64, in vmw_kms_cursor_snoop()
368 srf->snooper.age++; in vmw_kms_cursor_snoop()
Dvmwgfx_execbuf.c1225 struct vmw_surface *srf = NULL; in vmw_cmd_dma() local
1270 srf = vmw_res_to_srf(sw_context->res_cache[vmw_res_surface].res); in vmw_cmd_dma()
1272 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