Home
last modified time | relevance | path

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

12345678910>>...54

/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/acpi/riscv/
H A Dirq.c276 dep_devices.handles = kcalloc(1, sizeof(*dep_devices.handles), GFP_KERNEL); in riscv_acpi_add_prt_dep()
277 if (!dep_devices.handles) { in riscv_acpi_add_prt_dep()
282 dep_devices.handles[0] = link_handle; in riscv_acpi_add_prt_dep()
287 dep_devices.handles = kcalloc(1, sizeof(*dep_devices.handles), GFP_KERNEL); in riscv_acpi_add_prt_dep()
288 if (!dep_devices.handles) { in riscv_acpi_add_prt_dep()
293 dep_devices.handles[0] = gsi_handle; in riscv_acpi_add_prt_dep()
316 dep_devices.handles = kcalloc(1, sizeof(*dep_devices.handles), GFP_KERNEL); in riscv_acpi_add_irq_dep()
317 if (!dep_devices.handles) { in riscv_acpi_add_irq_dep()
322 dep_devices.handles[0] = gsi_handle; in riscv_acpi_add_irq_dep()
/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/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/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()
318 idr_init(&mmg->handles);
351 * @stats: if non-NULL, will return some counters for handles that could not be removed.
365 idp = &mmg->handles;
388 if (!idr_is_empty(&mmg->handles))
[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/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()
192 if (!r->handles[i]) { in framebuffer_check()
250 if (r->handles[i]) { in framebuffer_check()
615 for (i = 0; i < ARRAY_SIZE(r->handles); i++) { in drm_mode_getfb2_ioctl()
616 r->handles[i] = 0; in drm_mode_getfb2_ioctl()
631 * just return invalid handles (0) for non masters/root in drm_mode_getfb2_ioctl()
[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.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/drivers/xen/xenbus/
H A Dxenbus_client.c68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member
558 grant_handle_t *handles, in __xenbus_map_ring() argument
571 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring()
583 handles[i] = info->map[i].handle; in __xenbus_map_ring()
590 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring()
593 GNTMAP_host_map, handles[i]); in __xenbus_map_ring()
614 * @handles: grant handle array
615 * @nr_handles: number of handles in the array
623 static int xenbus_unmap_ring(struct xenbus_device *dev, grant_handle_t *handles, in xenbus_unmap_ring() argument
635 GNTMAP_host_map, handles[i]); in xenbus_unmap_ring()
[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/include/media/
H A Dv4l2-fh.h6 * framework. Using file handles is optional for the drivers.
66 * file handles should be initialised in this function. Must be called
73 * v4l2_fh_add - Add the fh to the list of file handles on a video_device.
94 * 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/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/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
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_uvd.c271 /* Set the default UVD handles that the firmware can handle */ in amdgpu_uvd_sw_init()
286 * Limit the number of UVD handles depending on microcode major in amdgpu_uvd_sw_init()
338 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_sw_init()
433 if (atomic_read(&adev->uvd.handles[i])) in amdgpu_uvd_prepare_suspend()
526 uint32_t handle = atomic_read(&adev->uvd.handles[i]); in amdgpu_uvd_free_handles()
542 atomic_set(&adev->uvd.handles[i], 0); in amdgpu_uvd_free_handles()
854 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
860 if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) { in amdgpu_uvd_cs_msg()
866 DRM_ERROR("No more free UVD handles!\n"); in amdgpu_uvd_cs_msg()
878 if (atomic_read(&adev->uvd.handles[i]) == handle) { in amdgpu_uvd_cs_msg()
[all …]
/linux/tools/include/uapi/drm/
H A Ddrm.h404 int __user *send_indices; /**< List of handles to buffers */
935 __u64 handles; member
953 __u64 handles; member
954 /* wait on specific timeline point for every handles*/
995 __u64 handles; member
1002 __u64 handles; member
1066 * GEM handles are not reference-counted by the kernel. User-space is
1073 * and always returns fresh new GEM handles even if an existing GEM handle
1139 * reference-count duplicated GEM handles. For more information see
1257 * 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/radeon/
H 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()
308 * radeon_vce_free_handles - free still open VCE handles
313 * Close all VCE handles still open by this file pointer
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()
546 DRM_ERROR("No more free VCE handles!\n"); in radeon_vce_validate_handle()
679 atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0); in radeon_vce_cs_parse()
/linux/drivers/platform/x86/
H A Dsony-laptop.c812 static struct sony_nc_handles *handles; variable
820 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_show()
821 len += sysfs_emit_at(buffer, len, "0x%.4x ", handles->cap[i]); in sony_nc_handles_show()
832 handles = kzalloc(sizeof(*handles), GFP_KERNEL); in sony_nc_handles_setup()
833 if (!handles) in sony_nc_handles_setup()
836 for (i = 0; i < ARRAY_SIZE(handles->cap); i++) { in sony_nc_handles_setup()
843 handles->cap[i] = result; in sony_nc_handles_setup()
848 sysfs_attr_init(&handles->devattr.attr); in sony_nc_handles_setup()
849 handles->devattr.attr.name = "handles"; in sony_nc_handles_setup()
850 handles->devattr.attr.mode = S_IRUGO; in sony_nc_handles_setup()
[all …]
/linux/drivers/misc/sgi-gru/
H A Dgrutlbpurge.c7 * This file handles emu notifier callbacks from the core kernel. The callbacks
9 * state of a process address space. This file also handles TLB invalidates
281 * - 24 TGH handles per GRU chiplet
282 * - a portion (MAX_LOCAL_TGH) of the handles are reserved for
287 * For now, use 16 handles for local flushes, 8 for remote flushes. If the blade
/linux/drivers/char/tpm/
H A Dtpm2-sessions.c49 * 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
211 * objects pointed to by the handles. For most objects, this is simply
242 dev_err(&chip->dev, "TPM: too many handles\n"); in tpm_buf_append_name()
272 int offset = buf->handles * 4 + TPM_HEADER_SIZE; in tpm_buf_append_auth()
587 u32 cc, handles, val; in tpm_buf_fill_hmac_session() local
612 handles = (attrs >> TPM2_CC_ATTR_CHANDLES) & GENMASK(2, 0); in tpm_buf_fill_hmac_session()
619 for (i = 0; i < handles; i++) { in tpm_buf_fill_hmac_session()
687 for (i = 0; i < handles; i++) { in tpm_buf_fill_hmac_session()
[all …]
/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]}" \

12345678910>>...54