Home
last modified time | relevance | path

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

/linux/drivers/misc/habanalabs/common/mmu/
A Dmmu.c182 if (is_dram_addr && ((page_size % prop->dram_page_size) == 0)) { in hl_mmu_unmap_page()
183 real_page_size = prop->dram_page_size; in hl_mmu_unmap_page()
265 } else if (is_dram_addr && ((page_size % prop->dram_page_size) == 0) && in hl_mmu_map_page()
266 (prop->dram_page_size < mmu_prop->page_size)) { in hl_mmu_map_page()
275 real_page_size = prop->dram_page_size; in hl_mmu_map_page()
503 !is_power_of_2(prop->dram_page_size)) { in hl_mmu_pa_page_with_offset()
504 u64 dram_page_size, dram_base, abs_phys_addr, abs_virt_addr, in hl_mmu_pa_page_with_offset() local
514 dram_page_size = prop->dram_page_size; in hl_mmu_pa_page_with_offset()
518 page_id = DIV_ROUND_DOWN_ULL(abs_phys_addr, dram_page_size); in hl_mmu_pa_page_with_offset()
519 page_start = page_id * dram_page_size; in hl_mmu_pa_page_with_offset()
[all …]
A Dmmu_v1.c271 do_div(num_of_hop3, prop->dram_page_size); in dram_default_mapping_init()
371 do_div(num_of_hop3, prop->dram_page_size); in dram_default_mapping_fini()
/linux/drivers/misc/habanalabs/common/
A Dmemory.c68 page_size = hdev->asic_prop.dram_page_size; in alloc_device_memory()
2458 u32 dram_page_size) in vm_ctx_init_with_ranges() argument
2511 dram_range_start, dram_range_end, dram_page_size); in vm_ctx_init_with_ranges()
2552 u32 host_page_size, host_huge_page_size, dram_page_size; in hl_vm_ctx_init() local
2568 dram_page_size = prop->dram_page_size ? in hl_vm_ctx_init()
2569 prop->dram_page_size : prop->dmmu.page_size; in hl_vm_ctx_init()
2580 dram_range_start, dram_range_end, dram_page_size); in hl_vm_ctx_init()
2687 if (is_power_of_2(prop->dram_page_size)) in hl_vm_init()
2689 gen_pool_create(__ffs(prop->dram_page_size), -1); in hl_vm_init()
A Dhabanalabs_ioctl.c71 prop->dram_page_size) * in hw_ip_info()
72 prop->dram_page_size; in hw_ip_info()
78 hw_ip.dram_page_size = prop->dram_page_size; in hw_ip_info()
A Dhabanalabs.h564 u32 dram_page_size; member
/linux/include/uapi/misc/
A Dhabanalabs.h414 __u64 dram_page_size; member
/linux/drivers/misc/habanalabs/goya/
A Dgoya.c415 prop->dram_page_size = PAGE_SIZE_2MB; in goya_set_fixed_properties()
/linux/drivers/misc/habanalabs/gaudi/
A Dgaudi.c598 prop->dram_page_size = PAGE_SIZE_2MB; in gaudi_set_fixed_properties()

Completed in 73 milliseconds