| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_framebuffer_test.c | 37 .handles = { 1, 0, 0 }, .pitches = { 4 * 600, 0, 0 }, 42 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 47 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH + 1, 0, 0 }, 52 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH - 1, 0, 0 }, 57 .handles = { 1, 0, 0 }, .pitches = { 4 * (MAX_WIDTH + 1), 0, 0 }, 62 .handles = { 0, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 67 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 72 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 77 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 }, 82 .handles = { 1, 0, 0 }, .offsets = { UINT_MAX - 1, 0, 0 }, [all …]
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | memory_mgr.c | 25 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_get() 67 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_release() 86 idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_remove_idr_locked() 118 buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_put_handle() 160 rc = idr_alloc(&mmg->handles, buf, 1, 0, GFP_ATOMIC); in hl_mmap_mem_buf_alloc() 185 idr_remove(&mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT)); in hl_mmap_mem_buf_alloc() 313 idr_init(&mmg->handles); in hl_mem_mgr_init() 360 idp = &mmg->handles; in hl_mem_mgr_fini() 383 if (!idr_is_empty(&mmg->handles)) in hl_mem_mgr_idr_destroy() 386 idr_destroy(&mmg->handles); in hl_mem_mgr_idr_destroy()
|
| H A D | context.c | 21 idr_remove(&mgr->handles, handle->id); in encaps_handle_do_release() 57 idr_init(&mgr->handles); in hl_encaps_sig_mgr_init() 66 idp = &mgr->handles; in hl_encaps_sig_mgr_fini() 78 idr_destroy(&mgr->handles); in hl_encaps_sig_mgr_fini() 165 rc = idr_alloc(&ctx_mgr->handles, ctx, 1, 0, GFP_KERNEL); in hl_ctx_create() 192 idr_remove(&ctx_mgr->handles, ctx->handle); in hl_ctx_create() 423 idr_init(&ctx_mgr->handles); in hl_ctx_mgr_init() 441 idp = &ctx_mgr->handles; in hl_ctx_mgr_fini() 446 idr_destroy(&ctx_mgr->handles); in hl_ctx_mgr_fini()
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_ctx.c | 27 err = xa_alloc(&mgr->handles, id, ctx, xa_limit_32b, GFP_KERNEL); in lima_ctx_create() 59 ctx = xa_erase(&mgr->handles, id); in lima_ctx_free() 73 ctx = xa_load(&mgr->handles, id); in lima_ctx_get() 88 xa_init_flags(&mgr->handles, XA_FLAGS_ALLOC); in lima_ctx_mgr_init() 96 xa_for_each(&mgr->handles, id, ctx) { in lima_ctx_mgr_fini() 100 xa_destroy(&mgr->handles); in lima_ctx_mgr_fini()
|
| /linux/drivers/acpi/ |
| H A D | irq.c | 489 dep_devices.handles = kzalloc_objs(*dep_devices.handles, in acpi_add_prt_dep() 491 if (!dep_devices.handles) { in acpi_add_prt_dep() 496 dep_devices.handles[0] = link_handle; in acpi_add_prt_dep() 503 dep_devices.handles = kzalloc_objs(*dep_devices.handles, in acpi_add_prt_dep() 505 if (!dep_devices.handles) { in acpi_add_prt_dep() 510 dep_devices.handles[0] = gsi_handle; in acpi_add_prt_dep() 531 dep_devices.handles = kzalloc_objs(*dep_devices.handles, 1); in acpi_add_irq_dep() 532 if (!dep_devices.handles) { in acpi_add_irq_dep() 537 dep_devices.handles[0] = gsi_handle; in acpi_add_irq_dep()
|
| /linux/drivers/xen/xenbus/ |
| H A D | xenbus_client.c | 68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member 565 grant_handle_t *handles, in __xenbus_map_ring() argument 578 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring() 590 handles[i] = info->map[i].handle; in __xenbus_map_ring() 597 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring() 600 GNTMAP_host_map, handles[i]); in __xenbus_map_ring() 630 static int xenbus_unmap_ring(struct xenbus_device *dev, grant_handle_t *handles, in xenbus_unmap_ring() argument 642 GNTMAP_host_map, handles[i]); in xenbus_unmap_ring() 651 handles[i], unmap[i].status); in xenbus_unmap_ring() 694 err = __xenbus_map_ring(dev, gnt_ref, nr_grefs, node->handles, in xenbus_map_ring_hvm() [all …]
|
| /linux/drivers/gpu/drm/armada/ |
| H A D | armada_fb.c | 104 (mode->handles[0] != mode->handles[1] || in armada_fb_create() 105 mode->handles[0] != mode->handles[2])) { in armada_fb_create() 110 obj = armada_gem_object_lookup(dfile, mode->handles[0]); in armada_fb_create()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_syncobj.c | 110 * &DRM_IOCTL_SYNCOBJ_WAIT takes an array of syncobj handles and does a 135 * handles as well as an array of u64 points and does a host-side wait on all 159 * All exported file descriptors and any syncobj handles created as a 225 * Upper limit for the number of handles passed to a single ioctl. This is a 1248 uint32_t i, *handles; in drm_syncobj_array_wait() 1255 handles = kvmalloc_objs(*handles, count_handles); in drm_syncobj_array_wait() 1256 if (handles == NULL) in drm_syncobj_array_wait() 1259 if (copy_from_user(handles, user_handles, in drm_syncobj_array_wait() 1272 syncobjs[i] = drm_syncobj_find(file_private, handles[ in drm_syncobj_array_find() 1270 uint32_t i, *handles; drm_syncobj_array_find() local [all...] |
| H A D | drm_prime.c | 127 p = &prime_fpriv->handles.rb_node; in drm_prime_add_buf_handle() 139 rb_insert_color(&member->handle_rb, &prime_fpriv->handles); in drm_prime_add_buf_handle() 149 rb = prime_fpriv->handles.rb_node; in drm_prime_lookup_buf_by_handle() 194 rb = prime_fpriv->handles.rb_node; in drm_prime_remove_buf_handle() 200 rb_erase(&member->handle_rb, &prime_fpriv->handles); in drm_prime_remove_buf_handle() 218 prime_fpriv->handles = RB_ROOT; in drm_prime_init_file_private()
|
| /linux/rust/pin-init/examples/ |
| H A D | static_init.rs | 88 let mut handles = vec![]; in main() 93 handles.push( in main() 115 for h in handles { in main() 91 let mut handles = vec![]; main() localVariable
|
| H A D | pthread_mutex.rs | 155 let mut handles = vec![]; in main() 160 handles.push( in main() 177 for h in handles { in main() 156 let mut handles = vec![]; main() localVariable
|
| H A D | mutex.rs | 189 let mut handles = vec![]; 194 handles.push( in main() 211 for h in handles { in main() 197 let mut handles = vec![]; main() localVariable
|
| /linux/Documentation/devicetree/bindings/display/ti/ |
| H A D | ti,omap5-dss.txt | 51 - clocks: handles to fclk and iclk 69 - clocks: handles to fclk and pll clock 92 - clocks: handles to fclk and pll clock
|
| H A D | ti,omap4-dss.txt | 51 - clocks: handles to fclk and iclk 88 - clocks: handles to fclk and pll clock 111 - clocks: handles to fclk and pll clock
|
| H A D | ti,omap3-dss.txt | 52 - clocks: handles to fclk and iclk 82 - clocks: handles to fclk and pll clock
|
| /linux/drivers/platform/x86/ |
| H A D | sony-laptop.c | 811 static struct sony_nc_handles *handles; variable 819 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_show() 820 len += sysfs_emit_at(buffer, len, "0x%.4x ", handles->cap[i]); in sony_nc_handles_show() 831 handles = kzalloc_obj(*handles); in sony_nc_handles_setup() 832 if (!handles) in sony_nc_handles_setup() 835 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_setup() 842 handles->cap[i] = result; in sony_nc_handles_setup() 847 sysfs_attr_init(&handles->devattr.attr); in sony_nc_handles_setup() 848 handles->devattr.attr.name = "handles"; in sony_nc_handles_setup() 849 handles->devattr.attr.mode = S_IRUGO; in sony_nc_handles_setup() [all …]
|
| /linux/drivers/char/tpm/ |
| H A D | tpm-buf.c | 44 buf->handles = 0; in __tpm_buf_reset() 60 buf->handles = 0; in __tpm_buf_reset_sized() 198 buf->handles++; in tpm_buf_append_handle()
|
| H A D | tpm2-sessions.c | 49 * handles because handles have to be processed specially when 91 * sessions (i.e. after all the handles). Once the buffer has 135 * memory for three authorization handles. We know them by 225 * objects pointed to by the handles. For most objects, this is simply 260 dev_err(&chip->dev, "too many handles\n"); in tpm_buf_append_name() 313 int offset = buf->handles * 4 + TPM_HEADER_SIZE; in tpm_buf_append_auth() 600 u32 cc, handles, val; in tpm_buf_fill_hmac_session() 631 handles = (attrs >> TPM2_CC_ATTR_CHANDLES) & GENMASK(2, 0); in tpm_buf_fill_hmac_session() 638 for (i = 0; i < handles; in tpm_buf_fill_hmac_session() 598 u32 cc, handles, val; tpm_buf_fill_hmac_session() local 783 int parm_len, len, i, handles; tpm_buf_check_hmac_response() local [all...] |
| /linux/drivers/firmware/efi/libstub/ |
| H A D | gop.c | 427 static efi_handle_t find_handle_with_primary_gop(unsigned long num, const efi_handle_t handles[], in find_handle_with_primary_gop() 437 for_each_efi_handle(h, handles, num) { in find_handle_with_primary_gop() 487 efi_handle_t *handles __free(efi_pool) = NULL; in efi_setup_graphics() 494 &graphics_output_guid, NULL, &num, &handles); in efi_setup_graphics() 498 handle = find_handle_with_primary_gop(num, handles, &gop); in efi_setup_graphics() 425 find_handle_with_primary_gop(unsigned long num,const efi_handle_t handles[],efi_graphics_output_protocol_t ** found_gop) find_handle_with_primary_gop() argument
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_vce.c | 232 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_sw_init() 312 if (atomic_read(&adev->vce.handles[i])) in amdgpu_vce_suspend() 427 * amdgpu_vce_free_handles - free still open VCE handles 432 * Close all VCE handles still open by this file pointer 440 uint32_t handle = atomic_read(&adev->vce.handles[i]); in amdgpu_vce_free_handles() 450 atomic_set(&adev->vce.handles[i], 0); in amdgpu_vce_free_handles() 738 if (atomic_read(&p->adev->vce.handles[i]) == handle) { in amdgpu_vce_validate_handle() 749 if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) { in amdgpu_vce_validate_handle() 757 DRM_ERROR("No more free VCE handles!\n"); in amdgpu_vce_validate_handle() 1018 atomic_set(&p->adev->vce.handles[ in amdgpu_vce_ring_parse_cs_vm() [all...] |
| H A D | amdgpu_uvd.c | 272 /* Set the default UVD handles that the firmware can handle */ in amdgpu_uvd_sw_init() 287 * Limit the number of UVD handles depending on microcode major in amdgpu_uvd_sw_init() 347 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_sw_init() 439 if (atomic_read(&adev->uvd.handles[i])) in amdgpu_uvd_prepare_suspend() 534 uint32_t handle = atomic_read(&adev->uvd.handles[i]); in amdgpu_uvd_free_handles() 550 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_free_handles() 834 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg() 840 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { in amdgpu_uvd_cs_msg() 846 DRM_ERROR("No more free UVD handles!\n"); in amdgpu_uvd_cs_msg() 858 if (atomic_read(&adev->uvd.handles[ in amdgpu_uvd_cs_msg() [all...] |
| /linux/tools/testing/selftests/tpm2/ |
| H A D | tpm2.py | 690 handles = [] 705 handles.append(handle) 708 return handles, more_data 711 handles = [] 716 handles += next_handles 719 return handles
|
| H A D | tpm2_tests.py | 276 handles = space2.get_cap(tpm2.TPM2_CAP_HANDLES, tpm2.HR_TRANSIENT) 278 self.assertEqual(len(handles), 2) 280 log.debug("%08x" % (handles[0])) 281 log.debug("%08x" % (handles[1]))
|
| /linux/Documentation/scsi/ |
| H A D | ufs.rst | 72 It handles SCSI commands supported by UFS specification. 74 It handles task management functions defined by the 77 It handles device level operations and device 104 UIC is the lowest layer of the UFS layered architecture. It handles 141 Error handling module handles Host controller fatal errors,
|
| /linux/drivers/power/sequencing/ |
| H A D | Kconfig | 36 Power Ready signals. This driver handles the power ready signals 45 GPU. This driver handles the complex clock and reset sequence 56 connectors. This driver handles the power sequencing for the M.2
|