Home
last modified time | relevance | path

Searched refs:dram_pci_bar_size (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/accel/habanalabs/common/
Ddevice.c57 if (is_power_of_2(prop->dram_pci_bar_size)) in hl_set_dram_bar()
58 bar_base_addr = addr & ~(prop->dram_pci_bar_size - 0x1ull); in hl_set_dram_bar()
61 div64_u64((addr - region->region_base), prop->dram_pci_bar_size) * in hl_set_dram_bar()
62 prop->dram_pci_bar_size; in hl_set_dram_bar()
Dmemory.c1949 if ((bar_address + size) > (hdev->dram_pci_bar_start + prop->dram_pci_bar_size) || in validate_export_params_no_mmu()
1982 (hdev->dram_pci_bar_start + prop->dram_pci_bar_size) || in validate_export_params()
Dhabanalabs.h726 u64 dram_pci_bar_size; member
/linux-6.12.1/drivers/accel/habanalabs/goya/
Dgoya.c641 prop->dram_pci_bar_size = pci_resource_len(pdev, DDR_BAR_ID); in goya_early_init()
956 region->bar_size = prop->dram_pci_bar_size; in goya_set_pci_memory_regions()
2747 ~(prop->dram_pci_bar_size - 0x1ull))) == U64_MAX) { in goya_hw_init()
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c835 prop->dram_pci_bar_size = pci_resource_len(pdev, HBM_BAR_ID); in gaudi_early_init()
1835 region->bar_size = prop->dram_pci_bar_size; in gaudi_set_pci_memory_regions()
/linux-6.12.1/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c3132 prop->dram_pci_bar_size = pci_resource_len(pdev, DRAM_BAR_ID); in gaudi2_early_init()
3511 region->bar_size = prop->dram_pci_bar_size; in gaudi2_set_pci_memory_regions()