Home
last modified time | relevance | path

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

12345678910>>...69

/Linux-v5.15/drivers/gpu/drm/selftests/
Dtest-drm_framebuffer.c31 .handles = { 1, 0, 0 }, .pitches = { 4 * 600, 0, 0 },
36 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
41 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH + 1, 0, 0 },
46 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH - 1, 0, 0 },
51 .handles = { 1, 0, 0 }, .pitches = { 4 * (MAX_WIDTH + 1), 0, 0 },
56 .handles = { 0, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
61 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
66 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
71 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
76 .handles = { 1, 0, 0 }, .offsets = { UINT_MAX - 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
[all …]
/Linux-v5.15/Documentation/i2c/
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-v5.15/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
Drmgr_vbuf.c25 * @brief VBUF resource handles
139 /* allocate memory for storing the handles */ in ia_css_rmgr_init_vbuf()
143 pool->handles = kvmalloc(bytes_needed, GFP_KERNEL); in ia_css_rmgr_init_vbuf()
144 if (pool->handles) in ia_css_rmgr_init_vbuf()
145 memset(pool->handles, 0, bytes_needed); in ia_css_rmgr_init_vbuf()
151 pool->handles = NULL; in ia_css_rmgr_init_vbuf()
170 if (pool->handles) { in ia_css_rmgr_uninit_vbuf()
173 if (pool->handles[i]) { in ia_css_rmgr_uninit_vbuf()
176 pool->handles[i]->vptr, in ia_css_rmgr_uninit_vbuf()
177 pool->handles[i]->count); in ia_css_rmgr_uninit_vbuf()
[all …]
/Linux-v5.15/drivers/staging/rtl8712/
Drtl8712_hal.h93 unsigned char rate_control_offload; /*1: FW offloads,0: driver handles*/
94 unsigned char aggregation_offload; /*1: FW offloads,0: driver handles*/
98 unsigned char beacon_offload; /* 1. FW offloads, 0: driver handles*/
99 unsigned char MLME_offload; /* 2. FW offloads, 0: driver handles*/
100 unsigned char hwpc_offload; /* 3. FW offloads, 0: driver handles*/
101 unsigned char tcp_checksum_offload; /*4. FW offloads,0: driver handles*/
102 unsigned char tcp_offload; /* 5. FW offloads, 0: driver handles*/
103 unsigned char ps_control_offload; /* 6. FW offloads, 0: driver handles*/
104 unsigned char WWLAN_offload; /* 7. FW offloads, 0: driver handles*/
134 /*Endpoint handles*/
/Linux-v5.15/drivers/gpu/drm/lima/
Dlima_ctx.c26 err = xa_alloc(&mgr->handles, id, ctx, xa_limit_32b, GFP_KERNEL); in lima_ctx_create()
58 ctx = xa_erase(&mgr->handles, id); in lima_ctx_free()
72 ctx = xa_load(&mgr->handles, id); in lima_ctx_get()
87 xa_init_flags(&mgr->handles, XA_FLAGS_ALLOC); in lima_ctx_mgr_init()
95 xa_for_each(&mgr->handles, id, ctx) { in lima_ctx_mgr_fini()
99 xa_destroy(&mgr->handles); in lima_ctx_mgr_fini()
/Linux-v5.15/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
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-v5.15/drivers/infiniband/core/
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-v5.15/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c31 * This function handles the command response error case.
95 * This function handles the command response of get RSSI info.
156 * This function handles the command response of set/get SNMP
214 * This function handles the command response of get log request
255 * This function handles the command response of set/get Tx rate
331 * This function handles the command response of get Tx power level.
375 * This function handles the command response of set/get Tx power
434 * This function handles the command response of get RF Tx power.
458 * This function handles the command response of set rf antenna
489 * This function handles the command response of set/get MAC address.
[all …]
/Linux-v5.15/drivers/gpu/drm/
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.
137 r.handles[0] = or->handle; in drm_mode_addfb()
209 if (!r->handles[i]) { in framebuffer_check()
267 if (r->handles[i]) { in framebuffer_check()
600 for (i = 0; i < ARRAY_SIZE(r->handles); i++) { in drm_mode_getfb2_ioctl()
601 r->handles[i] = 0; in drm_mode_getfb2_ioctl()
616 * just return invalid handles (0) for non masters/root in drm_mode_getfb2_ioctl()
[all …]
Ddrm_gem.c68 * struct file. However, file descriptors as handles to a struct file have
75 * This led to a plan of using our own integer IDs (called handles, following
186 * drm_gem_object_handle_free - release resources bound to userspace handles
352 * drop it before returning. Used to avoid races in establishing new handles
355 * Handles must be release again through drm_gem_handle_delete(). This is done
356 * when userspace closes @file_priv for all attached handles, or through the
357 * GEM_CLOSE ioctl for individual handles.
471 * This function is idempotent and handles an already allocated mmap offset
671 * drm_gem_objects_lookup - look up GEM objects from an array of handles
677 * Takes an array of userspace handles and returns a newly allocated array of
[all …]
Ddrm_syncobj.c110 * &DRM_IOCTL_SYNCOBJ_WAIT takes an array of syncobj handles and does a
130 * handles as well as an array of u64 points and does a host-side wait on all
150 * All exported file descriptors and any syncobj handles created as a
1169 uint32_t i, *handles; in drm_syncobj_array_find() local
1173 handles = kmalloc_array(count_handles, sizeof(*handles), GFP_KERNEL); in drm_syncobj_array_find()
1174 if (handles == NULL) in drm_syncobj_array_find()
1177 if (copy_from_user(handles, user_handles, in drm_syncobj_array_find()
1190 syncobjs[i] = drm_syncobj_find(file_private, handles[i]); in drm_syncobj_array_find()
1197 kfree(handles); in drm_syncobj_array_find()
1206 kfree(handles); in drm_syncobj_array_find()
[all …]
/Linux-v5.15/drivers/gpu/drm/armada/
Darmada_fb.c102 (mode->handles[0] != mode->handles[1] || in armada_fb_create()
103 mode->handles[0] != mode->handles[2])) { in armada_fb_create()
108 obj = armada_gem_object_lookup(dfile, mode->handles[0]); in armada_fb_create()
/Linux-v5.15/drivers/xen/xenbus/
Dxenbus_client.c68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member
505 grant_handle_t *handles, in __xenbus_map_ring() argument
518 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring()
530 handles[i] = info->map[i].handle; in __xenbus_map_ring()
537 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring()
540 GNTMAP_host_map, handles[i]); in __xenbus_map_ring()
561 * @handles: grant handle array
562 * @nr_handles: number of handles in the array
569 static int xenbus_unmap_ring(struct xenbus_device *dev, grant_handle_t *handles, in xenbus_unmap_ring() argument
581 GNTMAP_host_map, handles[i]); in xenbus_unmap_ring()
[all …]
/Linux-v5.15/Documentation/admin-guide/sysctl/
Dfs.rst112 handles that the Linux kernel will allocate. When you get lots
113 of error messages about running out of file handles, you might
116 Historically,the kernel was able to allocate file handles
118 file-nr denote the number of allocated file handles, the number
119 of allocated but unused file handles, and the maximum number of
120 file handles. Linux 2.6 always reports 0 as the number of free
121 file handles -- this is not an error, it just means that the
122 number of allocated file handles exactly matches the number of
123 used file handles.
133 This denotes the maximum number of file-handles a process can
[all …]
/Linux-v5.15/Documentation/networking/caif/
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-v5.15/Documentation/devicetree/bindings/net/
Dmediatek-net.txt33 - mediatek,ethsys: phandle to the syscon node that handles the port setup
34 - mediatek,infracfg: phandle to the syscon node that handles the path from
36 - mediatek,sgmiisys: a list of phandles to the syscon node that handles the
41 - mediatek,pctl: phandle to the syscon node that handles the ports slew rate
/Linux-v5.15/Documentation/dev-tools/
Dkcov.rst226 a list of such handles to the KCOV_REMOTE_ENABLE ioctl in the handles
228 device to the code sections, that are referenced by those handles.
238 Internally kcov stores handles as u64 integers. The top byte of a handle
242 handles as they don't belong to a particular subsystem. The bytes 4-7 are
249 task_struct. However non common handles allow to collect coverage
259 __aligned_u64 handles[0];
311 arg->handles[0] = kcov_remote_handle(KCOV_SUBSYSTEM_USB,
/Linux-v5.15/include/media/
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-v5.15/Documentation/scsi/
Dufs.rst69 It handles SCSI commands supported by UFS specification.
71 It handles task management functions defined by the
74 It handles device level operations and device
101 UIC is the lowest layer of UFS layered architecture. It handles
138 Error handling module handles Host controller fatal errors,
/Linux-v5.15/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
/Linux-v5.15/drivers/misc/habanalabs/common/
Dcontext.c20 idr_remove(&mgr->handles, handle->id); in hl_encaps_handle_do_release()
40 idr_remove(&mgr->handles, handle->id); in hl_encaps_handle_do_release_sob()
49 idr_init(&mgr->handles); in hl_encaps_sig_mgr_init()
59 idp = &mgr->handles; in hl_encaps_sig_mgr_fini()
62 dev_warn(hdev->dev, "device released while some encaps signals handles are still allocated\n"); in hl_encaps_sig_mgr_fini()
68 idr_destroy(&mgr->handles); in hl_encaps_sig_mgr_fini()
/Linux-v5.15/drivers/gpu/drm/nouveau/dispnv50/
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-v5.15/drivers/gpu/drm/panfrost/
Dpanfrost_drv.c120 * Resolve handles from userspace to BOs and attach them to job.
189 u32 *handles; in panfrost_copy_in_sync() local
198 handles = kvmalloc_array(in_fence_count, sizeof(u32), GFP_KERNEL); in panfrost_copy_in_sync()
199 if (!handles) { in panfrost_copy_in_sync()
201 DRM_DEBUG("Failed to allocate incoming syncobj handles\n"); in panfrost_copy_in_sync()
205 if (copy_from_user(handles, in panfrost_copy_in_sync()
209 DRM_DEBUG("Failed to copy in syncobj handles\n"); in panfrost_copy_in_sync()
216 ret = drm_syncobj_find_fence(file_priv, handles[i], 0, 0, in panfrost_copy_in_sync()
228 kvfree(handles); in panfrost_copy_in_sync()
/Linux-v5.15/drivers/gpu/drm/v3d/
Dv3d_gem.c280 * @bo_handles: GEM handles
281 * @bo_count: Number of GEM handles passed in
297 u32 *handles; in v3d_lookup_bos() local
319 handles = kvmalloc_array(job->bo_count, sizeof(u32), GFP_KERNEL); in v3d_lookup_bos()
320 if (!handles) { in v3d_lookup_bos()
322 DRM_DEBUG("Failed to allocate incoming GEM handles\n"); in v3d_lookup_bos()
326 if (copy_from_user(handles, in v3d_lookup_bos()
330 DRM_DEBUG("Failed to copy in GEM handles\n"); in v3d_lookup_bos()
337 handles[i]); in v3d_lookup_bos()
340 i, handles[i]); in v3d_lookup_bos()
[all …]

12345678910>>...69