Lines Matching refs:hub

123 	struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)];  in gfxhub_v2_0_setup_vm_pt_regs()  local
126 hub->ctx_addr_distance * vmid, in gfxhub_v2_0_setup_vm_pt_regs()
130 hub->ctx_addr_distance * vmid, in gfxhub_v2_0_setup_vm_pt_regs()
285 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_0_setup_vmid_config() local
316 i * hub->ctx_distance, tmp); in gfxhub_v2_0_setup_vmid_config()
318 i * hub->ctx_addr_distance, 0); in gfxhub_v2_0_setup_vmid_config()
320 i * hub->ctx_addr_distance, 0); in gfxhub_v2_0_setup_vmid_config()
322 i * hub->ctx_addr_distance, in gfxhub_v2_0_setup_vmid_config()
325 i * hub->ctx_addr_distance, in gfxhub_v2_0_setup_vmid_config()
329 hub->vm_cntx_cntl = tmp; in gfxhub_v2_0_setup_vmid_config()
334 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_0_program_invalidation() local
339 i * hub->eng_addr_distance, 0xffffffff); in gfxhub_v2_0_program_invalidation()
341 i * hub->eng_addr_distance, 0x1f); in gfxhub_v2_0_program_invalidation()
363 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_0_gart_disable() local
370 i * hub->ctx_distance, 0); in gfxhub_v2_0_gart_disable()
437 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v2_0_init() local
439 hub->ctx0_ptb_addr_lo32 = in gfxhub_v2_0_init()
442 hub->ctx0_ptb_addr_hi32 = in gfxhub_v2_0_init()
445 hub->vm_inv_eng0_sem = in gfxhub_v2_0_init()
447 hub->vm_inv_eng0_req = in gfxhub_v2_0_init()
449 hub->vm_inv_eng0_ack = in gfxhub_v2_0_init()
451 hub->vm_context0_cntl = in gfxhub_v2_0_init()
453 hub->vm_l2_pro_fault_status = in gfxhub_v2_0_init()
455 hub->vm_l2_pro_fault_cntl = in gfxhub_v2_0_init()
458 hub->ctx_distance = mmGCVM_CONTEXT1_CNTL - mmGCVM_CONTEXT0_CNTL; in gfxhub_v2_0_init()
459 hub->ctx_addr_distance = mmGCVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v2_0_init()
461 hub->eng_distance = mmGCVM_INVALIDATE_ENG1_REQ - in gfxhub_v2_0_init()
463 hub->eng_addr_distance = mmGCVM_INVALIDATE_ENG1_ADDR_RANGE_LO32 - in gfxhub_v2_0_init()
466 hub->vm_cntx_cntl_vm_fault = GCVM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | in gfxhub_v2_0_init()
474 hub->vmhub_funcs = &gfxhub_v2_0_vmhub_funcs; in gfxhub_v2_0_init()