Lines Matching defs:adev

43 bool amdgpu_gmc_is_pdb0_enabled(struct amdgpu_device *adev)  in amdgpu_gmc_is_pdb0_enabled()
56 int amdgpu_gmc_pdb0_alloc(struct amdgpu_device *adev) in amdgpu_gmc_pdb0_alloc()
114 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_gmc_get_pde_for_bo() local
136 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_gmc_pd_addr() local
162 int amdgpu_gmc_set_pte_pde(struct amdgpu_device *adev, void *cpu_pt_addr, in amdgpu_gmc_set_pte_pde()
189 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->bdev); in amdgpu_gmc_agp_addr() local
213 void amdgpu_gmc_vram_location(struct amdgpu_device *adev, struct amdgpu_gmc *mc, in amdgpu_gmc_vram_location()
255 void amdgpu_gmc_sysvm_location(struct amdgpu_device *adev, struct amdgpu_gmc *mc) in amdgpu_gmc_sysvm_location()
293 void amdgpu_gmc_gart_location(struct amdgpu_device *adev, struct amdgpu_gmc *mc, in amdgpu_gmc_gart_location()
345 void amdgpu_gmc_agp_location(struct amdgpu_device *adev, struct amdgpu_gmc *mc) in amdgpu_gmc_agp_location()
385 void amdgpu_gmc_set_agp_default(struct amdgpu_device *adev, in amdgpu_gmc_set_agp_default()
417 bool amdgpu_gmc_filter_faults(struct amdgpu_device *adev, in amdgpu_gmc_filter_faults()
487 void amdgpu_gmc_filter_faults_remove(struct amdgpu_device *adev, uint64_t addr, in amdgpu_gmc_filter_faults_remove()
527 int amdgpu_gmc_ras_sw_init(struct amdgpu_device *adev) in amdgpu_gmc_ras_sw_init()
567 int amdgpu_gmc_ras_late_init(struct amdgpu_device *adev) in amdgpu_gmc_ras_late_init()
572 void amdgpu_gmc_ras_fini(struct amdgpu_device *adev) in amdgpu_gmc_ras_fini()
586 int amdgpu_gmc_allocate_vm_inv_eng(struct amdgpu_device *adev) in amdgpu_gmc_allocate_vm_inv_eng()
654 void amdgpu_gmc_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, in amdgpu_gmc_flush_gpu_tlb()
717 int amdgpu_gmc_flush_gpu_tlb_pasid(struct amdgpu_device *adev, uint16_t pasid, in amdgpu_gmc_flush_gpu_tlb_pasid()
803 void amdgpu_gmc_fw_reg_write_reg_wait(struct amdgpu_device *adev, in amdgpu_gmc_fw_reg_write_reg_wait()
864 void amdgpu_gmc_tmz_set(struct amdgpu_device *adev) in amdgpu_gmc_tmz_set()
931 void amdgpu_gmc_noretry_set(struct amdgpu_device *adev) in amdgpu_gmc_noretry_set()
950 void amdgpu_gmc_set_vm_fault_masks(struct amdgpu_device *adev, int hub_type, in amdgpu_gmc_set_vm_fault_masks()
975 void amdgpu_gmc_get_vbios_allocations(struct amdgpu_device *adev) in amdgpu_gmc_get_vbios_allocations()
1055 void amdgpu_gmc_init_pdb0(struct amdgpu_device *adev) in amdgpu_gmc_init_pdb0()
1105 uint64_t amdgpu_gmc_vram_mc2pa(struct amdgpu_device *adev, uint64_t mc_addr) in amdgpu_gmc_vram_mc2pa()
1117 uint64_t amdgpu_gmc_vram_pa(struct amdgpu_device *adev, struct amdgpu_bo *bo) in amdgpu_gmc_vram_pa()
1122 int amdgpu_gmc_vram_checking(struct amdgpu_device *adev) in amdgpu_gmc_vram_checking()
1189 struct amdgpu_device *adev = drm_to_adev(ddev); in available_memory_partition_show() local
1207 struct amdgpu_device *adev = drm_to_adev(ddev); in current_memory_partition_store() local
1252 struct amdgpu_device *adev = drm_to_adev(ddev); in current_memory_partition_show() local
1270 int amdgpu_gmc_sysfs_init(struct amdgpu_device *adev) in amdgpu_gmc_sysfs_init()
1294 void amdgpu_gmc_sysfs_fini(struct amdgpu_device *adev) in amdgpu_gmc_sysfs_fini()
1303 int amdgpu_gmc_get_nps_memranges(struct amdgpu_device *adev, in amdgpu_gmc_get_nps_memranges()
1384 int amdgpu_gmc_request_memory_partition(struct amdgpu_device *adev, in amdgpu_gmc_request_memory_partition()
1400 static inline bool amdgpu_gmc_need_nps_switch_req(struct amdgpu_device *adev, in amdgpu_gmc_need_nps_switch_req()
1409 void amdgpu_gmc_prepare_nps_mode_change(struct amdgpu_device *adev) in amdgpu_gmc_prepare_nps_mode_change()
1447 bool amdgpu_gmc_need_reset_on_init(struct amdgpu_device *adev) in amdgpu_gmc_need_reset_on_init()
1456 amdgpu_gmc_get_vf_memory_partition(struct amdgpu_device *adev) in amdgpu_gmc_get_vf_memory_partition()
1475 amdgpu_gmc_get_memory_partition(struct amdgpu_device *adev, u32 *supp_modes) in amdgpu_gmc_get_memory_partition()
1490 amdgpu_gmc_query_memory_partition(struct amdgpu_device *adev) in amdgpu_gmc_query_memory_partition()
1498 static bool amdgpu_gmc_validate_partition_info(struct amdgpu_device *adev) in amdgpu_gmc_validate_partition_info()
1546 amdgpu_gmc_init_acpi_mem_ranges(struct amdgpu_device *adev, in amdgpu_gmc_init_acpi_mem_ranges()
1583 void amdgpu_gmc_init_sw_mem_ranges(struct amdgpu_device *adev, in amdgpu_gmc_init_sw_mem_ranges()
1656 int amdgpu_gmc_init_mem_ranges(struct amdgpu_device *adev) in amdgpu_gmc_init_mem_ranges()