Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
Dsrf.c153 smc->srf.TSR = smt_get_time() ; in smt_init_evc()
154 smc->srf.sr_state = SR0_WAIT ; in smt_init_evc()
218 smc->srf.any_report = TRUE ; in smt_srf_event()
234 smc->srf.any_report = TRUE ; in smt_srf_event()
241 tsr = smt_get_time() - smc->srf.TSR ; in smt_srf_event()
243 switch (smc->srf.sr_state) { in smt_srf_event()
247 smc->srf.SRThreshold = THRESHOLD_2 ; in smt_srf_event()
248 smc->srf.sr_state = SR1_HOLDOFF ; in smt_srf_event()
253 smc->srf.sr_state = SR1_HOLDOFF ; in smt_srf_event()
258 smc->srf.sr_state = SR1_HOLDOFF ; in smt_srf_event()
[all …]
DMakefile10 smtdef.o smtinit.o smttimer.o srf.o hwt.o \
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c51 struct vmw_surface srf; member
200 static inline uint32_t vmw_surface_dma_size(const struct vmw_surface *srf) in vmw_surface_dma_size() argument
202 return srf->metadata.num_sizes * sizeof(struct vmw_surface_dma); in vmw_surface_dma_size()
214 static inline uint32_t vmw_surface_define_size(const struct vmw_surface *srf) in vmw_surface_define_size() argument
216 return sizeof(struct vmw_surface_define) + srf->metadata.num_sizes * in vmw_surface_define_size()
255 static void vmw_surface_define_encode(const struct vmw_surface *srf, in vmw_surface_define_encode() argument
265 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode()
270 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
276 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->metadata.flags; in vmw_surface_define_encode()
277 cmd->body.format = srf->metadata.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
182 WARN_ON(view->srf->id == SVGA3D_INVALID_ID); in vmw_view_create()
183 cmd->body.sid = view->srf->id; in vmw_view_create()
186 list_add_tail(&view->srf_head, &srf->view_list); in vmw_view_create()
290 vmw_resource_unreference(&view->srf); in vmw_view_res_free()
312 struct vmw_resource *srf, in vmw_view_add() argument
364 view->srf = vmw_resource_reference(srf); in vmw_view_add()
[all …]
Dvmwgfx_drv.h1161 void vmw_kms_cursor_snoop(struct vmw_surface *srf,
1537 static inline void vmw_surface_unreference(struct vmw_surface **srf) in vmw_surface_unreference() argument
1539 struct vmw_surface *tmp_srf = *srf; in vmw_surface_unreference()
1541 *srf = NULL; in vmw_surface_unreference()
1546 static inline struct vmw_surface *vmw_surface_reference(struct vmw_surface *srf) in vmw_surface_reference() argument
1548 (void) vmw_resource_reference(&srf->res); in vmw_surface_reference()
1549 return srf; in vmw_surface_reference()
Dvmwgfx_so.h146 struct vmw_resource *srf,
Dvmwgfx_kms.h515 struct vmw_resource *srf,
545 struct vmw_resource *srf,
Dvmwgfx_scrn.c1127 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty() argument
1140 if (!srf) in vmw_kms_sou_do_surface_dirty()
1141 srf = &vfbs->surface->res; in vmw_kms_sou_do_surface_dirty()
1143 ret = vmw_validation_add_resource(&val_ctx, srf, 0, VMW_RES_DIRTY_NONE, in vmw_kms_sou_do_surface_dirty()
1159 sdirty.sid = srf->id; in vmw_kms_sou_do_surface_dirty()
Dvmwgfx_stdu.c852 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty() argument
865 if (!srf) in vmw_kms_stdu_surface_dirty()
866 srf = &vfbs->surface->res; in vmw_kms_stdu_surface_dirty()
868 ret = vmw_validation_add_resource(&val_ctx, srf, 0, VMW_RES_DIRTY_NONE, in vmw_kms_stdu_surface_dirty()
878 ret = vmw_kms_update_proxy(srf, clips, num_clips, inc); in vmw_kms_stdu_surface_dirty()
889 sdirty.sid = srf->id; in vmw_kms_stdu_surface_dirty()
Dvmwgfx_kms.c144 void vmw_kms_cursor_snoop(struct vmw_surface *srf, in vmw_kms_cursor_snoop() argument
165 if (!srf->snooper.image) in vmw_kms_cursor_snoop()
214 memcpy(srf->snooper.image, virtual, 64*64*4); in vmw_kms_cursor_snoop()
218 memcpy(srf->snooper.image + i * 64, in vmw_kms_cursor_snoop()
223 srf->snooper.age++; in vmw_kms_cursor_snoop()
Dvmwgfx_execbuf.c1521 struct vmw_surface *srf = NULL; in vmw_cmd_dma() local
1565 srf = vmw_res_to_srf(sw_context->res_cache[vmw_res_surface].res); in vmw_cmd_dma()
1567 vmw_kms_cursor_snoop(srf, sw_context->fp->tfile, &vmw_bo->base, header); in vmw_cmd_dma()
2427 struct vmw_resource *srf; in vmw_cmd_dx_view_define() local
2455 &cmd->sid, &srf); in vmw_cmd_dx_view_define()
2464 return vmw_view_add(sw_context->man, ctx_node->ctx, srf, view_type, in vmw_cmd_dx_view_define()
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/
Dsmc.h301 ring_status_indication(smc,smc->srf.ring_status |= bit)
303 ring_status_indication(smc,smc->srf.ring_status &= ~bit)
451 struct s_srf srf ; /* SRF */ member
/kernel/linux/linux-5.10/kernel/sched/
Dcore.c2100 struct rq_flags srf, drf; in __migrate_swap_task() local
2105 rq_pin_lock(src_rq, &srf); in __migrate_swap_task()
2114 rq_unpin_lock(src_rq, &srf); in __migrate_swap_task()
/kernel/linux/linux-5.10/
DMAINTAINERS5048 F: drivers/iio/proximity/srf*.c