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,
47 __u64 ring_base_address; /* to KFD */
52 __u32 ring_size; /* to KFD */
53 __u32 gpu_id; /* to KFD */
54 __u32 queue_type; /* to KFD */
55 __u32 queue_percentage; /* to KFD */
56 __u32 queue_priority; /* to KFD */
59 __u64 eop_buffer_address; /* to KFD */
60 __u64 eop_buffer_size; /* to KFD */
61 __u64 ctx_save_restore_address; /* to KFD */
62 __u32 ctx_save_restore_size; /* to KFD */
63 __u32 ctl_stack_size; /* to KFD */
67 __u32 queue_id; /* to KFD */
72 __u64 ring_base_address; /* to KFD */
74 __u32 queue_id; /* to KFD */
75 __u32 ring_size; /* to KFD */
76 __u32 queue_percentage; /* to KFD */
77 __u32 queue_priority; /* to KFD */
81 __u32 queue_id; /* to KFD */
82 __u32 num_cu_mask; /* to KFD */
83 __u64 cu_mask_ptr; /* to KFD */
87 __u64 ctl_stack_address; /* to KFD */
90 __u32 queue_id; /* to KFD */
99 __u64 alternate_aperture_base; /* to KFD */
100 __u64 alternate_aperture_size; /* to KFD */
102 __u32 gpu_id; /* to KFD */
103 __u32 default_policy; /* to KFD */
104 __u32 alternate_policy; /* to KFD */
121 __u32 gpu_id; /* to KFD */
152 /* User allocated. Pointer to struct kfd_process_device_apertures
156 /* to KFD - indicates amount of memory present in
169 __u32 gpu_id; /* to KFD */
174 __u32 gpu_id; /* to KFD */
179 __u64 content_ptr; /* a pointer to the actual content */
180 __u32 gpu_id; /* to KFD */
185 __u64 content_ptr; /* a pointer to the actual content */
186 __u32 gpu_id; /* to KFD */
224 __u32 event_type; /* to KFD */
225 __u32 auto_reset; /* to KFD */
226 __u32 node_id; /* to KFD - only valid for certain
233 __u32 event_id; /* to KFD */
238 __u32 event_id; /* to KFD */
243 __u32 event_id; /* to KFD */
249 __u32 ReadOnly; /* Write access to a read-only page */
250 __u32 NoExecute; /* Execute access to a page marked NX */
262 * 3 = GPU hang (not attributable to a specific cause),
281 __u64 kfd_event_data_ext; /* pointer to an extension structure
283 __u32 event_id; /* to KFD */
288 __u64 events_ptr; /* pointed to struct
289 kfd_event_data array, to KFD */
290 __u32 num_events; /* to KFD */
291 __u32 wait_for_all; /* to KFD */
292 __u32 timeout; /* to KFD */
297 __u64 va_addr; /* to KFD */
298 __u32 gpu_id; /* to KFD */
303 /* to KFD: pointer to tile array */
305 /* to KFD: pointer to macro tile array */
307 /* to KFD: array size allocated by user mode
311 /* to KFD: array size allocated by user mode
316 __u32 gpu_id; /* to KFD */
326 __u64 tba_addr; /* to KFD */
327 __u64 tma_addr; /* to KFD */
328 __u32 gpu_id; /* to KFD */
333 __u32 drm_fd; /* to KFD */
334 __u32 gpu_id; /* to KFD */
353 * @va_addr: virtual address of the memory to be allocated
356 * @handle: buffer handle returned to user mode, used to refer to
359 * for userptrs this is overloaded to specify the CPU address
364 __u64 va_addr; /* to KFD */
365 __u64 size; /* to KFD */
367 __u64 mmap_offset; /* to KFD (userptr), from KFD (mmap offset) */
368 __u32 gpu_id; /* to KFD */
377 __u64 handle; /* to KFD */
380 /* Map memory to one or more GPUs
387 * @n_success returns information to the caller how many devices from
389 * be passed into a subsequent retry call to skip those devices. For
390 * the first call the caller should initialize it to 0.
396 __u64 handle; /* to KFD */
397 __u64 device_ids_array_ptr; /* to KFD */
398 __u32 n_devices; /* to KFD */
399 __u32 n_success; /* to/from KFD */
407 __u64 handle; /* to KFD */
408 __u64 device_ids_array_ptr; /* to KFD */
409 __u32 n_devices; /* to KFD */
410 __u32 n_success; /* to/from KFD */
415 __u64 metadata_ptr; /* to KFD */
416 __u32 metadata_size; /* to KFD (space allocated by user)
421 __u32 dmabuf_fd; /* to KFD */
425 __u64 va_addr; /* to KFD */
427 __u32 gpu_id; /* to KFD */
428 __u32 dmabuf_fd; /* to KFD */