| /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/qemu/target/openrisc/ |
| H A D | mmu.c | 31 static inline void get_phys_nommu(hwaddr *phys_addr, int *prot, in get_phys_nommu() argument 34 *phys_addr = address; in get_phys_nommu() 38 static int get_phys_mmu(OpenRISCCPU *cpu, hwaddr *phys_addr, int *prot, in get_phys_mmu() argument 78 *phys_addr = ((itr | dtr) & TARGET_PAGE_MASK) | (addr & ~TARGET_PAGE_MASK); in get_phys_mmu() 115 hwaddr phys_addr; in openrisc_cpu_tlb_fill() local 119 get_phys_nommu(&phys_addr, &prot, addr); in openrisc_cpu_tlb_fill() 126 excp = get_phys_mmu(cpu, &phys_addr, &prot, addr, need, super); in openrisc_cpu_tlb_fill() 131 phys_addr & TARGET_PAGE_MASK, prot, in openrisc_cpu_tlb_fill() 147 hwaddr phys_addr; in openrisc_cpu_get_phys_page_debug() local 152 excp = get_phys_mmu(cpu, &phys_addr, &prot, addr, in openrisc_cpu_get_phys_page_debug() [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/target/s390x/ |
| H A D | helper.c | 74 hwaddr phys_addr; in s390_cpu_get_phys_addr_debug() local 78 phys_addr = cpu_get_phys_page_debug(cs, page); in s390_cpu_get_phys_addr_debug() 79 phys_addr += (vaddr & ~TARGET_PAGE_MASK); in s390_cpu_get_phys_addr_debug() 81 return phys_addr; in s390_cpu_get_phys_addr_debug()
|
| /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/qemu/target/arm/ |
| H A D | ptw.c | 591 ptw->out_phys = s2.f.phys_addr; in S1_ptw_translate() 610 ptw->out_phys = full->phys_addr | (addr & ~TARGET_PAGE_MASK); in S1_ptw_translate() 992 hwaddr phys_addr; in get_phys_addr_v5() local 1031 phys_addr = (desc & 0xfff00000) | (address & 0x000fffff); in get_phys_addr_v5() 1055 phys_addr = (desc & 0xffff0000) | (address & 0xffff); in get_phys_addr_v5() 1060 phys_addr = (desc & 0xfffff000) | (address & 0xfff); in get_phys_addr_v5() 1069 phys_addr = (desc & 0xfffff000) | (address & 0xfff); in get_phys_addr_v5() 1080 phys_addr = (desc & 0xfffffc00) | (address & 0x3ff); in get_phys_addr_v5() 1097 result->f.phys_addr = phys_addr; in get_phys_addr_v5() 1120 hwaddr phys_addr; in get_phys_addr_v6() local [all …]
|
| /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/target/tricore/ |
| H A D | helper.c | 52 hwaddr phys_addr; in tricore_cpu_get_phys_page_debug() local 56 if (get_physical_address(&cpu->env, &phys_addr, &prot, addr, in tricore_cpu_get_phys_page_debug() 60 return phys_addr; in tricore_cpu_get_phys_page_debug()
|
| /openbmc/qemu/include/qemu/ |
| H A D | plugin-memory.h | 17 hwaddr phys_addr; member
|
| /openbmc/qemu/target/loongarch/ |
| H A D | cpu_helper.c | 212 hwaddr phys_addr; in loongarch_cpu_get_phys_page_debug() local 215 if (get_physical_address(env, &phys_addr, &prot, addr, MMU_DATA_LOAD, in loongarch_cpu_get_phys_page_debug() 219 return phys_addr; in loongarch_cpu_get_phys_page_debug()
|
| /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()
|