Home
last modified time | relevance | path

Searched refs:dram_base_address (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dmemory.c1345 vaddr = prop->dram_base_address + in unmap_device_va()
1346 DIV_ROUND_DOWN_ULL(vaddr - prop->dram_base_address, in unmap_device_va()
1609 pages[cur_page] - prop->dram_base_address; in alloc_sgt_from_device_pages()
1644 (pages[cur_page] - prop->dram_base_address); in alloc_sgt_from_device_pages()
1917 bar_address = hdev->dram_pci_bar_start + (device_addr - prop->dram_base_address); in validate_export_params_no_mmu()
1957 (phys_pg_pack->pages[i] - prop->dram_base_address); in validate_export_params()
H A Dhabanalabs_ioctl.c60 prop->dram_base_address); in hw_ip_info()
64 hw_ip.dram_base_address = in hw_ip_info()
165 prop->dram_base_address); in dram_usage_info()
H A Ddebugfs.c674 dram_start_addr = prop->dram_base_address; in hl_is_device_internal_memory_va()
H A Dhabanalabs.h709 u64 dram_base_address; member
/openbmc/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c398 prop->dram_base_address = DRAM_PHYS_BASE; in goya_set_fixed_properties()
400 prop->dram_end_address = prop->dram_base_address + prop->dram_size; in goya_set_fixed_properties()
4910 prop->dram_base_address + off, in goya_mmu_add_mappings_for_device_cpu()
4911 prop->dram_base_address + off, PAGE_SIZE_2MB, in goya_mmu_add_mappings_for_device_cpu()
4915 prop->dram_base_address + off); in goya_mmu_add_mappings_for_device_cpu()
4970 prop->dram_base_address + off, PAGE_SIZE_2MB, in goya_mmu_add_mappings_for_device_cpu()
4974 prop->dram_base_address + off); in goya_mmu_add_mappings_for_device_cpu()
5013 prop->dram_base_address + off, PAGE_SIZE_2MB, in goya_mmu_remove_device_cpu_mappings()
5017 prop->dram_base_address + off); in goya_mmu_remove_device_cpu_mappings()
5121 prop->dram_end_address = prop->dram_base_address + dram_size; in goya_cpucp_info_get()
/openbmc/linux/include/uapi/drm/
H A Dhabanalabs_accel.h908 __u64 dram_base_address; member
/openbmc/linux/drivers/accel/habanalabs/common/mmu/
H A Dmmu.c509 dram_base = prop->dram_base_address; in hl_mmu_pa_page_with_offset()
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c2233 prop->dram_base_address = DRAM_PHYS_BASE; in gaudi2_set_dram_properties()
2234 prop->dram_end_address = prop->dram_base_address + prop->dram_size; in gaudi2_set_dram_properties()
2259 prop->dmmu.start_addr = prop->dram_base_address + in gaudi2_set_dram_properties()
2883 prop->dram_end_address = prop->dram_base_address + dram_size; in gaudi2_cpucp_info_get()
/openbmc/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c593 prop->dram_base_address = DRAM_PHYS_BASE; in gaudi_set_fixed_properties()
595 prop->dram_end_address = prop->dram_base_address + prop->dram_size; in gaudi_set_fixed_properties()