Home
last modified time | relevance | path

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

1234567891011

/Linux-v4.19/drivers/xen/xenbus/
Dxenbus_client.c68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member
463 grant_handle_t *handles, in __xenbus_map_ring() argument
480 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring()
493 handles[i] = map[i].handle; in __xenbus_map_ring()
500 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring()
503 GNTMAP_host_map, handles[i]); in __xenbus_map_ring()
576 err = __xenbus_map_ring(dev, gnt_ref, nr_grefs, node->handles, in xenbus_map_ring_valloc_hvm()
601 xenbus_unmap_ring(dev, node->handles, nr_grefs, info.addrs); in xenbus_map_ring_valloc_hvm()
634 unsigned int nr_grefs, grant_handle_t *handles, in xenbus_map_ring() argument
646 return __xenbus_map_ring(dev, gnt_refs, nr_grefs, handles, in xenbus_map_ring()
[all …]
/Linux-v4.19/drivers/gpu/drm/armada/
Darmada_fb.c101 (mode->handles[0] != mode->handles[1] || in armada_fb_create()
102 mode->handles[0] != mode->handles[2])) { in armada_fb_create()
107 obj = armada_gem_object_lookup(dfile, mode->handles[0]); in armada_fb_create()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_syncobj.c877 uint32_t i, *handles; in drm_syncobj_array_find() local
881 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find()
882 if (handles == NULL) in drm_syncobj_array_find()
885 if (copy_from_user(handles, user_handles, in drm_syncobj_array_find()
898 syncobjs[i] = drm_syncobj_find(file_private, handles[i]); in drm_syncobj_array_find()
905 kfree(handles); in drm_syncobj_array_find()
914 kfree(handles); in drm_syncobj_array_find()
947 u64_to_user_ptr(args->handles), in drm_syncobj_wait_ioctl()
980 u64_to_user_ptr(args->handles), in drm_syncobj_reset_ioctl()
1013 u64_to_user_ptr(args->handles), in drm_syncobj_signal_ioctl()
Ddrm_prime.c124 p = &prime_fpriv->handles.rb_node; in drm_prime_add_buf_handle()
136 rb_insert_color(&member->handle_rb, &prime_fpriv->handles); in drm_prime_add_buf_handle()
146 rb = prime_fpriv->handles.rb_node; in drm_prime_lookup_buf_by_handle()
266 rb_erase(&member->handle_rb, &prime_fpriv->handles); in drm_prime_remove_buf_handle_locked()
976 prime_fpriv->handles = RB_ROOT; in drm_prime_init_file_private()
/Linux-v4.19/drivers/gpu/drm/v3d/
Dv3d_gem.c338 u32 *handles; in v3d_cl_lookup_bos() local
360 handles = kvmalloc_array(exec->bo_count, sizeof(u32), GFP_KERNEL); in v3d_cl_lookup_bos()
361 if (!handles) { in v3d_cl_lookup_bos()
367 if (copy_from_user(handles, in v3d_cl_lookup_bos()
378 handles[i]); in v3d_cl_lookup_bos()
381 i, handles[i]); in v3d_cl_lookup_bos()
392 kvfree(handles); in v3d_cl_lookup_bos()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_uvd.c220 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_init()
257 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_suspend()
274 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_suspend()
332 uint32_t handle = atomic_read(&rdev->uvd.handles[i]); in radeon_uvd_free_handles()
349 atomic_set(&rdev->uvd.handles[i], 0); in radeon_uvd_free_handles()
517 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg()
522 if (!atomic_cmpxchg(&p->rdev->uvd.handles[i], 0, handle)) { in radeon_uvd_cs_msg()
543 if (atomic_read(&p->rdev->uvd.handles[i]) == handle) { in radeon_uvd_cs_msg()
558 atomic_cmpxchg(&p->rdev->uvd.handles[i], handle, 0); in radeon_uvd_cs_msg()
860 if (!atomic_read(&rdev->uvd.handles[i])) in radeon_uvd_count_handles()
Dradeon_vce.c167 atomic_set(&rdev->vce.handles[i], 0); in radeon_vce_init()
205 if (atomic_read(&rdev->vce.handles[i])) in radeon_vce_suspend()
320 uint32_t handle = atomic_read(&rdev->vce.handles[i]); in radeon_vce_free_handles()
332 atomic_set(&rdev->vce.handles[i], 0); in radeon_vce_free_handles()
528 if (atomic_read(&p->rdev->vce.handles[i]) == handle) { in radeon_vce_validate_handle()
539 if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) { in radeon_vce_validate_handle()
680 atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0); in radeon_vce_cs_parse()
/Linux-v4.19/Documentation/devicetree/bindings/display/ti/
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
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
Dti,omap3-dss.txt52 - clocks: handles to fclk and iclk
82 - clocks: handles to fclk and pll clock
/Linux-v4.19/Documentation/scsi/
Dufs.txt57 * UCS: It handles SCSI commands supported by UFS specification.
58 * Task manager: It handles task management functions defined by the
60 * Device manager: It handles device level operations and device
83 UIC is the lowest layer of UFS layered architecture. It handles
116 Error handling module handles Host controller fatal errors,
/Linux-v4.19/Documentation/devicetree/bindings/net/
Dmediatek-net.txt27 - mediatek,ethsys: phandle to the syscon node that handles the port setup
28 - mediatek,sgmiisys: phandle to the syscon node that handles the SGMII setup
30 - mediatek,pctl: phandle to the syscon node that handles the ports slew rate
/Linux-v4.19/drivers/firmware/efi/libstub/
Dgop.c125 u32 *handles = (u32 *)(unsigned long)gop_handle; in setup_gop32() local
137 efi_handle_t h = (efi_handle_t)(unsigned long)handles[i]; in setup_gop32()
243 u64 *handles = (u64 *)(unsigned long)gop_handle; in setup_gop64() local
255 efi_handle_t h = (efi_handle_t)(unsigned long)handles[i]; in setup_gop64()
/Linux-v4.19/Documentation/sysctl/
Dfs.txt98 handles that the Linux kernel will allocate. When you get lots
99 of error messages about running out of file handles, you might
102 Historically,the kernel was able to allocate file handles
104 file-nr denote the number of allocated file handles, the number
105 of allocated but unused file handles, and the maximum number of
106 file handles. Linux 2.6 always reports 0 as the number of free
107 file handles -- this is not an error, it just means that the
108 number of allocated file handles exactly matches the number of
109 used file handles.
118 This denotes the maximum number of file-handles a process can
[all …]
/Linux-v4.19/arch/c6x/kernel/
Dvectors.S11 ; This section handles all the interrupt vector routines.
13 ; branches to the label _c_int00 which handles initialization for the C code.
/Linux-v4.19/drivers/platform/x86/
Dsony-laptop.c835 static struct sony_nc_handles *handles; variable
843 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_show()
845 handles->cap[i]); in sony_nc_handles_show()
856 handles = kzalloc(sizeof(*handles), GFP_KERNEL); in sony_nc_handles_setup()
857 if (!handles) in sony_nc_handles_setup()
860 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_setup()
867 handles->cap[i] = result; in sony_nc_handles_setup()
872 sysfs_attr_init(&handles->devattr.attr); in sony_nc_handles_setup()
873 handles->devattr.attr.name = "handles"; in sony_nc_handles_setup()
874 handles->devattr.attr.mode = S_IRUGO; in sony_nc_handles_setup()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vce.c190 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_sw_init()
267 if (atomic_read(&adev->vce.handles[i])) in amdgpu_vce_suspend()
407 uint32_t handle = atomic_read(&adev->vce.handles[i]); in amdgpu_vce_free_handles()
417 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_free_handles()
679 if (atomic_read(&p->adev->vce.handles[i]) == handle) { in amdgpu_vce_validate_handle()
690 if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) { in amdgpu_vce_validate_handle()
933 atomic_set(&p->adev->vce.handles[i], 0); in amdgpu_vce_ring_parse_cs()
1023 atomic_set(&p->adev->vce.handles[i], 0); in amdgpu_vce_ring_parse_cs_vm()
Damdgpu_uvd.c268 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_sw_init()
355 if (atomic_read(&adev->uvd.handles[i])) in amdgpu_uvd_suspend()
425 uint32_t handle = atomic_read(&adev->uvd.handles[i]); in amdgpu_uvd_free_handles()
441 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_free_handles()
745 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
751 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { in amdgpu_uvd_cs_msg()
769 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
784 atomic_cmpxchg(&adev->uvd.handles[i], handle, 0); in amdgpu_uvd_cs_msg()
1295 if (atomic_read(&adev->uvd.handles[i])) in amdgpu_uvd_used_handles()
/Linux-v4.19/Documentation/media/uapi/v4l/
Ddev-event.rst24 The event subscriptions and event queues are specific to file handles.
26 handles.
/Linux-v4.19/drivers/gpu/drm/sti/
DNOTES12 - The cursor handles ... a cursor.
15 - DVO (Digital Video Output) handles a 24bits parallel signal
/Linux-v4.19/include/xen/
Dxenbus.h210 grant_handle_t *handles, unsigned long *vaddrs,
215 grant_handle_t *handles, unsigned int nr_handles,
/Linux-v4.19/drivers/char/tpm/
Dtpm2-space.c390 __be32 handles[]; member
421 phandle = be32_to_cpup((__be32 *)&data->handles[i]); in tpm2_map_response_body()
430 data->handles[j] = cpu_to_be32(vhandle); in tpm2_map_response_body()
435 data->handles[j] = cpu_to_be32(phandle); in tpm2_map_response_body()
/Linux-v4.19/Documentation/
Dtee.txt9 secure co-processor etc. A TEE driver handles the details needed to
34 - TEE_IOC_VERSION lets user space know which TEE this driver handles and
59 The OP-TEE driver handles OP-TEE [1] based TEEs. Currently it is only the ARM
/Linux-v4.19/drivers/bus/fsl-mc/
DKconfig14 architecture. The fsl-mc bus driver handles discovery of
/Linux-v4.19/drivers/thermal/samsung/
DKconfig8 the TMU, reports temperature and handles cooling action if defined.

1234567891011