Home
last modified time | relevance | path

Searched full:handles (Results 1 – 25 of 1323) sorted by relevance

12345678910>>...53

/linux/Documentation/i2c/
H A Dfunctionality.rst24 I2C_FUNC_10BIT_ADDR Handles the 10-bit address extensions
29 I2C_FUNC_SMBUS_QUICK Handles the SMBus write_quick command
30 I2C_FUNC_SMBUS_READ_BYTE Handles the SMBus read_byte command
31 I2C_FUNC_SMBUS_WRITE_BYTE Handles the SMBus write_byte command
32 I2C_FUNC_SMBUS_READ_BYTE_DATA Handles the SMBus read_byte_data command
33 I2C_FUNC_SMBUS_WRITE_BYTE_DATA Handles the SMBus write_byte_data command
34 I2C_FUNC_SMBUS_READ_WORD_DATA Handles the SMBus read_word_data command
35 I2C_FUNC_SMBUS_WRITE_WORD_DATA Handles the SMBus write_byte_data command
36 I2C_FUNC_SMBUS_PROC_CALL Handles the SMBus process_call command
37 I2C_FUNC_SMBUS_READ_BLOCK_DATA Handles the SMBus read_block_data command
[all …]
/linux/drivers/gpu/drm/tests/
H A Ddrm_framebuffer_test.c37 .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/gpu/drm/lima/
H A Dlima_ctx.c27 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/accel/habanalabs/common/
H A Dmemory_mgr.c25 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()
346 * @stats: if non-NULL, will return some counters for handles that could not be removed.
360 idp = &mmg->handles; in hl_mem_mgr_fini()
383 if (!idr_is_empty(&mmg->handles)) in hl_mem_mgr_idr_destroy()
[all …]
H A Dcontext.c21 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()
73 "device released while some encaps signals handles are still allocated\n"); 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/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dfw.h110 /* FW offloads, 0: driver handles */
112 /* FW offloads, 0: driver handles */
118 /* 1. FW offloads, 0: driver handles */
120 /* 2. FW offloads, 0: driver handles */
122 /* 3. FW offloads, 0: driver handles */
124 /* 4. FW offloads, 0: driver handles */
126 /* 5. FW offloads, 0: driver handles */
128 /* 6. FW offloads, 0: driver handles */
130 /* 7. FW offloads, 0: driver handles */
/linux/drivers/acpi/
H A Dirq.c489 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/net/wireless/marvell/mwifiex/
H A Dsta_cmdresp.c19 * This function handles the command response error case.
83 * This function handles the command response of get RSSI info.
144 * This function handles the command response of set/get SNMP
202 * This function handles the command response of get log request
243 * This function handles the command response of set/get Tx rate
319 * This function handles the command response of get Tx power level.
363 * This function handles the command response of set/get Tx power
422 * This function handles the command response of get RF Tx power.
446 * This function handles the command response of set rf antenna
477 * This function handles the command response of set/get MAC address.
[all …]
/linux/drivers/gpu/drm/armada/
H A Darmada_fb.c104 (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/xen/xenbus/
H A Dxenbus_client.c68 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()
621 * @handles: grant handle array
622 * @nr_handles: number of handles in the array
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()
[all …]
/linux/Documentation/scsi/
H A Dufs.rst71 It handles SCSI commands supported by UFS specification.
73 It handles task management functions defined by the
76 It handles device level operations and device
103 UIC is the lowest layer of the UFS layered architecture. It handles
140 Error handling module handles Host controller fatal errors,
/linux/Documentation/devicetree/bindings/display/ti/
H 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
H 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/include/uapi/drm/
H A Damdgpu_drm.h476 * @syncobj_handles: The list of syncobj handles submitted by the user queue
481 * @num_syncobj_handles: A count that represents the number of syncobj handles in
488 * @bo_read_handles: The list of BO handles that the submitted user queue job
493 * @bo_write_handles: The list of BO handles that the submitted user queue job
498 * @num_bo_read_handles: A count that represents the number of read BO handles in
503 * @num_bo_write_handles: A count that represents the number of write BO handles in
531 * @syncobj_handles: The list of syncobj handles submitted by the user queue
536 * @syncobj_timeline_handles: The list of timeline syncobj handles submitted by
546 * @bo_read_handles: The list of read BO handles submitted by the user queue
551 * @bo_write_handles: The list of write BO handles submitted by the user queue
[all …]
/linux/tools/perf/trace/beauty/include/uapi/drm/
H A Ddrm.h386 int __user *send_indices; /**< List of handles to buffers */
963 __u64 handles; member
981 __u64 handles; member
982 /* wait on specific timeline point for every handles*/
1023 __u64 handles; member
1030 __u64 handles; member
1094 * GEM handles are not reference-counted by the kernel. User-space is
1101 * and always returns fresh new GEM handles even if an existing GEM handle
1167 * reference-count duplicated GEM handles. For more information see
1285 * If the client is DRM master or has &CAP_SYS_ADMIN, &drm_mode_fb_cmd2.handles
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dhandles.h6 * Various hard-coded object handles that nouveau uses. These are made-up by
7 * nouveau developers, not Nvidia. The only significance of the handles chosen
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_uvd.c272 /* 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()
438 if (atomic_read(&adev->uvd.handles[i])) in amdgpu_uvd_prepare_suspend()
533 uint32_t handle = atomic_read(&adev->uvd.handles[i]); in amdgpu_uvd_free_handles()
549 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_free_handles()
833 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
839 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { in amdgpu_uvd_cs_msg()
845 DRM_ERROR("No more free UVD handles!\n"); in amdgpu_uvd_cs_msg()
857 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
[all …]
/linux/tools/include/uapi/drm/
H A Ddrm.h
/linux/drivers/gpu/drm/
H A Ddrm_syncobj.c110 * &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
1270 uint32_t i, *handles; in drm_syncobj_array_find() local
1274 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find()
1275 if (handles == NULL) in drm_syncobj_array_find()
1278 if (copy_from_user(handles, user_handles, in drm_syncobj_array_find()
1291 syncobjs[i] = drm_syncobj_find(file_private, handles[i]); in drm_syncobj_array_find()
1298 kfree(handles); in drm_syncobj_array_find()
1307 kfree(handles); in drm_syncobj_array_find()
[all …]
/linux/tools/testing/selftests/namespaces/
H A Dfile_handle_test.c48 return, "nsfs doesn't support file handles"); in TEST()
103 return, "nsfs doesn't support file handles"); in TEST()
153 return, "nsfs doesn't support file handles"); in TEST()
203 return, "nsfs doesn't support file handles"); in TEST()
253 return, "nsfs doesn't support file handles"); in TEST()
303 return, "nsfs doesn't support file handles"); in TEST()
355 return, "nsfs doesn't support file handles"); in TEST()
407 return, "nsfs doesn't support file handles"); in TEST()
459 return, "nsfs doesn't support file handles"); in TEST()
588 return, "nsfs doesn't support file handles"); in TEST()
[all …]
/linux/drivers/char/tpm/
H A Dtpm-buf.c44 buf->handles = 0; in __tpm_buf_reset()
60 buf->handles = 0; in __tpm_buf_reset_sized()
184 * handles in the command buffer. Works only for command buffers.
198 buf->handles++; in tpm_buf_append_handle()
/linux/drivers/power/sequencing/
H A DKconfig36 GPU. This driver handles the complex clock and reset sequence
47 connectors. This driver handles the power sequencing for the M.2
/linux/rust/pin-init/examples/
H A Dstatic_init.rs88 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
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_audit.sh231 readarray -t handles < <(nft -a list chain t1 c1 | \
234 do_test "nft delete rule t1 c1 handle ${handles[0]}" \
238 do_test "nft $cmd ${handles[1]}; $cmd ${handles[2]}" \
/linux/drivers/platform/x86/
H A Dsony-laptop.c811 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 …]

12345678910>>...53