Searched refs:hl_mmu_properties (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/accel/habanalabs/common/mmu/ |
H A D | mmu.c | 174 int hl_mmu_get_real_page_size(struct hl_device *hdev, struct hl_mmu_properties *mmu_prop, in hl_mmu_get_real_page_size() 192 static struct hl_mmu_properties *hl_mmu_get_prop(struct hl_device *hdev, u32 page_size, in hl_mmu_get_prop() 229 struct hl_mmu_properties *mmu_prop; in hl_mmu_unmap_page() 297 struct hl_mmu_properties *mmu_prop; in hl_mmu_map_page() 481 struct hl_mmu_properties *mmu_prop; in hl_mmu_pa_page_with_offset() 552 struct hl_mmu_properties *mmu_prop; in hl_mmu_get_tlb_info() 729 u64 hl_mmu_get_hop_pte_phys_addr(struct hl_ctx *ctx, struct hl_mmu_properties *mmu_prop, in hl_mmu_get_hop_pte_phys_addr() 1059 struct hl_mmu_properties *mmu_prop) in hl_mmu_hr_alloc_hop() 1127 struct hl_mmu_properties *mmu_prop, in hl_mmu_hr_get_alloc_next_hop() 1154 struct hl_mmu_properties *mmu_prop; in hl_mmu_hr_get_tlb_info()
|
H A D | mmu_v2_hr.c | 122 struct hl_mmu_properties *mmu_prop; in _hl_mmu_v2_hr_unmap() 190 static int hl_mmu_v2_get_last_hop(struct hl_mmu_properties *mmu_prop, u32 page_size) in hl_mmu_v2_get_last_hop() 215 struct hl_mmu_properties *mmu_prop; in _hl_mmu_v2_hr_map() 334 struct hl_mmu_properties **mmu_prop, in hl_mmu_v2_hr_get_tlb_mapping_params()
|
H A D | mmu_v1.c | 175 static inline u64 get_hop_pte_addr(struct hl_ctx *ctx, struct hl_mmu_properties *mmu_prop, in get_hop_pte_addr() 489 struct hl_mmu_properties *mmu_prop; in hl_mmu_v1_unmap() 593 struct hl_mmu_properties *mmu_prop; in hl_mmu_v1_map() 722 struct hl_mmu_properties *mmu_prop; in hl_mmu_v1_get_tlb_info()
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 508 struct hl_mmu_properties { struct 700 struct hl_mmu_properties dmmu; 701 struct hl_mmu_properties pmmu; 702 struct hl_mmu_properties pmmu_huge; 1701 int (*mmu_get_real_page_size)(struct hl_device *hdev, struct hl_mmu_properties *mmu_prop, 2805 int (*get_tlb_mapping_params)(struct hl_device *hdev, struct hl_mmu_properties **mmu_prop, 3763 int hl_mmu_get_real_page_size(struct hl_device *hdev, struct hl_mmu_properties *mmu_prop, 3775 u64 hl_mmu_get_hop_pte_phys_addr(struct hl_ctx *ctx, struct hl_mmu_properties *mmu_prop, 3797 struct hl_mmu_properties *mmu_prop); 3801 struct hl_mmu_properties *mmu_prop,
|
/openbmc/linux/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 11098 static int gaudi2_mmu_get_real_page_size(struct hl_device *hdev, struct hl_mmu_properties *mmu_prop, in gaudi2_mmu_get_real_page_size()
|