Home
last modified time | relevance | path

Searched refs:region_base (Results 1 – 5 of 5) sorted by relevance

/drivers/misc/habanalabs/common/pci/
Dpci.c262 u64 bar_phys_base, region_base, region_end_address; in hl_pci_set_inbound_region() local
271 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()
/drivers/misc/habanalabs/common/
Dfirmware_if.c1598 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()
Dhabanalabs.h936 u64 region_base; member
/drivers/misc/habanalabs/goya/
Dgoya.c867 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()
/drivers/misc/habanalabs/gaudi/
Dgaudi.c1777 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()