Lines Matching refs:hub

139 	struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0];  in mmhub_v3_0_setup_vm_pt_regs()  local
142 hub->ctx_addr_distance * vmid, in mmhub_v3_0_setup_vm_pt_regs()
146 hub->ctx_addr_distance * vmid, in mmhub_v3_0_setup_vm_pt_regs()
321 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v3_0_setup_vmid_config() local
353 i * hub->ctx_distance, tmp); in mmhub_v3_0_setup_vmid_config()
355 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_setup_vmid_config()
357 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_setup_vmid_config()
359 i * hub->ctx_addr_distance, in mmhub_v3_0_setup_vmid_config()
362 i * hub->ctx_addr_distance, in mmhub_v3_0_setup_vmid_config()
366 hub->vm_cntx_cntl = tmp; in mmhub_v3_0_setup_vmid_config()
371 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v3_0_program_invalidation() local
376 i * hub->eng_addr_distance, 0xffffffff); in mmhub_v3_0_program_invalidation()
378 i * hub->eng_addr_distance, 0x1f); in mmhub_v3_0_program_invalidation()
400 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v3_0_gart_disable() local
407 i * hub->ctx_distance, 0); in mmhub_v3_0_gart_disable()
479 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB_0]; in mmhub_v3_0_init() local
481 hub->ctx0_ptb_addr_lo32 = in mmhub_v3_0_init()
484 hub->ctx0_ptb_addr_hi32 = in mmhub_v3_0_init()
487 hub->vm_inv_eng0_sem = in mmhub_v3_0_init()
489 hub->vm_inv_eng0_req = in mmhub_v3_0_init()
491 hub->vm_inv_eng0_ack = in mmhub_v3_0_init()
493 hub->vm_context0_cntl = in mmhub_v3_0_init()
495 hub->vm_l2_pro_fault_status = in mmhub_v3_0_init()
497 hub->vm_l2_pro_fault_cntl = in mmhub_v3_0_init()
500 hub->ctx_distance = regMMVM_CONTEXT1_CNTL - regMMVM_CONTEXT0_CNTL; in mmhub_v3_0_init()
501 hub->ctx_addr_distance = regMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v3_0_init()
503 hub->eng_distance = regMMVM_INVALIDATE_ENG1_REQ - in mmhub_v3_0_init()
505 hub->eng_addr_distance = regMMVM_INVALIDATE_ENG1_ADDR_RANGE_LO32 - in mmhub_v3_0_init()
508 hub->vm_cntx_cntl_vm_fault = MMVM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | in mmhub_v3_0_init()
516 hub->vm_l2_bank_select_reserved_cid2 = in mmhub_v3_0_init()
519 hub->vmhub_funcs = &mmhub_v3_0_vmhub_funcs; in mmhub_v3_0_init()