Home
last modified time | relevance | path

Searched refs:cgs_device (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/amd/include/
Dcgs_common.h151 typedef int (*cgs_gpu_mem_info_t)(void *cgs_device, enum cgs_gpu_mem_type type,
167 typedef int (*cgs_gmap_kmem_t)(void *cgs_device, void *kmem, uint64_t size,
178 typedef int (*cgs_gunmap_kmem_t)(void *cgs_device, cgs_handle_t kmem_handle);
207 typedef int (*cgs_alloc_gpu_mem_t)(void *cgs_device, enum cgs_gpu_mem_type type,
219 typedef int (*cgs_free_gpu_mem_t)(void *cgs_device, cgs_handle_t handle);
231 typedef int (*cgs_gmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle,
243 typedef int (*cgs_gunmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle);
254 typedef int (*cgs_kmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle,
264 typedef int (*cgs_kunmap_gpu_mem_t)(void *cgs_device, cgs_handle_t handle);
273 typedef uint32_t (*cgs_read_register_t)(void *cgs_device, unsigned offset);
[all …]
Dcgs_linux.h69 typedef int (*cgs_add_irq_source_t)(void *cgs_device, unsigned src_id,
86 typedef int (*cgs_irq_get_t)(void *cgs_device, unsigned src_id, unsigned type);
101 typedef int (*cgs_irq_put_t)(void *cgs_device, unsigned src_id, unsigned type);
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cgs.c37 struct cgs_device base;
43 ((struct amdgpu_cgs_device *)cgs_device)->adev
45 static int amdgpu_cgs_gpu_mem_info(void *cgs_device, enum cgs_gpu_mem_type type, in amdgpu_cgs_gpu_mem_info() argument
76 static int amdgpu_cgs_gmap_kmem(void *cgs_device, void *kmem, in amdgpu_cgs_gmap_kmem() argument
105 static int amdgpu_cgs_gunmap_kmem(void *cgs_device, cgs_handle_t kmem_handle) in amdgpu_cgs_gunmap_kmem() argument
121 static int amdgpu_cgs_alloc_gpu_mem(void *cgs_device, in amdgpu_cgs_alloc_gpu_mem() argument
211 static int amdgpu_cgs_free_gpu_mem(void *cgs_device, cgs_handle_t handle) in amdgpu_cgs_free_gpu_mem() argument
228 static int amdgpu_cgs_gmap_gpu_mem(void *cgs_device, cgs_handle_t handle, in amdgpu_cgs_gmap_gpu_mem() argument
249 static int amdgpu_cgs_gunmap_gpu_mem(void *cgs_device, cgs_handle_t handle) in amdgpu_cgs_gunmap_gpu_mem() argument
261 static int amdgpu_cgs_kmap_gpu_mem(void *cgs_device, cgs_handle_t handle, in amdgpu_cgs_kmap_gpu_mem() argument
[all …]
Damdgpu.h1936 void amdgpu_cgs_destroy_device(void *cgs_device);