Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c11287 static int gaudi2_get_mmu_base(struct hl_device *hdev, u64 mmu_id, u32 *mmu_base) in gaudi2_get_mmu_base() argument
11289 switch (mmu_id) { in gaudi2_get_mmu_base()
11348 static void gaudi2_ack_mmu_error(struct hl_device *hdev, u64 mmu_id) in gaudi2_ack_mmu_error() argument
11350 bool is_pmmu = (mmu_id == HW_CAP_PMMU); in gaudi2_ack_mmu_error()
11354 if (!(gaudi2->hw_cap_initialized & mmu_id)) in gaudi2_ack_mmu_error()
11357 if (gaudi2_get_mmu_base(hdev, mmu_id, &mmu_base)) in gaudi2_ack_mmu_error()
11366 u32 i, mmu_id, num_of_hmmus = NUM_OF_HMMU_PER_DCORE * NUM_OF_DCORES; in gaudi2_ack_mmu_page_fault_or_access_error() local
11370 mmu_id = HW_CAP_DCORE0_DMMU0 << i; in gaudi2_ack_mmu_page_fault_or_access_error()
11372 if (mmu_cap_mask & mmu_id) in gaudi2_ack_mmu_page_fault_or_access_error()
11373 gaudi2_ack_mmu_error(hdev, mmu_id); in gaudi2_ack_mmu_page_fault_or_access_error()