Home
last modified time | relevance | path

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

12345678910>>...116

/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_framebuffer.c30 .handles = { 1, 0, 0 }, .pitches = { 4 * 600, 0, 0 },
35 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
40 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH + 1, 0, 0 },
45 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH - 1, 0, 0 },
50 .handles = { 1, 0, 0 }, .pitches = { 4 * (MAX_WIDTH + 1), 0, 0 },
55 .handles = { 0, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
60 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
65 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
70 .handles = { 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
75 .handles = { 1, 0, 0 }, .offsets = { UINT_MAX - 1, 0, 0 }, .pitches = { 4 * MAX_WIDTH, 0, 0 },
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
Ddrm_framebuffer_test.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 },
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/rmgr/src/
Drmgr_vbuf.c25 * @brief VBUF resource handles
38 NULL, /* handles */
49 NULL, /* handles */
60 NULL, /* handles */
152 /* allocate memory for storing the handles */ in ia_css_rmgr_init_vbuf()
156 pool->handles = kvmalloc(bytes_needed, GFP_KERNEL); in ia_css_rmgr_init_vbuf()
157 if (pool->handles) in ia_css_rmgr_init_vbuf()
158 memset(pool->handles, 0, bytes_needed); in ia_css_rmgr_init_vbuf()
164 pool->handles = NULL; in ia_css_rmgr_init_vbuf()
184 if (pool->handles) { in ia_css_rmgr_uninit_vbuf()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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*/
/kernel/linux/linux-5.10/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*/
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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 */
/kernel/linux/linux-6.6/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 */
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
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);
335 idp = &mmg->handles;
355 if (!idr_is_empty(&mmg->handles))
358 idr_destroy(&mmg->handles);
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()
164 rc = idr_alloc(&ctx_mgr->handles, ctx, 1, 0, GFP_KERNEL); in hl_ctx_create()
191 idr_remove(&ctx_mgr->handles, ctx->handle); in hl_ctx_create()
420 idr_init(&ctx_mgr->handles); in hl_ctx_mgr_init()
438 idp = &ctx_mgr->handles; in hl_ctx_mgr_fini()
443 idr_destroy(&ctx_mgr->handles); in hl_ctx_mgr_fini()
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
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 …]
/kernel/linux/linux-5.10/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
213 * This function handles the command response of get log request
254 * This function handles the command response of set/get Tx rate
330 * This function handles the command response of get Tx power level.
374 * This function handles the command response of set/get Tx power
433 * This function handles the command response of get RF Tx power.
457 * This function handles the command response of set rf antenna
488 * This function handles the command response of set/get MAC address.
[all …]
/kernel/linux/linux-6.6/Documentation/dev-tools/
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 …]
/kernel/linux/linux-6.6/Documentation/admin-guide/sysctl/
Dfs.rst78 handles that the Linux kernel will allocate. When you get lots
79 of error messages about running out of file handles, you might
82 Historically,the kernel was able to allocate file handles
84 ``file-nr`` denote the number of allocated file handles, the number
85 of allocated but unused file handles, and the maximum number of
86 file handles. Linux 2.6 and later always reports 0 as the number of free
87 file handles -- this is not an error, it just means that the
88 number of allocated file handles exactly matches the number of
89 used file handles.
102 As with file handles, the kernel allocates the inode structures
[all …]
/kernel/linux/linux-5.10/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()
212 if (!r->handles[i]) { in framebuffer_check()
270 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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/gpu/drm/armada/
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()
/kernel/liteos_m/kernel/include/
Dlos_swtmr.h246 * @brief Define the type of a callback function that handles software timer timeout.
249 * This API is used to define the type of a callback function that handles software timer timeout, s…
257 * @param para [IN] the parameter of the callback function that handles software timer timeout.
282 that handles software timer timeout is called */
283 SWTMR_PROC_FUNC pfnHandler; /* Callback function that handles software timer timeout */
371 …* <li>Do not use the delay interface in the callback function that handles software timer timeout.…
379 * @param handler [IN] Callback function that handles software timer timeout.
381 …* @param arg [IN] Parameter passed in when the callback function that handles software t…
386 …* @retval #LOS_ERRNO_SWTMR_PTR_NULL The callback function that handles software timer…
446 * Structure of the callback function that handles software timer timeout
[all …]

12345678910>>...116