Searched refs:region_base (Results 1 – 5 of 5) sorted by relevance
262 u64 bar_phys_base, region_base, region_end_address; in hl_pci_set_inbound_region() local271 region_base = bar_phys_base + pci_region->offset_in_bar; in hl_pci_set_inbound_region()272 region_end_address = region_base + pci_region->size - 1; in hl_pci_set_inbound_region()275 lower_32_bits(region_base)); in hl_pci_set_inbound_region()277 upper_32_bits(region_base)); in hl_pci_set_inbound_region()380 if ((addr >= region->region_base) && in hl_get_pci_memory_region()381 (addr < region->region_base + region->region_size)) in hl_get_pci_memory_region()
1598 if (end_addr >= region->region_base + region->region_size) { in hl_fw_dynamic_validate_memory_bound()1610 if (end_addr >= region->region_base - region->offset_in_bar + in hl_fw_dynamic_validate_memory_bound()1719 device_addr = region->region_base + response->ram_offset; in hl_fw_dynamic_validate_response()1877 (addr - region->region_base); in hl_fw_dynamic_copy_image()1909 (addr - region->region_base); in hl_fw_dynamic_copy_msg()
936 u64 region_base; member
867 region->region_base = CFG_BASE; in goya_set_pci_memory_regions()876 region->region_base = SRAM_BASE_ADDR; in goya_set_pci_memory_regions()885 region->region_base = DRAM_PHYS_BASE; in goya_set_pci_memory_regions()
1777 region->region_base = CFG_BASE; in gaudi_set_pci_memory_regions()1786 region->region_base = SRAM_BASE_ADDR; in gaudi_set_pci_memory_regions()1795 region->region_base = DRAM_PHYS_BASE; in gaudi_set_pci_memory_regions()1804 region->region_base = PSOC_SCRATCHPAD_ADDR; in gaudi_set_pci_memory_regions()