Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c41 struct vmw_surface srf; member
605 static inline uint32_t vmw_surface_dma_size(const struct vmw_surface *srf) in vmw_surface_dma_size() argument
607 return srf->num_sizes * sizeof(struct vmw_surface_dma); in vmw_surface_dma_size()
619 static inline uint32_t vmw_surface_define_size(const struct vmw_surface *srf) in vmw_surface_define_size() argument
621 return sizeof(struct vmw_surface_define) + srf->num_sizes * in vmw_surface_define_size()
660 static void vmw_surface_define_encode(const struct vmw_surface *srf, in vmw_surface_define_encode() argument
670 cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize); in vmw_surface_define_encode()
674 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
675 cmd->body.surfaceFlags = srf->flags; in vmw_surface_define_encode()
676 cmd->body.format = cpu_to_le32(srf->format); in vmw_surface_define_encode()
[all …]
Dvmwgfx_drv.h403 struct vmw_surface *srf,
419 struct vmw_surface *srf);
618 void vmw_kms_cursor_snoop(struct vmw_surface *srf,
684 static inline void vmw_surface_unreference(struct vmw_surface **srf) in vmw_surface_unreference() argument
686 struct vmw_surface *tmp_srf = *srf; in vmw_surface_unreference()
688 *srf = NULL; in vmw_surface_unreference()
693 static inline struct vmw_surface *vmw_surface_reference(struct vmw_surface *srf) in vmw_surface_reference() argument
695 (void) vmw_resource_reference(&srf->res); in vmw_surface_reference()
696 return srf; in vmw_surface_reference()
Dvmwgfx_execbuf.c142 struct vmw_surface *srf; in vmw_cmd_sid_check() local
157 *sid, &srf); in vmw_cmd_sid_check()
166 ret = vmw_surface_validate(dev_priv, srf); in vmw_cmd_sid_check()
170 vmw_surface_unreference(&srf); in vmw_cmd_sid_check()
176 sw_context->sid_translation = srf->res.id; in vmw_cmd_sid_check()
179 res = &srf->res; in vmw_cmd_sid_check()
554 struct vmw_surface *srf = NULL; in vmw_cmd_dma() local
571 cmd->dma.host.sid, &srf); in vmw_cmd_dma()
577 ret = vmw_surface_validate(dev_priv, srf); in vmw_cmd_dma()
587 cmd->dma.host.sid = srf->res.id; in vmw_cmd_dma()
[all …]
Dvmwgfx_kms.c254 void vmw_kms_cursor_snoop(struct vmw_surface *srf, in vmw_kms_cursor_snoop() argument
275 if (!srf->snooper.image) in vmw_kms_cursor_snoop()
324 memcpy(srf->snooper.image, virtual, 64*64*4); in vmw_kms_cursor_snoop()
328 memcpy(srf->snooper.image + i * 64, in vmw_kms_cursor_snoop()
333 srf->snooper.age++; in vmw_kms_cursor_snoop()
/linux-3.4.99/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 \
/linux-3.4.99/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