Searched refs:hmmu_id (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/misc/habanalabs/gaudi2/ |
D | gaudi2.c | 4849 bool gaudi2_is_hmmu_enabled(struct hl_device *hdev, int dcore_id, int hmmu_id) in gaudi2_is_hmmu_enabled() argument 4854 hw_cap = HW_CAP_DCORE0_DMMU0 << (NUM_OF_HMMU_PER_DCORE * dcore_id + hmmu_id); in gaudi2_is_hmmu_enabled() 4863 static inline u32 get_hmmu_stlb_base(int dcore_id, int hmmu_id) in get_hmmu_stlb_base() argument 4867 offset = (u32) (dcore_id * DCORE_OFFSET + hmmu_id * DCORE_HMMU_OFFSET); in get_hmmu_stlb_base() 4907 int dcore_id, int hmmu_id, in gaudi2_hmmu_invalidate_cache_trigger() argument 4910 u32 stlb_base = get_hmmu_stlb_base(dcore_id, hmmu_id); in gaudi2_hmmu_invalidate_cache_trigger() 4916 int dcore_id, int hmmu_id, in gaudi2_hmmu_invalidate_cache_status_poll() argument 4919 u32 stlb_base = get_hmmu_stlb_base(dcore_id, hmmu_id); in gaudi2_hmmu_invalidate_cache_status_poll() 4927 int dcore_id, hmmu_id; in gaudi2_hmmus_invalidate_cache() local 4931 for (hmmu_id = 0 ; hmmu_id < NUM_OF_HMMU_PER_DCORE ; hmmu_id++) { in gaudi2_hmmus_invalidate_cache() [all …]
|
D | gaudi2P.h | 549 bool gaudi2_is_hmmu_enabled(struct hl_device *hdev, int dcore_id, int hmmu_id);
|
D | gaudi2_security.c | 3157 u32 dcore_id, hmmu_id, hmmu_base; in gaudi2_init_mmu_range_registers() local 3172 for (hmmu_id = 0 ; hmmu_id < NUM_OF_HMMU_PER_DCORE; hmmu_id++) { in gaudi2_init_mmu_range_registers() 3173 if (!gaudi2_is_hmmu_enabled(hdev, dcore_id, hmmu_id)) in gaudi2_init_mmu_range_registers() 3177 hmmu_id * DCORE_HMMU_OFFSET; in gaudi2_init_mmu_range_registers()
|