Lines Matching full:to
4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51 __u64 ring_base_address; /* to KFD */
56 __u32 ring_size; /* to KFD */
57 __u32 gpu_id; /* to KFD */
58 __u32 queue_type; /* to KFD */
59 __u32 queue_percentage; /* to KFD */
60 __u32 queue_priority; /* to KFD */
63 __u64 eop_buffer_address; /* to KFD */
64 __u64 eop_buffer_size; /* to KFD */
65 __u64 ctx_save_restore_address; /* to KFD */
66 __u32 ctx_save_restore_size; /* to KFD */
67 __u32 ctl_stack_size; /* to KFD */
71 __u32 queue_id; /* to KFD */
76 __u64 ring_base_address; /* to KFD */
78 __u32 queue_id; /* to KFD */
79 __u32 ring_size; /* to KFD */
80 __u32 queue_percentage; /* to KFD */
81 __u32 queue_priority; /* to KFD */
85 __u32 queue_id; /* to KFD */
86 __u32 num_cu_mask; /* to KFD */
87 __u64 cu_mask_ptr; /* to KFD */
91 __u64 ctl_stack_address; /* to KFD */
94 __u32 queue_id; /* to KFD */
103 __u64 alternate_aperture_base; /* to KFD */
104 __u64 alternate_aperture_size; /* to KFD */
106 __u32 gpu_id; /* to KFD */
107 __u32 default_policy; /* to KFD */
108 __u32 alternate_policy; /* to KFD */
125 __u32 gpu_id; /* to KFD */
156 /* User allocated. Pointer to struct kfd_process_device_apertures
160 /* to KFD - indicates amount of memory present in
173 __u32 gpu_id; /* to KFD */
178 __u32 gpu_id; /* to KFD */
183 __u64 content_ptr; /* a pointer to the actual content */
184 __u32 gpu_id; /* to KFD */
189 __u64 content_ptr; /* a pointer to the actual content */
190 __u32 gpu_id; /* to KFD */
228 __u32 event_type; /* to KFD */
229 __u32 auto_reset; /* to KFD */
230 __u32 node_id; /* to KFD - only valid for certain
237 __u32 event_id; /* to KFD */
242 __u32 event_id; /* to KFD */
247 __u32 event_id; /* to KFD */
253 __u32 ReadOnly; /* Write access to a read-only page */
254 __u32 NoExecute; /* Execute access to a page marked NX */
266 * 3 = GPU hang (not attributable to a specific cause),
285 __u64 kfd_event_data_ext; /* pointer to an extension structure
287 __u32 event_id; /* to KFD */
292 __u64 events_ptr; /* pointed to struct
293 kfd_event_data array, to KFD */
294 __u32 num_events; /* to KFD */
295 __u32 wait_for_all; /* to KFD */
296 __u32 timeout; /* to KFD */
301 __u64 va_addr; /* to KFD */
302 __u32 gpu_id; /* to KFD */
307 /* to KFD: pointer to tile array */
309 /* to KFD: pointer to macro tile array */
311 /* to KFD: array size allocated by user mode
315 /* to KFD: array size allocated by user mode
320 __u32 gpu_id; /* to KFD */
330 __u64 tba_addr; /* to KFD */
331 __u64 tma_addr; /* to KFD */
332 __u32 gpu_id; /* to KFD */
337 __u32 drm_fd; /* to KFD */
338 __u32 gpu_id; /* to KFD */
357 * @va_addr: virtual address of the memory to be allocated
360 * @handle: buffer handle returned to user mode, used to refer to
363 * for userptrs this is overloaded to specify the CPU address
368 __u64 va_addr; /* to KFD */
369 __u64 size; /* to KFD */
371 __u64 mmap_offset; /* to KFD (userptr), from KFD (mmap offset) */
372 __u32 gpu_id; /* to KFD */
381 __u64 handle; /* to KFD */
384 /* Map memory to one or more GPUs
391 * @n_success returns information to the caller how many devices from
393 * be passed into a subsequent retry call to skip those devices. For
394 * the first call the caller should initialize it to 0.
400 __u64 handle; /* to KFD */
401 __u64 device_ids_array_ptr; /* to KFD */
402 __u32 n_devices; /* to KFD */
403 __u32 n_success; /* to/from KFD */
411 __u64 handle; /* to KFD */
412 __u64 device_ids_array_ptr; /* to KFD */
413 __u32 n_devices; /* to KFD */
414 __u32 n_success; /* to/from KFD */
420 * @num_gws: how many GWS to allocate
425 __u32 queue_id; /* to KFD */
426 __u32 num_gws; /* to KFD */
433 __u64 metadata_ptr; /* to KFD */
434 __u32 metadata_size; /* to KFD (space allocated by user)
439 __u32 dmabuf_fd; /* to KFD */
443 __u64 va_addr; /* to KFD */
445 __u32 gpu_id; /* to KFD */
446 __u32 dmabuf_fd; /* to KFD */
463 __u32 gpuid; /* to KFD */