/dports/www/netsurf/netsurf-3.10/desktop/ |
H A D | hotlist.c | 68 struct hotlist_ctx hl_ctx; variable 172 if (hl_ctx.save_scheduled == false && hl_ctx.save_path != NULL) { in hotlist_schedule_save() 467 if (!hl_ctx.built) in hotlist_add_folder_internal() 923 ctx.tree = hl_ctx.tree; in hotlist_load() 1300 hl_ctx.tree = NULL; in hotlist_init() 1301 hl_ctx.built = false; in hotlist_init() 1318 hl_ctx.tree = NULL; in hotlist_init() 1328 hl_ctx.tree = NULL; in hotlist_init() 1342 hl_ctx.built = true; in hotlist_init() 1409 hl_ctx.built = false; in hotlist_fini() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/misc/habanalabs/common/mmu/ |
H A D | mmu_v1.c | 38 static void free_hop(struct hl_ctx *ctx, u64 hop_addr) in free_hop() 45 static u64 alloc_hop(struct hl_ctx *ctx) in alloc_hop() 85 static inline u64 get_phys_hop0_addr(struct hl_ctx *ctx) in get_phys_hop0_addr() 91 static inline u64 get_hop0_addr(struct hl_ctx *ctx) in get_hop0_addr() 97 static void flush(struct hl_ctx *ctx) in flush() 180 static inline u64 get_hop0_pte_addr(struct hl_ctx *ctx, in get_hop0_pte_addr() 490 static int hl_mmu_v1_ctx_init(struct hl_ctx *ctx) in hl_mmu_v1_ctx_init() 506 static void hl_mmu_v1_ctx_fini(struct hl_ctx *ctx) in hl_mmu_v1_ctx_fini() 527 static int _hl_mmu_v1_unmap(struct hl_ctx *ctx, in _hl_mmu_v1_unmap() 832 static void hl_mmu_v1_swap_out(struct hl_ctx *ctx) in hl_mmu_v1_swap_out() [all …]
|
H A D | mmu.c | 76 int hl_mmu_ctx_init(struct hl_ctx *ctx) in hl_mmu_ctx_init() 108 void hl_mmu_ctx_fini(struct hl_ctx *ctx) in hl_mmu_ctx_fini() 145 int hl_mmu_unmap_page(struct hl_ctx *ctx, u64 virt_addr, u32 page_size, in hl_mmu_unmap_page() 233 int hl_mmu_map_page(struct hl_ctx *ctx, u64 virt_addr, u64 phys_addr, in hl_mmu_map_page() 347 int hl_mmu_map_contiguous(struct hl_ctx *ctx, u64 virt_addr, in hl_mmu_map_contiguous() 406 int hl_mmu_unmap_contiguous(struct hl_ctx *ctx, u64 virt_addr, u32 size) in hl_mmu_unmap_contiguous() 445 void hl_mmu_swap_out(struct hl_ctx *ctx) in hl_mmu_swap_out() 465 void hl_mmu_swap_in(struct hl_ctx *ctx) in hl_mmu_swap_in() 479 static void hl_mmu_pa_page_with_offset(struct hl_ctx *ctx, u64 virt_addr, in hl_mmu_pa_page_with_offset() 530 int hl_mmu_va_to_pa(struct hl_ctx *ctx, u64 virt_addr, u64 *phys_addr) in hl_mmu_va_to_pa() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/misc/habanalabs/common/mmu/ |
H A D | mmu_v1.c | 38 static void free_hop(struct hl_ctx *ctx, u64 hop_addr) in free_hop() 45 static u64 alloc_hop(struct hl_ctx *ctx) in alloc_hop() 85 static inline u64 get_phys_hop0_addr(struct hl_ctx *ctx) in get_phys_hop0_addr() 91 static inline u64 get_hop0_addr(struct hl_ctx *ctx) in get_hop0_addr() 97 static void flush(struct hl_ctx *ctx) in flush() 180 static inline u64 get_hop0_pte_addr(struct hl_ctx *ctx, in get_hop0_pte_addr() 490 static int hl_mmu_v1_ctx_init(struct hl_ctx *ctx) in hl_mmu_v1_ctx_init() 506 static void hl_mmu_v1_ctx_fini(struct hl_ctx *ctx) in hl_mmu_v1_ctx_fini() 527 static int _hl_mmu_v1_unmap(struct hl_ctx *ctx, in _hl_mmu_v1_unmap() 832 static void hl_mmu_v1_swap_out(struct hl_ctx *ctx) in hl_mmu_v1_swap_out() [all …]
|
H A D | mmu.c | 76 int hl_mmu_ctx_init(struct hl_ctx *ctx) in hl_mmu_ctx_init() 108 void hl_mmu_ctx_fini(struct hl_ctx *ctx) in hl_mmu_ctx_fini() 145 int hl_mmu_unmap_page(struct hl_ctx *ctx, u64 virt_addr, u32 page_size, in hl_mmu_unmap_page() 233 int hl_mmu_map_page(struct hl_ctx *ctx, u64 virt_addr, u64 phys_addr, in hl_mmu_map_page() 347 int hl_mmu_map_contiguous(struct hl_ctx *ctx, u64 virt_addr, in hl_mmu_map_contiguous() 406 int hl_mmu_unmap_contiguous(struct hl_ctx *ctx, u64 virt_addr, u32 size) in hl_mmu_unmap_contiguous() 445 void hl_mmu_swap_out(struct hl_ctx *ctx) in hl_mmu_swap_out() 465 void hl_mmu_swap_in(struct hl_ctx *ctx) in hl_mmu_swap_in() 479 static void hl_mmu_pa_page_with_offset(struct hl_ctx *ctx, u64 virt_addr, in hl_mmu_pa_page_with_offset() 530 int hl_mmu_va_to_pa(struct hl_ctx *ctx, u64 virt_addr, u64 *phys_addr) in hl_mmu_va_to_pa() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/misc/habanalabs/common/mmu/ |
H A D | mmu_v1.c | 38 static void free_hop(struct hl_ctx *ctx, u64 hop_addr) in free_hop() 45 static u64 alloc_hop(struct hl_ctx *ctx) in alloc_hop() 85 static inline u64 get_phys_hop0_addr(struct hl_ctx *ctx) in get_phys_hop0_addr() 91 static inline u64 get_hop0_addr(struct hl_ctx *ctx) in get_hop0_addr() 97 static void flush(struct hl_ctx *ctx) in flush() 180 static inline u64 get_hop0_pte_addr(struct hl_ctx *ctx, in get_hop0_pte_addr() 490 static int hl_mmu_v1_ctx_init(struct hl_ctx *ctx) in hl_mmu_v1_ctx_init() 506 static void hl_mmu_v1_ctx_fini(struct hl_ctx *ctx) in hl_mmu_v1_ctx_fini() 527 static int _hl_mmu_v1_unmap(struct hl_ctx *ctx, in _hl_mmu_v1_unmap() 832 static void hl_mmu_v1_swap_out(struct hl_ctx *ctx) in hl_mmu_v1_swap_out() [all …]
|
H A D | mmu.c | 76 int hl_mmu_ctx_init(struct hl_ctx *ctx) in hl_mmu_ctx_init() 108 void hl_mmu_ctx_fini(struct hl_ctx *ctx) in hl_mmu_ctx_fini() 145 int hl_mmu_unmap_page(struct hl_ctx *ctx, u64 virt_addr, u32 page_size, in hl_mmu_unmap_page() 233 int hl_mmu_map_page(struct hl_ctx *ctx, u64 virt_addr, u64 phys_addr, in hl_mmu_map_page() 347 int hl_mmu_map_contiguous(struct hl_ctx *ctx, u64 virt_addr, in hl_mmu_map_contiguous() 406 int hl_mmu_unmap_contiguous(struct hl_ctx *ctx, u64 virt_addr, u32 size) in hl_mmu_unmap_contiguous() 445 void hl_mmu_swap_out(struct hl_ctx *ctx) in hl_mmu_swap_out() 465 void hl_mmu_swap_in(struct hl_ctx *ctx) in hl_mmu_swap_in() 479 static void hl_mmu_pa_page_with_offset(struct hl_ctx *ctx, u64 virt_addr, in hl_mmu_pa_page_with_offset() 530 int hl_mmu_va_to_pa(struct hl_ctx *ctx, u64 virt_addr, u64 *phys_addr) in hl_mmu_va_to_pa() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/misc/habanalabs/common/ |
H A D | habanalabs.h | 162 struct hl_ctx *ctx; 594 struct hl_ctx *ctx; 1172 struct hl_ctx { struct 1276 struct hl_ctx *ctx; 1417 struct hl_ctx *ctx; 1529 struct hl_ctx *ctx; 1878 int (*map)(struct hl_ctx *ctx, 2032 struct hl_ctx *kernel_ctx; 2067 struct hl_ctx *compute_ctx; 2523 struct hl_ctx *ctx) in hl_debugfs_add_ctx_mem_hash() [all …]
|
H A D | context.c | 12 static void hl_ctx_fini(struct hl_ctx *ctx) in hl_ctx_fini() 78 struct hl_ctx *ctx; in hl_ctx_do_release() 80 ctx = container_of(ref, struct hl_ctx, refcount); in hl_ctx_do_release() 93 struct hl_ctx *ctx; in hl_ctx_create() 138 void hl_ctx_free(struct hl_device *hdev, struct hl_ctx *ctx) in hl_ctx_free() 147 int hl_ctx_init(struct hl_device *hdev, struct hl_ctx *ctx, bool is_kernel_ctx) in hl_ctx_init() 231 void hl_ctx_get(struct hl_device *hdev, struct hl_ctx *ctx) in hl_ctx_get() 236 int hl_ctx_put(struct hl_ctx *ctx) in hl_ctx_put() 241 struct hl_fence *hl_ctx_get_fence(struct hl_ctx *ctx, u64 seq) in hl_ctx_get_fence() 291 struct hl_ctx *ctx; in hl_ctx_mgr_fini()
|
H A D | memory.c | 761 static int init_phys_pg_pack_from_userptr(struct hl_ctx *ctx, in init_phys_pg_pack_from_userptr() 862 static int map_phys_pg_pack(struct hl_ctx *ctx, u64 vaddr, in map_phys_pg_pack() 1333 struct hl_ctx *ctx = lnode->ctx; in hw_block_vm_close() 1359 struct hl_ctx *ctx = hpriv->ctx; 1418 struct hl_ctx *ctx = hpriv->ctx; 1485 struct hl_ctx *ctx = hpriv->ctx; 1863 static int vm_ctx_init_with_ranges(struct hl_ctx *ctx, 1961 int hl_vm_ctx_init(struct hl_ctx *ctx) 2016 void hl_vm_ctx_fini(struct hl_ctx *ctx) 2174 void hl_hw_block_mem_init(struct hl_ctx *ctx) [all …]
|
H A D | command_submission.c | 30 static int _hl_cs_wait_ioctl(struct hl_device *hdev, struct hl_ctx *ctx, 622 static int allocate_cs(struct hl_device *hdev, struct hl_ctx *ctx, in allocate_cs() 780 void hl_pending_cb_list_flush(struct hl_ctx *ctx) in hl_pending_cb_list_flush() 975 struct hl_ctx *ctx = hpriv->ctx; in hl_cs_sanity_checks() 1031 struct hl_ctx *ctx) in hl_cs_copy_chunk_array() 1103 struct hl_ctx *ctx = hpriv->ctx; in cs_ioctl_default() 1299 struct hl_ctx *ctx = hpriv->ctx; in hl_submit_pending_cb() 1385 struct hl_ctx *ctx = hpriv->ctx; in hl_cs_ctx_switch() 1485 struct hl_cs_chunk *chunk, u64 *signal_seq, struct hl_ctx *ctx) in cs_ioctl_extract_signal_seq() 1537 struct hl_ctx *ctx, struct hl_cs *cs, enum hl_queue_type q_type, in cs_ioctl_signal_wait_create_jobs() [all …]
|
H A D | command_buffer.c | 15 static int cb_map_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_map_mem() 114 static void cb_unmap_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_unmap_mem() 242 struct hl_ctx *ctx, u32 cb_size, bool internal_cb, in hl_cb_create() 694 int hl_cb_va_pool_init(struct hl_ctx *ctx) in hl_cb_va_pool_init() 726 void hl_cb_va_pool_fini(struct hl_ctx *ctx) in hl_cb_va_pool_fini()
|
H A D | debugfs.c | 233 struct hl_ctx *ctx; in vm_show() 328 struct hl_ctx *ctx; in mmu_show() 492 struct hl_ctx *ctx = hdev->compute_ctx; in device_va_to_pa() 1396 void hl_debugfs_add_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) in hl_debugfs_add_ctx_mem_hash() 1405 void hl_debugfs_remove_ctx_mem_hash(struct hl_device *hdev, struct hl_ctx *ctx) in hl_debugfs_remove_ctx_mem_hash()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/misc/habanalabs/common/ |
H A D | habanalabs.h | 162 struct hl_ctx *ctx; 594 struct hl_ctx *ctx; 1172 struct hl_ctx { struct 1276 struct hl_ctx *ctx; 1417 struct hl_ctx *ctx; 1529 struct hl_ctx *ctx; 1878 int (*map)(struct hl_ctx *ctx, 2032 struct hl_ctx *kernel_ctx; 2067 struct hl_ctx *compute_ctx; 2523 struct hl_ctx *ctx) in hl_debugfs_add_ctx_mem_hash() [all …]
|
H A D | context.c | 12 static void hl_ctx_fini(struct hl_ctx *ctx) in hl_ctx_fini() 78 struct hl_ctx *ctx; in hl_ctx_do_release() 80 ctx = container_of(ref, struct hl_ctx, refcount); in hl_ctx_do_release() 93 struct hl_ctx *ctx; in hl_ctx_create() 138 void hl_ctx_free(struct hl_device *hdev, struct hl_ctx *ctx) in hl_ctx_free() 147 int hl_ctx_init(struct hl_device *hdev, struct hl_ctx *ctx, bool is_kernel_ctx) in hl_ctx_init() 231 void hl_ctx_get(struct hl_device *hdev, struct hl_ctx *ctx) in hl_ctx_get() 236 int hl_ctx_put(struct hl_ctx *ctx) in hl_ctx_put() 241 struct hl_fence *hl_ctx_get_fence(struct hl_ctx *ctx, u64 seq) in hl_ctx_get_fence() 291 struct hl_ctx *ctx; in hl_ctx_mgr_fini()
|
H A D | memory.c | 761 static int init_phys_pg_pack_from_userptr(struct hl_ctx *ctx, in init_phys_pg_pack_from_userptr() 862 static int map_phys_pg_pack(struct hl_ctx *ctx, u64 vaddr, in map_phys_pg_pack() 1333 struct hl_ctx *ctx = lnode->ctx; in hw_block_vm_close() 1359 struct hl_ctx *ctx = hpriv->ctx; 1418 struct hl_ctx *ctx = hpriv->ctx; 1485 struct hl_ctx *ctx = hpriv->ctx; 1863 static int vm_ctx_init_with_ranges(struct hl_ctx *ctx, 1961 int hl_vm_ctx_init(struct hl_ctx *ctx) 2016 void hl_vm_ctx_fini(struct hl_ctx *ctx) 2174 void hl_hw_block_mem_init(struct hl_ctx *ctx) [all …]
|
H A D | command_submission.c | 30 static int _hl_cs_wait_ioctl(struct hl_device *hdev, struct hl_ctx *ctx, 622 static int allocate_cs(struct hl_device *hdev, struct hl_ctx *ctx, in allocate_cs() 780 void hl_pending_cb_list_flush(struct hl_ctx *ctx) in hl_pending_cb_list_flush() 975 struct hl_ctx *ctx = hpriv->ctx; in hl_cs_sanity_checks() 1031 struct hl_ctx *ctx) in hl_cs_copy_chunk_array() 1103 struct hl_ctx *ctx = hpriv->ctx; in cs_ioctl_default() 1299 struct hl_ctx *ctx = hpriv->ctx; in hl_submit_pending_cb() 1385 struct hl_ctx *ctx = hpriv->ctx; in hl_cs_ctx_switch() 1485 struct hl_cs_chunk *chunk, u64 *signal_seq, struct hl_ctx *ctx) in cs_ioctl_extract_signal_seq() 1537 struct hl_ctx *ctx, struct hl_cs *cs, enum hl_queue_type q_type, in cs_ioctl_signal_wait_create_jobs() [all …]
|
H A D | command_buffer.c | 15 static int cb_map_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_map_mem() 114 static void cb_unmap_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_unmap_mem() 242 struct hl_ctx *ctx, u32 cb_size, bool internal_cb, in hl_cb_create() 694 int hl_cb_va_pool_init(struct hl_ctx *ctx) in hl_cb_va_pool_init() 726 void hl_cb_va_pool_fini(struct hl_ctx *ctx) in hl_cb_va_pool_fini()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/misc/habanalabs/common/ |
H A D | habanalabs.h | 162 struct hl_ctx *ctx; 594 struct hl_ctx *ctx; 1172 struct hl_ctx { struct 1276 struct hl_ctx *ctx; 1417 struct hl_ctx *ctx; 1529 struct hl_ctx *ctx; 1878 int (*map)(struct hl_ctx *ctx, 2032 struct hl_ctx *kernel_ctx; 2067 struct hl_ctx *compute_ctx; 2523 struct hl_ctx *ctx) in hl_debugfs_add_ctx_mem_hash() [all …]
|
H A D | context.c | 12 static void hl_ctx_fini(struct hl_ctx *ctx) in hl_ctx_fini() 78 struct hl_ctx *ctx; in hl_ctx_do_release() 80 ctx = container_of(ref, struct hl_ctx, refcount); in hl_ctx_do_release() 93 struct hl_ctx *ctx; in hl_ctx_create() 138 void hl_ctx_free(struct hl_device *hdev, struct hl_ctx *ctx) in hl_ctx_free() 147 int hl_ctx_init(struct hl_device *hdev, struct hl_ctx *ctx, bool is_kernel_ctx) in hl_ctx_init() 231 void hl_ctx_get(struct hl_device *hdev, struct hl_ctx *ctx) in hl_ctx_get() 236 int hl_ctx_put(struct hl_ctx *ctx) in hl_ctx_put() 241 struct hl_fence *hl_ctx_get_fence(struct hl_ctx *ctx, u64 seq) in hl_ctx_get_fence() 291 struct hl_ctx *ctx; in hl_ctx_mgr_fini()
|
H A D | memory.c | 761 static int init_phys_pg_pack_from_userptr(struct hl_ctx *ctx, in init_phys_pg_pack_from_userptr() 862 static int map_phys_pg_pack(struct hl_ctx *ctx, u64 vaddr, in map_phys_pg_pack() 1333 struct hl_ctx *ctx = lnode->ctx; in hw_block_vm_close() 1359 struct hl_ctx *ctx = hpriv->ctx; 1418 struct hl_ctx *ctx = hpriv->ctx; 1485 struct hl_ctx *ctx = hpriv->ctx; 1863 static int vm_ctx_init_with_ranges(struct hl_ctx *ctx, 1961 int hl_vm_ctx_init(struct hl_ctx *ctx) 2016 void hl_vm_ctx_fini(struct hl_ctx *ctx) 2174 void hl_hw_block_mem_init(struct hl_ctx *ctx) [all …]
|
H A D | command_submission.c | 30 static int _hl_cs_wait_ioctl(struct hl_device *hdev, struct hl_ctx *ctx, 622 static int allocate_cs(struct hl_device *hdev, struct hl_ctx *ctx, in allocate_cs() 780 void hl_pending_cb_list_flush(struct hl_ctx *ctx) in hl_pending_cb_list_flush() 975 struct hl_ctx *ctx = hpriv->ctx; in hl_cs_sanity_checks() 1031 struct hl_ctx *ctx) in hl_cs_copy_chunk_array() 1103 struct hl_ctx *ctx = hpriv->ctx; in cs_ioctl_default() 1299 struct hl_ctx *ctx = hpriv->ctx; in hl_submit_pending_cb() 1385 struct hl_ctx *ctx = hpriv->ctx; in hl_cs_ctx_switch() 1485 struct hl_cs_chunk *chunk, u64 *signal_seq, struct hl_ctx *ctx) in cs_ioctl_extract_signal_seq() 1537 struct hl_ctx *ctx, struct hl_cs *cs, enum hl_queue_type q_type, in cs_ioctl_signal_wait_create_jobs() [all …]
|
H A D | command_buffer.c | 15 static int cb_map_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_map_mem() 114 static void cb_unmap_mem(struct hl_ctx *ctx, struct hl_cb *cb) in cb_unmap_mem() 242 struct hl_ctx *ctx, u32 cb_size, bool internal_cb, in hl_cb_create() 694 int hl_cb_va_pool_init(struct hl_ctx *ctx) in hl_cb_va_pool_init() 726 void hl_cb_va_pool_fini(struct hl_ctx *ctx) in hl_cb_va_pool_fini()
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/compositor/ |
H A D | drawable.c | 983 DrawableContext *hl_ctx; in drawable_check_focus_highlight() local 1033 hl_ctx->drawable = hlight; in drawable_check_focus_highlight() 1034 hl_ctx->aspect.fill_color = compositor->hlfill; in drawable_check_focus_highlight() 1035 hl_ctx->aspect.line_color = compositor->hlline; in drawable_check_focus_highlight() 1036 hl_ctx->aspect.line_scale = 0; in drawable_check_focus_highlight() 1038 hl_ctx->aspect.pen_props.join = GF_LINE_JOIN_BEVEL; in drawable_check_focus_highlight() 1039 hl_ctx->aspect.pen_props.dash = GF_DASH_STYLE_DOT; in drawable_check_focus_highlight() 1043 hl_ctx->aspect.pen_props.width = 2*FIX_ONE; in drawable_check_focus_highlight() 1044 hl_ctx->aspect.pen_props.dash = 1; in drawable_check_focus_highlight() 1045 hl_ctx->aspect.line_color = compositor->hlline; in drawable_check_focus_highlight() [all …]
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/compositor/ |
H A D | drawable.c | 983 DrawableContext *hl_ctx; in drawable_check_focus_highlight() local 1033 hl_ctx->drawable = hlight; in drawable_check_focus_highlight() 1034 hl_ctx->aspect.fill_color = compositor->hlfill; in drawable_check_focus_highlight() 1035 hl_ctx->aspect.line_color = compositor->hlline; in drawable_check_focus_highlight() 1036 hl_ctx->aspect.line_scale = 0; in drawable_check_focus_highlight() 1038 hl_ctx->aspect.pen_props.join = GF_LINE_JOIN_BEVEL; in drawable_check_focus_highlight() 1039 hl_ctx->aspect.pen_props.dash = GF_DASH_STYLE_DOT; in drawable_check_focus_highlight() 1043 hl_ctx->aspect.pen_props.width = 2*FIX_ONE; in drawable_check_focus_highlight() 1044 hl_ctx->aspect.pen_props.dash = 1; in drawable_check_focus_highlight() 1045 hl_ctx->aspect.line_color = compositor->hlline; in drawable_check_focus_highlight() [all …]
|