Home
last modified time | relevance | path

Searched refs:handles (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/linux/drivers/gpu/drm/selftests/
A Dtest-drm_framebuffer.c31 .handles = { 1, 0, 0 }, .pitches = { 4 * 600, 0, 0 },
36 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
111 .handles = { 1, 0, 0 }, .flags = DRM_MODE_FB_MODIFIERS,
117 .handles = { 1, 1, 0 }, .pitches = { 600, 600, 0 },
138 .handles = { 1, 1, 0 }, .flags = DRM_MODE_FB_MODIFIERS,
145 .handles = { 1, 1, 0 }, .flags = DRM_MODE_FB_MODIFIERS,
159 .handles = { 1, 1, 0 }, .flags = DRM_MODE_FB_MODIFIERS,
172 .handles = { 1, 1, 1 }, .pitches = { 600, 600, 600 },
183 .handles = { 1, 1, 1 }, .pitches = { 600, 300, 300 },
255 .handles = { 1, 0, 0 }, .pitches = { 1200, 0, 0 }
[all …]
/linux/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
A Drmgr_vbuf.c144 if (pool->handles) in ia_css_rmgr_init_vbuf()
151 pool->handles = NULL; in ia_css_rmgr_init_vbuf()
170 if (pool->handles) { in ia_css_rmgr_uninit_vbuf()
173 if (pool->handles[i]) { in ia_css_rmgr_uninit_vbuf()
185 kvfree(pool->handles); in ia_css_rmgr_uninit_vbuf()
186 pool->handles = NULL; in ia_css_rmgr_uninit_vbuf()
205 assert(pool->handles); in rmgr_push_handle()
208 if (!pool->handles[i]) { in rmgr_push_handle()
232 assert(pool->handles); in rmgr_pop_handle()
236 if ((pool->handles[i]) && in rmgr_pop_handle()
[all …]
/linux/drivers/gpu/drm/lima/
A Dlima_ctx.c26 err = xa_alloc(&mgr->handles, id, ctx, xa_limit_32b, GFP_KERNEL); in lima_ctx_create()
58 ctx = xa_erase(&mgr->handles, id); in lima_ctx_free()
72 ctx = xa_load(&mgr->handles, id); in lima_ctx_get()
87 xa_init_flags(&mgr->handles, XA_FLAGS_ALLOC); in lima_ctx_mgr_init()
95 xa_for_each(&mgr->handles, id, ctx) { in lima_ctx_mgr_fini()
99 xa_destroy(&mgr->handles); in lima_ctx_mgr_fini()
/linux/drivers/xen/xenbus/
A Dxenbus_client.c68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member
505 grant_handle_t *handles, in __xenbus_map_ring() argument
518 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring()
530 handles[i] = info->map[i].handle; in __xenbus_map_ring()
537 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring()
540 GNTMAP_host_map, handles[i]); in __xenbus_map_ring()
581 GNTMAP_host_map, handles[i]); in xenbus_unmap_ring()
590 handles[i], unmap[i].status); in xenbus_unmap_ring()
776 unmap[i].handle = node->handles[i]; in xenbus_unmap_ring_pv()
788 node->handles[i], unmap[i].status); in xenbus_unmap_ring_pv()
[all …]
/linux/drivers/infiniband/core/
A Duverbs_std_types_device.c73 u32 *handles; in gather_objects_handle() local
78 handles = uverbs_zalloc(attrs, out_len); in gather_objects_handle()
79 if (IS_ERR(handles)) in gather_objects_handle()
80 return handles; in gather_objects_handle()
92 handles[count] = obj_id; in gather_objects_handle()
98 return handles; in gather_objects_handle()
108 u32 *handles; in UVERBS_HANDLER() local
123 handles = gather_objects_handle(attrs->ufile, uapi_object, attrs, in UVERBS_HANDLER()
125 if (IS_ERR(handles)) in UVERBS_HANDLER()
126 return PTR_ERR(handles); in UVERBS_HANDLER()
[all …]
/linux/drivers/gpu/drm/armada/
A Darmada_fb.c102 (mode->handles[0] != mode->handles[1] || in armada_fb_create()
103 mode->handles[0] != mode->handles[2])) { in armada_fb_create()
108 obj = armada_gem_object_lookup(dfile, mode->handles[0]); in armada_fb_create()
/linux/drivers/gpu/drm/
A Ddrm_framebuffer.c137 r.handles[0] = or->handle; in drm_mode_addfb()
209 if (!r->handles[i]) { in framebuffer_check()
267 if (r->handles[i]) { in framebuffer_check()
601 r->handles[i] = 0; in drm_mode_getfb2_ioctl()
632 r->handles[i] = r->handles[j]; in drm_mode_getfb2_ioctl()
637 if (r->handles[i]) in drm_mode_getfb2_ioctl()
642 &r->handles[i]); in drm_mode_getfb2_ioctl()
646 &r->handles[i]); in drm_mode_getfb2_ioctl()
659 if (r->handles[i]) in drm_mode_getfb2_ioctl()
666 if (r->handles[j] == r->handles[i]) in drm_mode_getfb2_ioctl()
[all …]
A Ddrm_syncobj.c1178 uint32_t i, *handles; in drm_syncobj_array_find() local
1182 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find()
1183 if (handles == NULL) in drm_syncobj_array_find()
1206 kfree(handles); in drm_syncobj_array_find()
1215 kfree(handles); in drm_syncobj_array_find()
1249 u64_to_user_ptr(args->handles), in drm_syncobj_wait_ioctl()
1283 u64_to_user_ptr(args->handles), in drm_syncobj_timeline_wait_ioctl()
1317 u64_to_user_ptr(args->handles), in drm_syncobj_reset_ioctl()
1350 u64_to_user_ptr(args->handles), in drm_syncobj_signal_ioctl()
1388 u64_to_user_ptr(args->handles), in drm_syncobj_timeline_signal_ioctl()
[all …]
A Ddrm_gem.c693 u32 *handles; in drm_gem_objects_lookup() local
706 handles = kvmalloc_array(count, sizeof(u32), GFP_KERNEL); in drm_gem_objects_lookup()
707 if (!handles) { in drm_gem_objects_lookup()
712 if (copy_from_user(handles, bo_handles, count * sizeof(u32))) { in drm_gem_objects_lookup()
718 ret = objects_lookup(filp, handles, count, objs); in drm_gem_objects_lookup()
720 kvfree(handles); in drm_gem_objects_lookup()
/linux/drivers/misc/habanalabs/common/
A Dcontext.c20 idr_remove(&mgr->handles, handle->id); in hl_encaps_handle_do_release()
40 idr_remove(&mgr->handles, handle->id); in hl_encaps_handle_do_release_sob()
49 idr_init(&mgr->handles); in hl_encaps_sig_mgr_init()
59 idp = &mgr->handles; in hl_encaps_sig_mgr_fini()
68 idr_destroy(&mgr->handles); in hl_encaps_sig_mgr_fini()
/linux/drivers/gpu/drm/radeon/
A Dradeon_uvd.c222 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_init()
259 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_suspend()
276 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_suspend()
334 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_free_handles()
351 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_free_handles()
519 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg()
524 if (!atomic_cmpxchg(&p->rdev->uvd.handles[i], 0, handle)) { in radeon_uvd_cs_msg()
545 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg()
560 atomic_cmpxchg(&p->rdev->uvd.handles[i], handle, 0); in radeon_uvd_cs_msg()
862 if (!atomic_read(&rdev->uvd.handles[i])) in radeon_uvd_count_handles()
A Dradeon_vce.c166 atomic_set(&rdev->vce.handles[i], 0); in radeon_vce_init()
204 if (atomic_read(&rdev->vce.handles[i])) in radeon_vce_suspend()
319 uint32_t handle = atomic_read(&rdev->vce.handles[i]); in radeon_vce_free_handles()
331 atomic_set(&rdev->vce.handles[i], 0); in radeon_vce_free_handles()
527 if (atomic_read(&p->rdev->vce.handles[i]) == handle) { in radeon_vce_validate_handle()
538 if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) { in radeon_vce_validate_handle()
679 atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0); in radeon_vce_cs_parse()
/linux/Documentation/devicetree/bindings/net/
A Dmediatek-net.txt33 - mediatek,ethsys: phandle to the syscon node that handles the port setup
34 - mediatek,infracfg: phandle to the syscon node that handles the path from
36 - mediatek,sgmiisys: a list of phandles to the syscon node that handles the
41 - mediatek,pctl: phandle to the syscon node that handles the ports slew rate
/linux/Documentation/devicetree/bindings/display/ti/
A Dti,omap5-dss.txt51 - clocks: handles to fclk and iclk
69 - clocks: handles to fclk and pll clock
92 - clocks: handles to fclk and pll clock
A Dti,omap4-dss.txt51 - clocks: handles to fclk and iclk
88 - clocks: handles to fclk and pll clock
111 - clocks: handles to fclk and pll clock
/linux/Documentation/admin-guide/sysctl/
A Dfs.rst112 handles that the Linux kernel will allocate. When you get lots
113 of error messages about running out of file handles, you might
116 Historically,the kernel was able to allocate file handles
118 file-nr denote the number of allocated file handles, the number
119 of allocated but unused file handles, and the maximum number of
120 file handles. Linux 2.6 always reports 0 as the number of free
121 file handles -- this is not an error, it just means that the
122 number of allocated file handles exactly matches the number of
123 used file handles.
133 This denotes the maximum number of file-handles a process can
[all …]
/linux/drivers/gpu/drm/v3d/
A Dv3d_gem.c297 u32 *handles; in v3d_lookup_bos() local
319 handles = kvmalloc_array(job->bo_count, sizeof(u32), GFP_KERNEL); in v3d_lookup_bos()
320 if (!handles) { in v3d_lookup_bos()
326 if (copy_from_user(handles, in v3d_lookup_bos()
337 handles[i]); in v3d_lookup_bos()
340 i, handles[i]); in v3d_lookup_bos()
351 kvfree(handles); in v3d_lookup_bos()
592 u32 count, u64 handles) in v3d_get_multisync_post_deps() argument
607 post_deps = u64_to_user_ptr(handles); in v3d_get_multisync_post_deps()
/linux/drivers/platform/x86/
A Dsony-laptop.c824 handles->cap[i]); in sony_nc_handles_show()
835 handles = kzalloc(sizeof(*handles), GFP_KERNEL); in sony_nc_handles_setup()
836 if (!handles) in sony_nc_handles_setup()
858 kfree(handles); in sony_nc_handles_setup()
859 handles = NULL; in sony_nc_handles_setup()
869 if (handles) { in sony_nc_handles_cleanup()
872 kfree(handles); in sony_nc_handles_cleanup()
873 handles = NULL; in sony_nc_handles_cleanup()
883 if (!handles || !handle) in sony_find_snc_handle()
1298 if (!handles) in sony_nc_function_setup()
[all …]
/linux/Documentation/dev-tools/
A Dkcov.rst229 a list of such handles to the KCOV_REMOTE_ENABLE ioctl in the handles
231 device to the code sections, that are referenced by those handles.
241 Internally kcov stores handles as u64 integers. The top byte of a handle
245 handles as they don't belong to a particular subsystem. The bytes 4-7 are
252 task_struct. However non common handles allow to collect coverage
264 __aligned_u64 handles[0];
316 arg->handles[0] = kcov_remote_handle(KCOV_SUBSYSTEM_USB,
/linux/drivers/gpu/drm/panfrost/
A Dpanfrost_drv.c189 u32 *handles; in panfrost_copy_in_sync() local
198 handles = kvmalloc_array(in_fence_count, sizeof(u32), GFP_KERNEL); in panfrost_copy_in_sync()
199 if (!handles) { in panfrost_copy_in_sync()
205 if (copy_from_user(handles, in panfrost_copy_in_sync()
216 ret = drm_syncobj_find_fence(file_priv, handles[i], 0, 0, in panfrost_copy_in_sync()
228 kvfree(handles); in panfrost_copy_in_sync()
/linux/tools/testing/selftests/tpm2/
A Dtpm2.py685 handles = []
700 handles.append(handle)
703 return handles, more_data
706 handles = []
711 handles += next_handles
714 return handles
A Dtpm2_tests.py263 handles = space2.get_cap(tpm2.TPM2_CAP_HANDLES, tpm2.HR_TRANSIENT)
265 self.assertEqual(len(handles), 2)
267 log.debug("%08x" % (handles[0]))
268 log.debug("%08x" % (handles[1]))
/linux/Documentation/scsi/
A Dufs.rst69 It handles SCSI commands supported by UFS specification.
71 It handles task management functions defined by the
74 It handles device level operations and device
101 UIC is the lowest layer of UFS layered architecture. It handles
138 Error handling module handles Host controller fatal errors,
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_vce.c196 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_sw_init()
274 if (atomic_read(&adev->vce.handles[i])) in amdgpu_vce_suspend()
418 uint32_t handle = atomic_read(&adev->vce.handles[i]); in amdgpu_vce_free_handles()
428 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_free_handles()
706 if (atomic_read(&p->adev->vce.handles[i]) == handle) { in amdgpu_vce_validate_handle()
717 if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) { in amdgpu_vce_validate_handle()
960 atomic_set(&p->adev->vce.handles[i], 0); in amdgpu_vce_ring_parse_cs()
1050 atomic_set(&p->adev->vce.handles[i], 0); in amdgpu_vce_ring_parse_cs_vm()
A Damdgpu_uvd.c342 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_sw_init()
437 if (atomic_read(&adev->uvd.handles[i])) in amdgpu_uvd_suspend()
525 uint32_t handle = atomic_read(&adev->uvd.handles[i]); in amdgpu_uvd_free_handles()
541 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_free_handles()
848 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
854 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { in amdgpu_uvd_cs_msg()
872 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
887 atomic_cmpxchg(&adev->uvd.handles[i], handle, 0); in amdgpu_uvd_cs_msg()
1384 if (atomic_read(&adev->uvd.handles[i])) in amdgpu_uvd_used_handles()

Completed in 43 milliseconds

12345678910>>...14