Home
last modified time | relevance | path

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

12345678910>>...80

/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/staging/media/atomisp/pci/runtime/rmgr/src/
H A Drmgr_vbuf.c16 * @brief VBUF resource handles
130 /* allocate memory for storing the handles */ in ia_css_rmgr_init_vbuf()
134 pool->handles = kvmalloc(bytes_needed, GFP_KERNEL); in ia_css_rmgr_init_vbuf()
135 if (pool->handles) in ia_css_rmgr_init_vbuf()
136 memset(pool->handles, 0, bytes_needed); in ia_css_rmgr_init_vbuf()
142 pool->handles = NULL; in ia_css_rmgr_init_vbuf()
161 if (pool->handles) { in ia_css_rmgr_uninit_vbuf()
164 if (pool->handles[i]) { in ia_css_rmgr_uninit_vbuf()
167 pool->handles[i]->vptr, in ia_css_rmgr_uninit_vbuf()
168 pool->handles[i]->count); in ia_css_rmgr_uninit_vbuf()
[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/acpi/riscv/
H A Dirq.c345 dep_devices.handles = kcalloc(1, sizeof(*dep_devices.handles), GFP_KERNEL); in riscv_acpi_add_prt_dep()
346 if (!dep_devices.handles) { in riscv_acpi_add_prt_dep()
351 dep_devices.handles[0] = link_handle; in riscv_acpi_add_prt_dep()
356 dep_devices.handles = kcalloc(1, sizeof(*dep_devices.handles), GFP_KERNEL); in riscv_acpi_add_prt_dep()
357 if (!dep_devices.handles) { in riscv_acpi_add_prt_dep()
362 dep_devices.handles[0] = gsi_handle; in riscv_acpi_add_prt_dep()
385 dep_devices.handles = kcalloc(1, sizeof(*dep_devices.handles), GFP_KERNEL); in riscv_acpi_add_irq_dep()
386 if (!dep_devices.handles) { in riscv_acpi_add_irq_dep()
391 dep_devices.handles[0] = gsi_handle; in riscv_acpi_add_irq_dep()
/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()
424 idr_init(&ctx_mgr->handles); in hl_ctx_mgr_init()
442 idp = &ctx_mgr->handles; in hl_ctx_mgr_fini()
447 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/infiniband/core/
H 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/acpi/
H A Dutils.c368 list->handles = kcalloc(list->count, sizeof(*list->handles), GFP_KERNEL); in acpi_evaluate_reference()
369 if (!list->handles) in acpi_evaluate_reference()
383 list->handles[i] = element->reference.handle; in acpi_evaluate_reference()
384 acpi_handle_debug(list->handles[i], "Found in reference list\n"); in acpi_evaluate_reference()
395 kfree(list->handles); in acpi_evaluate_reference()
396 list->handles = NULL; in acpi_evaluate_reference()
414 * contain the same ACPI handles in the same order. Otherwise, return false.
420 !memcmp(list1->handles, list2->handles, in acpi_handle_list_equal()
421 list1->count * sizeof(*list1->handles)); in acpi_handle_list_equal()
430 * Free the handles table in @dst, move the handles table from @src to @dst,
[all …]
/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/Documentation/dev-tools/
H A Dkcov.rst236 ``KCOV_REMOTE_ENABLE`` ioctl accept handles that identify particular coverage
254 this handle to ``KCOV_REMOTE_ENABLE`` in the ``handles`` array field of the
256 section referenced by this handle. Multiple global handles identifying
266 KCOV follows a predefined format for both global and common handles. Each
270 For global handles, the top byte of the handle denotes the id of a subsystem
276 For common handles, a reserved value ``0`` is used as a subsystem id, as such
277 handles don't belong to a particular subsystem. The lower 4 bytes of a common
283 common handles are used by multiple processes, unique instance ids must be
288 local tasks spawned by the process and the global task that handles USB bus #1:
299 __aligned_u64 handles[0];
[all …]
/linux/drivers/gpu/drm/armada/
H A Darmada_fb.c103 (mode->handles[0] != mode->handles[1] || in armada_fb_create()
104 mode->handles[0] != mode->handles[2])) { in armada_fb_create()
109 obj = armada_gem_object_lookup(dfile, mode->handles[0]); in armada_fb_create()
/linux/drivers/gpu/drm/
H A Ddrm_framebuffer.c52 * (or a list of memory handles for multi-planar formats) through the
55 * free to use their own backing storage object handles, e.g. vmwgfx directly
56 * exposes special TTM handles to userspace and so expects TTM handles in the
57 * create ioctl and not GEM handles.
138 r.handles[0] = or->handle; in drm_mode_addfb()
182 if (!r->handles[i]) { in framebuffer_check()
240 if (r->handles[i]) { in framebuffer_check()
616 for (i = 0; i < ARRAY_SIZE(r->handles); i++) { in drm_mode_getfb2_ioctl()
617 r->handles[i] = 0; in drm_mode_getfb2_ioctl()
632 * just return invalid handles (0) for non masters/root in drm_mode_getfb2_ioctl()
[all …]
/linux/drivers/xen/xenbus/
H A Dxenbus_client.c68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member
560 grant_handle_t *handles, in __xenbus_map_ring() argument
573 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring()
585 handles[i] = info->map[i].handle; in __xenbus_map_ring()
592 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring()
595 GNTMAP_host_map, handles[i]); in __xenbus_map_ring()
616 * @handles: grant handle array
617 * @nr_handles: number of handles in the array
625 static int xenbus_unmap_ring(struct xenbus_device *dev, grant_handle_t *handles, in xenbus_unmap_ring() argument
637 GNTMAP_host_map, handles[i]); in xenbus_unmap_ring()
[all …]
/linux/Documentation/admin-guide/sysctl/
H A Dfs.rst83 handles that the Linux kernel will allocate. When you get lots
84 of error messages about running out of file handles, you might
87 Historically,the kernel was able to allocate file handles
89 ``file-nr`` denote the number of allocated file handles, the number
90 of allocated but unused file handles, and the maximum number of
91 file handles. Linux 2.6 and later always reports 0 as the number of free
92 file handles -- this is not an error, it just means that the
93 number of allocated file handles exactly matches the number of
94 used file handles.
107 As with file handles, the kernel allocates the inode structures
[all …]
/linux/Documentation/networking/caif/
H A Dlinux_caif.rst108 - CFSERVL General CAIF Service Layer functionality; handles flow
111 - CFVEI CAIF VEI layer. Handles CAIF AT Channels on VEI (Virtual
114 - CFDGML CAIF Datagram layer. Handles CAIF Datagram layer (IP
117 - CFMUX CAIF Mux layer. Handles multiplexing between multiple
123 - CFFRML CAIF Framing layer. Handles Framing i.e. Frame length
126 - CFSERL CAIF Serial layer. Handles concatenation/split of frames
/linux/Documentation/core-api/
H A Dentry.rst93 syscall_exit_to_user_mode() handles all work which needs to be done before
95 that it invokes exit_to_user_mode() which again handles the state
168 return true, handles NOHZ tick state and interrupt time accounting. This
172 irq_exit_rcu() handles interrupt time accounting, undoes the preemption
173 count update and eventually handles soft interrupts and NOHZ tick state.
183 before it handles soft interrupts, whose handlers must run in BH context rather
/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/media/
H A Dv4l2-fh.h6 * framework. Using file handles is mandatory for the drivers.
80 * file handles should be initialised in this function. Must be called
87 * v4l2_fh_add - Add the fh to the list of file handles on a video_device.
114 * v4l2_fh_del - Remove file handle from the list of file handles.
/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/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/include/uapi/drm/
H A Damdgpu_drm.h478 * @syncobj_handles: The list of syncobj handles submitted by the user queue
483 * @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/Documentation/devicetree/bindings/display/
H A Dst,stm32mp25-lvds.yaml14 The STMicroelectronics STM32 LVDS Display Interface Transmitter handles the
19 - LVDS host: handles the LVDS protocol (FPD / OpenLDI) and maps its input
22 - LVDS wrapper: handles top-level settings

12345678910>>...80