Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/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-2.6.39/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c45 struct vmw_surface srf; member
416 struct vmw_surface *srf = container_of(res, struct vmw_surface, res); in vmw_surface_res_free() local
418 kfree(srf->sizes); in vmw_surface_res_free()
419 kfree(srf->snooper.image); in vmw_surface_res_free()
420 kfree(srf); in vmw_surface_res_free()
424 struct vmw_surface *srf, in vmw_surface_init() argument
433 struct vmw_resource *res = &srf->res; in vmw_surface_init()
448 submit_size = sizeof(*cmd) + srf->num_sizes * sizeof(SVGA3dSize); in vmw_surface_init()
449 cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize); in vmw_surface_init()
461 cmd->body.surfaceFlags = cpu_to_le32(srf->flags); in vmw_surface_init()
[all …]
Dvmwgfx_drv.h351 struct vmw_surface *srf,
507 void vmw_kms_cursor_snoop(struct vmw_surface *srf,
548 static inline void vmw_surface_unreference(struct vmw_surface **srf) in vmw_surface_unreference() argument
550 struct vmw_surface *tmp_srf = *srf; in vmw_surface_unreference()
552 *srf = NULL; in vmw_surface_unreference()
557 static inline struct vmw_surface *vmw_surface_reference(struct vmw_surface *srf) in vmw_surface_reference() argument
559 (void) vmw_resource_reference(&srf->res); in vmw_surface_reference()
560 return srf; in vmw_surface_reference()
Dvmwgfx_execbuf.c299 struct vmw_surface *srf = NULL; in vmw_cmd_dma() local
315 cmd->dma.host.sid, &srf); in vmw_cmd_dma()
325 cmd->dma.host.sid = srf->res.id; in vmw_cmd_dma()
326 vmw_kms_cursor_snoop(srf, sw_context->tfile, bo, header); in vmw_cmd_dma()
331 vmw_surface_unreference(&srf); in vmw_cmd_dma()
Dvmwgfx_kms.c201 void vmw_kms_cursor_snoop(struct vmw_surface *srf, in vmw_kms_cursor_snoop() argument
222 if (!srf->snooper.image) in vmw_kms_cursor_snoop()
267 memcpy(srf->snooper.image, virtual, 64*64*4); in vmw_kms_cursor_snoop()
268 srf->snooper.age++; in vmw_kms_cursor_snoop()
/linux-2.6.39/drivers/net/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