/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A D | srf.c | 30 static const char ID_sccs[] = "@(#)srf.c 1.18 97/08/04 (C) SK " ; 153 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 in smt_srf_event() [all...] |
H A D | Makefile | 10 smtdef.o smtinit.o smttimer.o srf.o hwt.o \
|
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | srf.c | 148 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 in smt_srf_event() [all...] |
H A D | Makefile | 10 smtdef.o smtinit.o smttimer.o srf.o hwt.o \
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_surface.c | 45 * @srf: The surface metadata. 51 struct vmw_surface srf; member 195 * @srf: Pointer to a struct vmw_surface 198 * restoration of the surface represented by @srf. 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() 209 * @srf: Pointer to a struct vmw_surface 212 * of the surface represented by @srf. 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 in vmw_surface_define_size() 255 vmw_surface_define_encode(const struct vmw_surface *srf, void *cmd_space) vmw_surface_define_encode() argument 301 vmw_surface_dma_encode(struct vmw_surface *srf, void *cmd_space, const SVGAGuestPtr *ptr, bool to_surface) vmw_surface_dma_encode() argument 410 struct vmw_surface *srf; vmw_legacy_srf_create() local 489 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_legacy_srf_dma() local 613 vmw_surface_init(struct vmw_private *dev_priv, struct vmw_surface *srf, void (*res_free) (struct vmw_resource *res)) vmw_surface_init() argument 663 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_user_surface_free() local 731 struct vmw_surface *srf; vmw_surface_define_ioctl() local 1023 struct vmw_surface *srf; vmw_surface_reference_ioctl() local 1069 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_gb_surface_create() local 1318 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_gb_surface_destroy() local 1461 struct vmw_surface *srf; vmw_gb_surface_define_internal() local 1649 struct vmw_surface *srf; vmw_gb_surface_reference_internal() local 1866 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_surface_dirty_range_add() local 1961 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_surface_dirty_alloc() local 2081 struct vmw_surface *srf; vmw_gb_surface_define() local [all...] |
H A D | vmwgfx_so.c | 47 * @srf: Refcounted pointer to the surface pointed to by this view. 64 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 in vmw_view_create() 310 vmw_view_add(struct vmw_cmdbuf_res_manager *man, struct vmw_resource *ctx, struct vmw_resource *srf, enum vmw_view_type view_type, u32 user_key, const void *cmd, size_t cmd_size, struct list_head *list) vmw_view_add() argument [all...] |
H A D | vmwgfx_drv.h | 1161 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()
|
H A D | vmwgfx_so.h | 146 struct vmw_resource *srf,
|
H A D | vmwgfx_kms.h | 515 struct vmw_resource *srf, 545 struct vmw_resource *srf,
|
H A D | vmwgfx_scrn.c | 1113 * @srf: Pointer to surface to blit from. If NULL, the surface attached 1115 * @dest_x: X coordinate offset to align @srf with framebuffer coordinates. 1116 * @dest_y: Y coordinate offset to align @srf with framebuffer coordinates. 1131 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty() 1144 if (!srf) in vmw_kms_sou_do_surface_dirty() 1145 srf = &vfbs->surface->res; in vmw_kms_sou_do_surface_dirty() 1147 ret = vmw_validation_add_resource(&val_ctx, srf, 0, VMW_RES_DIRTY_NONE, in vmw_kms_sou_do_surface_dirty() 1163 sdirty.sid = srf->id; in vmw_kms_sou_do_surface_dirty() 1127 vmw_kms_sou_do_surface_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, struct vmw_resource *srf, s32 dest_x, s32 dest_y, unsigned num_clips, int inc, struct vmw_fence_obj **out_fence, struct drm_crtc *crtc) vmw_kms_sou_do_surface_dirty() argument
|
H A D | vmwgfx_stdu.c | 834 * @srf: Pointer to surface to blit from. If NULL, the surface attached 836 * @dest_x: X coordinate offset to align @srf with framebuffer coordinates. 837 * @dest_y: Y coordinate offset to align @srf with framebuffer coordinates. 852 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty() 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() 848 vmw_kms_stdu_surface_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, struct vmw_resource *srf, s32 dest_x, s32 dest_y, unsigned num_clips, int inc, struct vmw_fence_obj **out_fence, struct drm_crtc *crtc) vmw_kms_stdu_surface_dirty() argument
|
H A D | vmwgfx_kms.c | 144 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() 215 memcpy(srf->snooper.image, virtual, 64*64*4); in vmw_kms_cursor_snoop() 219 memcpy(srf->snooper.image + i * 64, in vmw_kms_cursor_snoop() 224 srf->snooper.age++; in vmw_kms_cursor_snoop()
|
H A D | vmwgfx_execbuf.c | 1521 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() 2420 struct vmw_resource *srf; in vmw_cmd_dx_view_define() local 2448 &cmd->sid, &srf); in vmw_cmd_dx_view_define() 2457 return vmw_view_add(sw_context->man, ctx_node->ctx, srf, view_type, in vmw_cmd_dx_view_define()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_surface.c | 48 * @srf: The surface metadata. 53 struct vmw_surface srf; member 192 * @srf: Pointer to a struct vmw_surface 195 * restoration of the surface represented by @srf. 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() 206 * @srf: Pointer to a struct vmw_surface 209 * of the surface represented by @srf. 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 in vmw_surface_define_size() 252 vmw_surface_define_encode(const struct vmw_surface *srf, void *cmd_space) vmw_surface_define_encode() argument 298 vmw_surface_dma_encode(struct vmw_surface *srf, void *cmd_space, const SVGAGuestPtr *ptr, bool to_surface) vmw_surface_dma_encode() argument 406 struct vmw_surface *srf; vmw_legacy_srf_create() local 485 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_legacy_srf_dma() local 610 vmw_surface_init(struct vmw_private *dev_priv, struct vmw_surface *srf, void (*res_free) (struct vmw_resource *res)) vmw_surface_init() argument 660 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_user_surface_free() local 723 struct vmw_surface *srf; vmw_surface_define_ioctl() local 990 struct vmw_surface *srf; vmw_surface_reference_ioctl() local 1036 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_gb_surface_create() local 1285 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_gb_surface_destroy() local 1428 struct vmw_surface *srf; vmw_gb_surface_define_internal() local 1598 struct vmw_surface *srf; vmw_gb_surface_reference_internal() local 1813 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_surface_dirty_range_add() local 1907 struct vmw_surface *srf = vmw_res_to_srf(res); vmw_surface_dirty_alloc() local 2008 struct vmw_surface *srf; vmw_gb_surface_define() local [all...] |
H A D | vmwgfx_so.c | 49 * @srf: Refcounted pointer to the surface pointed to by this view. 66 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 in vmw_view_create() 310 vmw_view_add(struct vmw_cmdbuf_res_manager *man, struct vmw_resource *ctx, struct vmw_resource *srf, enum vmw_view_type view_type, u32 user_key, const void *cmd, size_t cmd_size, struct list_head *list) vmw_view_add() argument [all...] |
H A D | vmwgfx_drv.h | 1063 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()
|
H A D | vmwgfx_so.h | 150 struct vmw_resource *srf,
|
H A D | vmwgfx_kms.h | 523 struct vmw_resource *srf, 553 struct vmw_resource *srf,
|
H A D | vmwgfx_stdu.c | 695 * @srf: Pointer to surface to blit from. If NULL, the surface attached 697 * @dest_x: X coordinate offset to align @srf with framebuffer coordinates. 698 * @dest_y: Y coordinate offset to align @srf with framebuffer coordinates. 713 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty() 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() 709 vmw_kms_stdu_surface_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, struct vmw_resource *srf, s32 dest_x, s32 dest_y, unsigned num_clips, int inc, struct vmw_fence_obj **out_fence, struct drm_crtc *crtc) vmw_kms_stdu_surface_dirty() argument
|
H A D | vmwgfx_scrn.c | 1079 * @srf: Pointer to surface to blit from. If NULL, the surface attached 1081 * @dest_x: X coordinate offset to align @srf with framebuffer coordinates. 1082 * @dest_y: Y coordinate offset to align @srf with framebuffer coordinates. 1097 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty() 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() 1093 vmw_kms_sou_do_surface_dirty(struct vmw_private *dev_priv, struct vmw_framebuffer *framebuffer, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, struct vmw_resource *srf, s32 dest_x, s32 dest_y, unsigned num_clips, int inc, struct vmw_fence_obj **out_fence, struct drm_crtc *crtc) vmw_kms_sou_do_surface_dirty() argument
|
H A D | vmwgfx_kms.c | 362 void vmw_kms_cursor_snoop(struct vmw_surface *srf, in vmw_kms_cursor_snoop() argument 386 if (!srf->snooper.image) in vmw_kms_cursor_snoop() 436 memcpy(srf->snooper.image, virtual, in vmw_kms_cursor_snoop() 441 memcpy(srf->snooper.image + i * image_pitch, in vmw_kms_cursor_snoop() 446 srf->snooper.age++; in vmw_kms_cursor_snoop()
|
H A D | vmwgfx_execbuf.c | 1517 struct vmw_surface *srf = NULL; in vmw_cmd_dma() local 1561 srf = vmw_res_to_srf(sw_context->res_cache[vmw_res_surface].res); in vmw_cmd_dma() 1563 vmw_kms_cursor_snoop(srf, sw_context->fp->tfile, &vmw_bo->tbo, header); in vmw_cmd_dma() 2456 struct vmw_resource *srf; in vmw_cmd_dx_view_define() local 2484 &cmd->sid, &srf); in vmw_cmd_dx_view_define() 2495 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/ |
H A D | smc.h | 301 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-6.6/drivers/net/fddi/skfp/h/ |
H A D | smc.h | 301 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/ |
H A D | core.c | 2109 struct rq_flags srf, drf; in __migrate_swap_task() local 2114 rq_pin_lock(src_rq, &srf); in __migrate_swap_task() 2123 rq_unpin_lock(src_rq, &srf); in __migrate_swap_task()
|