| /openbmc/qemu/system/ |
| H A D | memory_mapping.c | 31 if (p->phys_addr >= mapping->phys_addr) { in memory_mapping_list_add_mapping_sorted() 40 hwaddr phys_addr, in create_new_memory_mapping() argument 47 memory_mapping->phys_addr = phys_addr; in create_new_memory_mapping() 56 hwaddr phys_addr, in mapping_contiguous() argument 59 return phys_addr == map->phys_addr + map->length && in mapping_contiguous() 68 hwaddr phys_addr, in mapping_have_same_region() argument 71 return !(phys_addr + length < map->phys_addr || in mapping_have_same_region() 72 phys_addr >= map->phys_addr + map->length); in mapping_have_same_region() 81 hwaddr phys_addr, in mapping_conflict() argument 84 return virt_addr - map->virt_addr != phys_addr - map->phys_addr; in mapping_conflict() [all …]
|
| /openbmc/u-boot/drivers/pci/ |
| H A D | pci_common.c | 175 phys_addr_t phys_addr = 0; in pci_hose_bus_to_phys() local 180 return phys_addr; in pci_hose_bus_to_phys() 189 flags, PCI_REGION_SYS_MEMORY, &phys_addr); in pci_hose_bus_to_phys() 191 return phys_addr; in pci_hose_bus_to_phys() 194 ret = __pci_hose_bus_to_phys(hose, bus_addr, flags, 0, &phys_addr); in pci_hose_bus_to_phys() 199 return phys_addr; in pci_hose_bus_to_phys() 203 phys_addr_t phys_addr, in __pci_hose_phys_to_bus() argument 221 bus_addr = phys_addr - res->phys_start + res->bus_start; in __pci_hose_phys_to_bus() 241 phys_addr_t phys_addr, in pci_hose_phys_to_bus() argument 257 ret = __pci_hose_phys_to_bus(hose, phys_addr, in pci_hose_phys_to_bus() [all …]
|
| H A D | pci-uclass.c | 1247 phys_addr_t phys_addr = 0; in dm_pci_bus_to_phys() local 1261 &phys_addr); in dm_pci_bus_to_phys() 1263 return phys_addr; in dm_pci_bus_to_phys() 1266 ret = _dm_pci_bus_to_phys(ctlr, bus_addr, flags, 0, &phys_addr); in dm_pci_bus_to_phys() 1271 return phys_addr; in dm_pci_bus_to_phys() 1274 int _dm_pci_phys_to_bus(struct udevice *dev, phys_addr_t phys_addr, in _dm_pci_phys_to_bus() argument 1289 *ba = phys_addr; in _dm_pci_phys_to_bus() 1302 bus_addr = phys_addr - res->phys_start + res->bus_start; in _dm_pci_phys_to_bus() 1314 pci_addr_t dm_pci_phys_to_bus(struct udevice *dev, phys_addr_t phys_addr, in dm_pci_phys_to_bus() argument 1325 ret = _dm_pci_phys_to_bus(dev, phys_addr, flags, in dm_pci_phys_to_bus() [all …]
|
| /openbmc/u-boot/arch/x86/include/asm/ |
| H A D | sfi.h | 91 u64 phys_addr; /* phy base addr for APIC reg */ member 101 u64 phys_addr; /* pointer to where the wake vector locates */ member 105 u64 phys_addr; /* phy base addr for the timer */ member 111 u64 phys_addr; /* phy base addr for the RTC */ member
|
| /openbmc/qemu/target/sparc/ |
| H A D | mmu_helper.c | 90 full->phys_addr = env->prom_addr | (address & 0x7ffffULL); in get_physical_address() 94 full->phys_addr = address; in get_physical_address() 100 full->phys_addr = 0xffffffffffff0000ULL; in get_physical_address() 205 full->phys_addr = ((hwaddr)(pde & PTE_ADDR_MASK) << 4) + page_offset; in get_physical_address() 235 address, full.phys_addr, vaddr); in sparc_cpu_tlb_fill() 582 &full->phys_addr)) { in get_physical_address_data() 683 address, context, &full->phys_addr)) { in get_physical_address_code() 748 full->phys_addr = ultrasparc_truncate_physical(address); in get_physical_address() 773 trace_mmu_helper_mmu_fault(address, full.phys_addr, mmu_idx, env->tl, in sparc_cpu_tlb_fill() 883 *phys = full.phys_addr; in cpu_sparc_get_phys_page() [all …]
|
| /openbmc/u-boot/arch/mips/include/asm/mach-generic/ |
| H A D | ioremap.h | 11 static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, in fixup_bigphys_addr() argument 14 return phys_addr; in fixup_bigphys_addr()
|
| /openbmc/u-boot/arch/mips/mach-bmips/include/ |
| H A D | ioremap.h | 11 static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, in fixup_bigphys_addr() argument 14 return phys_addr; in fixup_bigphys_addr()
|
| /openbmc/u-boot/arch/mips/mach-mscc/include/ |
| H A D | ioremap.h | 16 static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, in fixup_bigphys_addr() argument 19 return phys_addr; in fixup_bigphys_addr()
|
| /openbmc/qemu/include/system/ |
| H A D | memory_mapping.h | 44 hwaddr phys_addr; member 62 hwaddr phys_addr,
|
| H A D | xen-mapcache.h | 19 uint8_t *xen_map_cache(MemoryRegion *mr, hwaddr phys_addr, hwaddr size,
|
| /openbmc/qemu/hw/xen/ |
| H A D | xen-mapcache.c | 328 hwaddr phys_addr, hwaddr size, in xen_map_cache_unlocked() argument 343 address_index = phys_addr >> mc->bucket_shift; in xen_map_cache_unlocked() 344 address_offset = phys_addr & (mc->bucket_size - 1); in xen_map_cache_unlocked() 346 trace_xen_map_cache(phys_addr); in xen_map_cache_unlocked() 350 test_bit_size = size + (phys_addr & (XC_PAGE_SIZE - 1)); in xen_map_cache_unlocked() 421 phys_addr = mc->phys_offset_to_gaddr(phys_addr, size); in xen_map_cache_unlocked() 457 hwaddr phys_addr, hwaddr size, in xen_map_cache() argument 483 p = xen_map_cache_unlocked(mc, phys_addr, size, ram_addr_offset, in xen_map_cache()
|
| H A D | xen_stubs.c | 43 hwaddr phys_addr, in xen_map_cache() argument
|
| /openbmc/qemu/target/mips/system/ |
| H A D | physaddr.c | 234 hwaddr phys_addr; in mips_cpu_get_phys_page_debug() local 237 if (get_physical_address(env, &phys_addr, &prot, addr, MMU_DATA_LOAD, in mips_cpu_get_phys_page_debug() 241 return phys_addr; in mips_cpu_get_phys_page_debug()
|
| /openbmc/u-boot/arch/arm/include/asm/arch-tegra20/ |
| H A D | display.h | 16 phys_addr_t phys_addr; /* Physical address in memory */ member
|
| /openbmc/qemu/include/qemu/ |
| H A D | plugin-memory.h | 17 hwaddr phys_addr; member
|
| /openbmc/qemu/include/hw/cxl/ |
| H A D | cxl_events.h | 115 uint64_t phys_addr; member 134 uint64_t phys_addr; member
|
| /openbmc/qemu/plugins/ |
| H A D | api-system.c | 78 return haddr->phys_addr; in qemu_plugin_hwaddr_phys_addr()
|
| /openbmc/qemu/include/hw/loongarch/ |
| H A D | boot.h | 79 uint64_t phys_addr; member
|
| /openbmc/u-boot/drivers/net/ |
| H A D | pcnet.c | 64 u8 phys_addr[6]; member 388 lp->uc->init_block.phys_addr[i] = dev->enetaddr[i]; in pcnet_init() 389 PCNET_DEBUG1(" %02x", lp->uc->init_block.phys_addr[i]); in pcnet_init()
|
| /openbmc/u-boot/drivers/mmc/ |
| H A D | bcm2835_sdhost.c | 161 u32 phys_addr; member 763 host->phys_addr = devfdt_get_addr(dev); in bcm2835_probe() 764 if (host->phys_addr == FDT_ADDR_T_NONE) in bcm2835_probe() 767 host->ioaddr = devm_ioremap(dev, host->phys_addr, SZ_256); in bcm2835_probe()
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-vmstate.c | 874 uint64_t phys_addr; in interval_cmp() 884 VMSTATE_UINT64(phys_addr, TestGTreeMapping), \ in int_cmp() 1055 map_a->phys_addr = 0xa000; in match_interval_mapping_node() 1059 map_b->phys_addr = 0xe0000; in match_interval_mapping_node() 1105 assert(map_a->phys_addr == map_b->phys_addr); in match_domain_node() 1257 map_c->phys_addr = 0xF000000; 832 uint64_t phys_addr; global() member
|
| /openbmc/qemu/dump/ |
| H A D | dump.c | 227 phdr.p_paddr = cpu_to_dump64(s, memory_mapping->phys_addr); in write_elf64_load() 251 phdr.p_paddr = cpu_to_dump32(s, memory_mapping->phys_addr); in write_elf32_load() 555 static void get_offset_range(hwaddr phys_addr, in get_offset_range() argument 570 if (phys_addr < s->filter_area_begin || in get_offset_range() 571 phys_addr >= s->filter_area_begin + s->filter_area_length) { in get_offset_range() 601 if (phys_addr >= start && phys_addr < start + size_in_block) { in get_offset_range() 602 *p_offset = phys_addr - start + offset; in get_offset_range() 609 *p_filesz = phys_addr + mapping_length <= start + size_in_block ? in get_offset_range() 611 size_in_block - (phys_addr - start); in get_offset_range() 627 get_offset_range(memory_mapping->phys_addr, in write_elf_phdr_loads()
|
| /openbmc/qemu/hw/net/ |
| H A D | allwinner-sun8i-emac.c | 351 uint32_t phys_addr) in allwinner_sun8i_emac_get_desc() argument 354 dma_memory_read(&s->dma_as, phys_addr, &desc_words, sizeof(desc_words), in allwinner_sun8i_emac_get_desc() 409 uint32_t phys_addr) in allwinner_sun8i_emac_flush_desc() argument 416 dma_memory_write(&s->dma_as, phys_addr, &desc_words, sizeof(desc_words), in allwinner_sun8i_emac_flush_desc()
|
| /openbmc/u-boot/arch/mips/include/asm/ |
| H A D | io.h | 145 phys_addr_t phys_addr; in __ioremap_mode() local 151 phys_addr = fixup_bigphys_addr(offset, size); in __ioremap_mode() 152 return (void __iomem *)(unsigned long)CKSEG1ADDR(phys_addr); in __ioremap_mode()
|
| /openbmc/u-boot/arch/x86/lib/ |
| H A D | sfi.c | 110 entry->phys_addr = IO_APIC_ADDR; in sfi_write_apic()
|