Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/fddi/skfp/
Dsrf.c148 smc->srf.TSR = smt_get_time() ; in smt_init_evc()
149 smc->srf.sr_state = SR0_WAIT ; in smt_init_evc()
213 smc->srf.any_report = TRUE ; in smt_srf_event()
229 smc->srf.any_report = TRUE ; in smt_srf_event()
236 tsr = smt_get_time() - smc->srf.TSR ; in smt_srf_event()
238 switch (smc->srf.sr_state) { in smt_srf_event()
242 smc->srf.SRThreshold = THRESHOLD_2 ; in smt_srf_event()
243 smc->srf.sr_state = SR1_HOLDOFF ; 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()
[all …]
DMakefile10 smtdef.o smtinit.o smttimer.o srf.o hwt.o \
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c53 struct vmw_surface srf; member
197 static inline uint32_t vmw_surface_dma_size(const struct vmw_surface *srf) in vmw_surface_dma_size() argument
199 return srf->metadata.num_sizes * sizeof(struct vmw_surface_dma); in vmw_surface_dma_size()
211 static inline uint32_t vmw_surface_define_size(const struct vmw_surface *srf) in vmw_surface_define_size() argument
213 return sizeof(struct vmw_surface_define) + srf->metadata.num_sizes * in vmw_surface_define_size()
252 static void vmw_surface_define_encode(const struct vmw_surface *srf, in vmw_surface_define_encode() argument
262 cmd_len = sizeof(cmd->body) + srf->metadata.num_sizes * in vmw_surface_define_encode()
267 cmd->body.sid = srf->res.id; in vmw_surface_define_encode()
273 cmd->body.surfaceFlags = (SVGA3dSurface1Flags)srf->metadata.flags; in vmw_surface_define_encode()
274 cmd->body.format = srf->metadata.format; in vmw_surface_define_encode()
[all …]
Dvmwgfx_so.c66 struct vmw_resource *srf; /* Immutable */ member
136 struct vmw_surface *srf = vmw_res_to_srf(view->srf); in vmw_view_commit_notify() local
138 list_add_tail(&view->srf_head, &srf->view_list); in vmw_view_commit_notify()
163 struct vmw_surface *srf = vmw_res_to_srf(view->srf); in vmw_view_create() local
185 WARN_ON(view->srf->id == SVGA3D_INVALID_ID); in vmw_view_create()
186 cmd->body.sid = view->srf->id; in vmw_view_create()
189 list_add_tail(&view->srf_head, &srf->view_list); in vmw_view_create()
291 vmw_resource_unreference(&view->srf); in vmw_view_res_free()
312 struct vmw_resource *srf, in vmw_view_add() argument
352 view->srf = vmw_resource_reference(srf); in vmw_view_add()
[all …]
Dvmwgfx_drv.h1063 void vmw_kms_cursor_snoop(struct vmw_surface *srf,
1422 static inline void vmw_surface_unreference(struct vmw_surface **srf) in vmw_surface_unreference() argument
1424 struct vmw_surface *tmp_srf = *srf; in vmw_surface_unreference()
1426 *srf = NULL; in vmw_surface_unreference()
1431 static inline struct vmw_surface *vmw_surface_reference(struct vmw_surface *srf) in vmw_surface_reference() argument
1433 (void) vmw_resource_reference(&srf->res); in vmw_surface_reference()
1434 return srf; in vmw_surface_reference()
Dvmwgfx_so.h150 struct vmw_resource *srf,
Dvmwgfx_kms.h523 struct vmw_resource *srf,
553 struct vmw_resource *srf,
Dvmwgfx_stdu.c713 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty() argument
726 if (!srf) in vmw_kms_stdu_surface_dirty()
727 srf = &vfbs->surface->res; in vmw_kms_stdu_surface_dirty()
729 ret = vmw_validation_add_resource(&val_ctx, srf, 0, VMW_RES_DIRTY_NONE, in vmw_kms_stdu_surface_dirty()
739 ret = vmw_kms_update_proxy(srf, clips, num_clips, inc); in vmw_kms_stdu_surface_dirty()
750 sdirty.sid = srf->id; in vmw_kms_stdu_surface_dirty()
Dvmwgfx_scrn.c1097 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty() argument
1110 if (!srf) in vmw_kms_sou_do_surface_dirty()
1111 srf = &vfbs->surface->res; in vmw_kms_sou_do_surface_dirty()
1113 ret = vmw_validation_add_resource(&val_ctx, srf, 0, VMW_RES_DIRTY_NONE, in vmw_kms_sou_do_surface_dirty()
1129 sdirty.sid = srf->id; in vmw_kms_sou_do_surface_dirty()
Dvmwgfx_kms.c354 void vmw_kms_cursor_snoop(struct vmw_surface *srf, in vmw_kms_cursor_snoop() argument
378 if (!srf->snooper.image) in vmw_kms_cursor_snoop()
428 memcpy(srf->snooper.image, virtual, in vmw_kms_cursor_snoop()
433 memcpy(srf->snooper.image + i * image_pitch, in vmw_kms_cursor_snoop()
438 srf->snooper.age++; in vmw_kms_cursor_snoop()
Dvmwgfx_execbuf.c1515 struct vmw_surface *srf = NULL; in vmw_cmd_dma() local
1559 srf = vmw_res_to_srf(sw_context->res_cache[vmw_res_surface].res); in vmw_cmd_dma()
1561 vmw_kms_cursor_snoop(srf, sw_context->fp->tfile, &vmw_bo->tbo, header); in vmw_cmd_dma()
2454 struct vmw_resource *srf; in vmw_cmd_dx_view_define() local
2482 &cmd->sid, &srf); in vmw_cmd_dx_view_define()
2491 return vmw_view_add(sw_context->man, ctx_node->ctx, srf, view_type, in vmw_cmd_dx_view_define()
/linux-6.6.21/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
/linux-6.6.21/kernel/sched/
Dcore.c3405 struct rq_flags srf, drf; in __migrate_swap_task() local
3410 rq_pin_lock(src_rq, &srf); in __migrate_swap_task()
3419 rq_unpin_lock(src_rq, &srf); in __migrate_swap_task()
/linux-6.6.21/
DMAINTAINERS5949 F: drivers/iio/proximity/srf*.c