Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c5554 bool gaudi2_is_hmmu_enabled(struct hl_device *hdev, int dcore_id, int hmmu_id) in gaudi2_is_hmmu_enabled() argument
5559 hw_cap = HW_CAP_DCORE0_DMMU0 << (NUM_OF_HMMU_PER_DCORE * dcore_id + hmmu_id); in gaudi2_is_hmmu_enabled()
5568 static inline u32 get_hmmu_stlb_base(int dcore_id, int hmmu_id) in get_hmmu_stlb_base() argument
5572 offset = (u32) (dcore_id * DCORE_OFFSET + hmmu_id * DCORE_HMMU_OFFSET); in get_hmmu_stlb_base()
5612 int dcore_id, int hmmu_id, in gaudi2_hmmu_invalidate_cache_trigger() argument
5615 u32 stlb_base = get_hmmu_stlb_base(dcore_id, hmmu_id); in gaudi2_hmmu_invalidate_cache_trigger()
5621 int dcore_id, int hmmu_id, in gaudi2_hmmu_invalidate_cache_status_poll() argument
5624 u32 stlb_base = get_hmmu_stlb_base(dcore_id, hmmu_id); in gaudi2_hmmu_invalidate_cache_status_poll()
5632 int dcore_id, hmmu_id; in gaudi2_hmmus_invalidate_cache() local
5636 for (hmmu_id = 0 ; hmmu_id < NUM_OF_HMMU_PER_DCORE ; hmmu_id++) { in gaudi2_hmmus_invalidate_cache()
[all …]
Dgaudi2P.h606 bool gaudi2_is_hmmu_enabled(struct hl_device *hdev, int dcore_id, int hmmu_id);
Dgaudi2_security.c3170 u32 dcore_id, hmmu_id, hmmu_base; in gaudi2_init_mmu_range_registers() local
3185 for (hmmu_id = 0 ; hmmu_id < NUM_OF_HMMU_PER_DCORE; hmmu_id++) { in gaudi2_init_mmu_range_registers()
3186 if (!gaudi2_is_hmmu_enabled(hdev, dcore_id, hmmu_id)) in gaudi2_init_mmu_range_registers()
3190 hmmu_id * DCORE_HMMU_OFFSET; in gaudi2_init_mmu_range_registers()