Lines Matching defs:adev

74 static int amdgpu_ttm_init_on_chip(struct amdgpu_device *adev,  in amdgpu_ttm_init_on_chip()
93 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->bdev); in amdgpu_evict_flags() local
189 struct amdgpu_device *adev = ring->adev; in amdgpu_ttm_map_buffer() local
292 int amdgpu_ttm_copy_mem_to_mem(struct amdgpu_device *adev, in amdgpu_ttm_copy_mem_to_mem()
361 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->bdev); in amdgpu_move_blit() local
418 bool amdgpu_res_cpu_visible(struct amdgpu_device *adev, in amdgpu_res_cpu_visible()
448 static bool amdgpu_res_copyable(struct amdgpu_device *adev, in amdgpu_res_copyable()
472 struct amdgpu_device *adev; in amdgpu_bo_move() local
583 struct amdgpu_device *adev = amdgpu_ttm_adev(bdev); in amdgpu_ttm_io_mem_reserve() local
618 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->bdev); in amdgpu_ttm_io_mem_pfn() local
639 uint64_t amdgpu_ttm_domain_start(struct amdgpu_device *adev, uint32_t type) in amdgpu_ttm_domain_start()
780 struct amdgpu_device *adev = amdgpu_ttm_adev(bdev); in amdgpu_ttm_tt_pin_userptr() local
817 struct amdgpu_device *adev = amdgpu_ttm_adev(bdev); in amdgpu_ttm_tt_unpin_userptr() local
839 static void amdgpu_ttm_gart_bind_gfx9_mqd(struct amdgpu_device *adev, in amdgpu_ttm_gart_bind_gfx9_mqd()
870 static void amdgpu_ttm_gart_bind(struct amdgpu_device *adev, in amdgpu_ttm_gart_bind()
900 struct amdgpu_device *adev = amdgpu_ttm_adev(bdev); in amdgpu_ttm_backend_bind() local
966 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->bdev); in amdgpu_ttm_alloc_gart() local
1019 struct amdgpu_device *adev = amdgpu_ttm_adev(tbo->bdev); in amdgpu_ttm_recover_gart() local
1038 struct amdgpu_device *adev = amdgpu_ttm_adev(bdev); in amdgpu_ttm_backend_unbind() local
1086 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->bdev); in amdgpu_ttm_tt_create() local
1124 struct amdgpu_device *adev = amdgpu_ttm_adev(bdev); in amdgpu_ttm_tt_populate() local
1165 struct amdgpu_device *adev; in amdgpu_ttm_tt_unpopulate() local
1361 uint64_t amdgpu_ttm_tt_pte_flags(struct amdgpu_device *adev, struct ttm_tt *ttm, in amdgpu_ttm_tt_pte_flags()
1428 static void amdgpu_ttm_vram_mm_access(struct amdgpu_device *adev, loff_t pos, in amdgpu_ttm_vram_mm_access()
1468 struct amdgpu_device *adev = amdgpu_ttm_adev(abo->tbo.bdev); in amdgpu_ttm_access_memory_sdma() local
1539 struct amdgpu_device *adev = amdgpu_ttm_adev(abo->tbo.bdev); in amdgpu_ttm_access_memory() local
1603 static void amdgpu_ttm_fw_reserve_vram_fini(struct amdgpu_device *adev) in amdgpu_ttm_fw_reserve_vram_fini()
1619 static void amdgpu_ttm_drv_reserve_vram_fini(struct amdgpu_device *adev) in amdgpu_ttm_drv_reserve_vram_fini()
1633 static int amdgpu_ttm_fw_reserve_vram_init(struct amdgpu_device *adev) in amdgpu_ttm_fw_reserve_vram_init()
1658 static int amdgpu_ttm_drv_reserve_vram_init(struct amdgpu_device *adev) in amdgpu_ttm_drv_reserve_vram_init()
1687 static int amdgpu_ttm_training_reserve_vram_fini(struct amdgpu_device *adev) in amdgpu_ttm_training_reserve_vram_fini()
1698 static void amdgpu_ttm_training_data_block_init(struct amdgpu_device *adev, in amdgpu_ttm_training_data_block_init()
1722 static int amdgpu_ttm_reserve_tmr(struct amdgpu_device *adev) in amdgpu_ttm_reserve_tmr()
1785 static int amdgpu_ttm_pools_init(struct amdgpu_device *adev) in amdgpu_ttm_pools_init()
1806 static void amdgpu_ttm_pools_fini(struct amdgpu_device *adev) in amdgpu_ttm_pools_fini()
1829 int amdgpu_ttm_init(struct amdgpu_device *adev) in amdgpu_ttm_init()
2008 void amdgpu_ttm_fini(struct amdgpu_device *adev) in amdgpu_ttm_fini()
2063 void amdgpu_ttm_set_buffer_funcs_status(struct amdgpu_device *adev, bool enable) in amdgpu_ttm_set_buffer_funcs_status()
2117 static int amdgpu_ttm_prepare_job(struct amdgpu_device *adev, in amdgpu_ttm_prepare_job()
2156 struct amdgpu_device *adev = ring->adev; in amdgpu_copy_buffer() local
2210 struct amdgpu_device *adev = ring->adev; in amdgpu_ttm_fill_mem() local
2247 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_fill_buffer() local
2301 int amdgpu_ttm_evict_resources(struct amdgpu_device *adev, int mem_type) in amdgpu_ttm_evict_resources()
2325 struct amdgpu_device *adev = m->private; in amdgpu_ttm_page_pool_show() local
2340 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_ttm_vram_read() local
2375 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_ttm_vram_write() local
2423 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_iomem_read() local
2479 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_iomem_write() local
2529 void amdgpu_ttm_debugfs_init(struct amdgpu_device *adev) in amdgpu_ttm_debugfs_init()