Home
last modified time | relevance | path

Searched refs:HOST_PHYS_BASE (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/misc/habanalabs/include/goya/
Dgoya.h26 #define HOST_PHYS_BASE 0x8000000000ull /* 0.5TB */ macro
/Linux-v5.4/drivers/misc/habanalabs/goya/
Dgoya.c456 HOST_PHYS_BASE, HOST_PHYS_SIZE); in goya_init_iatu()
2768 *dma_handle += HOST_PHYS_BASE; in goya_dma_alloc_coherent()
2777 dma_addr_t fixed_dma_handle = dma_handle - HOST_PHYS_BASE; in goya_dma_free_coherent()
3034 *dma_handle += HOST_PHYS_BASE; in goya_dma_pool_zalloc()
3043 dma_addr_t fixed_dma_addr = dma_addr - HOST_PHYS_BASE; in goya_dma_pool_free()
3077 sg->dma_address += HOST_PHYS_BASE; in goya_dma_map_sg()
3090 sg->dma_address -= HOST_PHYS_BASE; in goya_dma_unmap_sg()
4049 } else if (addr >= HOST_PHYS_BASE && !iommu_present(&pci_bus_type)) { in goya_debugfs_read32()
4050 *val = *(u32 *) phys_to_virt(addr - HOST_PHYS_BASE); in goya_debugfs_read32()
4106 } else if (addr >= HOST_PHYS_BASE && !iommu_present(&pci_bus_type)) { in goya_debugfs_write32()
[all …]