Searched refs:dram_pci_bar_size (Results 1 – 6 of 6) sorted by relevance
57 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()
1949 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()
726 u64 dram_pci_bar_size; member
641 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()
835 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()
3132 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()