Searched refs:dmmu (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/misc/habanalabs/common/ |
D | mmu.c | 16 return hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in is_dram_va() 17 prop->dmmu.start_addr, in is_dram_va() 18 prop->dmmu.end_addr); in is_dram_va() 129 mmu_prop = &prop->dmmu; in hl_mmu_unmap() 205 mmu_prop = &prop->dmmu; in hl_mmu_map()
|
D | debugfs.c | 404 is_dram_addr = hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in mmu_show() 405 prop->dmmu.start_addr, in mmu_show() 406 prop->dmmu.end_addr); in mmu_show() 409 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in mmu_show() 601 (addr >= prop->dmmu.start_addr && addr < prop->dmmu.end_addr)) in hl_is_device_va() 631 is_dram_addr = hl_mem_area_inside_range(virt_addr, prop->dmmu.page_size, in device_va_to_pa() 632 prop->dmmu.start_addr, in device_va_to_pa() 633 prop->dmmu.end_addr); in device_va_to_pa() 636 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in device_va_to_pa()
|
D | mmu_v1.c | 539 mmu_prop = is_dram_addr ? &prop->dmmu : &prop->pmmu; in _hl_mmu_v1_unmap() 682 mmu_prop = &prop->dmmu; in _hl_mmu_v1_map()
|
D | memory.c | 932 va_block_align = hdev->asic_prop.dmmu.page_size; in map_device_va() 1690 dram_range_start = prop->dmmu.start_addr; in hl_vm_ctx_init() 1691 dram_range_end = prop->dmmu.end_addr; in hl_vm_ctx_init()
|
D | habanalabs.h | 331 struct hl_mmu_properties dmmu; member
|
/Linux-v5.10/drivers/misc/habanalabs/goya/ |
D | goya.c | 416 prop->dmmu.hop0_shift = HOP0_SHIFT; in goya_get_fixed_properties() 417 prop->dmmu.hop1_shift = HOP1_SHIFT; in goya_get_fixed_properties() 418 prop->dmmu.hop2_shift = HOP2_SHIFT; in goya_get_fixed_properties() 419 prop->dmmu.hop3_shift = HOP3_SHIFT; in goya_get_fixed_properties() 420 prop->dmmu.hop4_shift = HOP4_SHIFT; in goya_get_fixed_properties() 421 prop->dmmu.hop0_mask = HOP0_MASK; in goya_get_fixed_properties() 422 prop->dmmu.hop1_mask = HOP1_MASK; in goya_get_fixed_properties() 423 prop->dmmu.hop2_mask = HOP2_MASK; in goya_get_fixed_properties() 424 prop->dmmu.hop3_mask = HOP3_MASK; in goya_get_fixed_properties() 425 prop->dmmu.hop4_mask = HOP4_MASK; in goya_get_fixed_properties() [all …]
|
D | goya_coresight.c | 377 range_start = prop->dmmu.start_addr; in goya_etr_validate_address() 378 range_end = prop->dmmu.end_addr; in goya_etr_validate_address()
|
/Linux-v5.10/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 451 memcpy(&prop->dmmu, &prop->pmmu, sizeof(prop->pmmu)); in gaudi_get_fixed_properties() 452 prop->dmmu.start_addr = (VA_HOST_SPACE_START + VA_HOST_SPACE_SIZE / 2); in gaudi_get_fixed_properties() 453 prop->dmmu.end_addr = VA_HOST_SPACE_END; in gaudi_get_fixed_properties() 454 prop->dmmu.page_size = PAGE_SIZE_2MB; in gaudi_get_fixed_properties()
|