/external/u-boot/lib/ |
D | addr_map.c | 10 phys_addr_t paddr; member 30 return addr - address_map[i].vaddr + address_map[i].paddr; in addrmap_virt_to_phys() 37 void *addrmap_phys_to_virt(phys_addr_t paddr) in addrmap_phys_to_virt() argument 47 base = address_map[i].paddr; in addrmap_phys_to_virt() 50 if (paddr >= base && paddr <= upper) { in addrmap_phys_to_virt() 53 offset = address_map[i].paddr - address_map[i].vaddr; in addrmap_phys_to_virt() 55 return (void *)(unsigned long)(paddr - offset); in addrmap_phys_to_virt() 62 void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr, in addrmap_set_entry() argument 69 address_map[idx].paddr = paddr; in addrmap_set_entry()
|
/external/u-boot/include/asm-generic/ |
D | io.h | 21 * @paddr: the physical address 24 * address @paddr. This should only be used where it is known that no dynamic 27 * Returns: a virtual address which maps to @paddr 30 static inline void *phys_to_virt(phys_addr_t paddr) in phys_to_virt() argument 32 return (void *)(unsigned long)paddr; in phys_to_virt() 73 * @paddr: the physical address 78 * physical address @paddr. The mapping will be valid for at least @len bytes, 83 * Returns: a virtual address suitably mapped to @paddr 86 static inline void *map_physmem(phys_addr_t paddr, unsigned long len, in map_physmem() argument 89 return phys_to_virt(paddr); in map_physmem()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Object/ |
D | objdump-private-headers.test | 9 ELF-i386: LOAD off 0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12 11 ELF-i386: STACK off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2 15 ELF-x86-64: LOAD off 0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 al… 17 ELF-x86-64: EH_FRAME off 0x00000000000000f4 vaddr 0x00000000004000f4 paddr 0x00000000004000f4 al… 19 ELF-x86-64: STACK off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 al…
|
/external/llvm/test/Object/ |
D | objdump-private-headers.test | 9 ELF-i386: LOAD off 0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12 11 ELF-i386: STACK off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**2 15 ELF-x86-64: LOAD off 0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 al… 17 ELF-x86-64: EH_FRAME off 0x00000000000000f4 vaddr 0x00000000004000f4 paddr 0x00000000004000f4 al… 19 ELF-x86-64: STACK off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 al…
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 80 vm_paddr_t paddr = vm_phy_pages_alloc(vm, in virt_pgd_alloc() local 83 vm->pgd = paddr; in virt_pgd_alloc() 88 void _virt_pg_map(struct kvm_vm *vm, uint64_t vaddr, uint64_t paddr, in _virt_pg_map() argument 100 TEST_ASSERT((paddr % vm->page_size) == 0, in _virt_pg_map() 102 " paddr: 0x%lx vm->page_size: 0x%x", paddr, vm->page_size); in _virt_pg_map() 103 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in _virt_pg_map() 105 " paddr: 0x%lx vm->max_gfn: 0x%lx vm->page_size: 0x%x", in _virt_pg_map() 106 paddr, vm->max_gfn, vm->page_size); in _virt_pg_map() 136 *ptep = paddr | 3; in _virt_pg_map() 140 void virt_pg_map(struct kvm_vm *vm, uint64_t vaddr, uint64_t paddr, in virt_pg_map() argument [all …]
|
/external/u-boot/arch/sandbox/cpu/ |
D | cpu.c | 60 void *phys_to_virt(phys_addr_t paddr) in phys_to_virt() argument 62 return (void *)(gd->arch.ram_buf + paddr); in phys_to_virt() 70 void *map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags) in map_physmem() argument 77 if (enable_pci_map && !pci_map_physmem(paddr, &len, &map_dev, &ptr)) { in map_physmem() 80 __func__, (uint)paddr, len, plen); in map_physmem() 87 return phys_to_virt(paddr); in map_physmem()
|
/external/stressapptest/src/ |
D | finelock_queue.cc | 203 bool err_log_callback(uint64 paddr, string *buf) { in err_log_callback() argument 205 return g_fpqueue->ErrorLogCallback(paddr, buf); in err_log_callback() 223 bool FineLockPEQueue::ErrorLogCallback(uint64 paddr, string *message) { in ErrorLogCallback() argument 229 // Find the page of this paddr. in ErrorLogCallback() 230 int gotpage = GetPageFromPhysical(paddr, &pe); in ErrorLogCallback() 236 uint64 addr_diff = paddr - pe.paddr; in ErrorLogCallback() 238 // Find vaddr of this paddr. Make sure it matches, in ErrorLogCallback() 247 if (new_paddr != paddr) { in ErrorLogCallback() 270 bool FineLockPEQueue::GetPageFromPhysical(uint64 paddr, in GetPageFromPhysical() argument 275 uint64 page_addr = pages_[i].paddr; in GetPageFromPhysical() [all …]
|
/external/webrtc/webrtc/base/ |
D | firewallsocketserver.cc | 59 int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override { in RecvFrom() argument 62 int res = AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom() 65 if (server_->Check(FP_UDP, *paddr, GetLocalAddress())) in RecvFrom() 68 << paddr->ToSensitiveString() << " to " in RecvFrom() 72 return AsyncSocketAdapter::RecvFrom(pv, cb, paddr); in RecvFrom() 83 AsyncSocket* Accept(SocketAddress* paddr) override { in Accept() argument 87 if (paddr) in Accept() 88 *paddr = addr; in Accept()
|
D | asyncsocket.cc | 71 int AsyncSocketAdapter::RecvFrom(void* pv, size_t cb, SocketAddress* paddr) { in RecvFrom() argument 72 return socket_->RecvFrom(pv, cb, paddr); in RecvFrom() 79 AsyncSocket* AsyncSocketAdapter::Accept(SocketAddress* paddr) { in Accept() argument 80 return socket_->Accept(paddr); in Accept()
|
D | asyncsocket.h | 28 AsyncSocket* Accept(SocketAddress* paddr) override = 0; 60 int RecvFrom(void* pv, size_t cb, SocketAddress* paddr) override; 62 AsyncSocket* Accept(SocketAddress* paddr) override;
|
/external/u-boot/arch/arm/mach-rockchip/ |
D | make_fit_atf.py | 147 paddr = seg.__getitem__(ELF_SEG_P_PADDR) 149 append_atf_node(fit_file, i+1, paddr) 167 paddr = seg.__getitem__(ELF_SEG_P_PADDR) 168 file_name = 'bl31_0x%08x.bin' % paddr 190 paddr = seg[ELF_SEG_P_PADDR] 191 print 'paddr: %08x' % paddr
|
/external/linux-kselftest/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 320 unsigned long paddr = in test0_prpw_aligned_1byte() local 329 offset = paddr / ADI_BLKSZ; in test0_prpw_aligned_1byte() 354 unsigned long paddr = in test1_prpw_aligned_4096bytes() local 366 offset = paddr / ADI_BLKSZ; in test1_prpw_aligned_4096bytes() 394 unsigned long paddr = in test2_prpw_aligned_10327bytes() local 406 offset = paddr / ADI_BLKSZ; in test2_prpw_aligned_10327bytes() 434 unsigned long paddr = in test3_prpw_unaligned_12541bytes() local 446 offset = paddr / ADI_BLKSZ; in test3_prpw_unaligned_12541bytes() 522 unsigned long paddr = in test5_rw_aligned_1byte() local 529 offset = paddr / ADI_BLKSZ; in test5_rw_aligned_1byte() [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/iommu/map_end/ |
D | format | 10 field:u64 paddr; offset:16; size:8; signed:0; 13 print fmt: "IOMMU: iova=0x%016llx paddr=0x%016llx size=0x%zx", REC->iova, REC->paddr, REC->size
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/iommu/map_start/ |
D | format | 10 field:u64 paddr; offset:16; size:8; signed:0; 13 print fmt: "IOMMU: iova=0x%016llx paddr=0x%016llx size=0x%zx", REC->iova, REC->paddr, REC->size
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/iommu/map/ |
D | format | 10 field:u64 paddr; offset:16; size:8; signed:0; 13 print fmt: "IOMMU: iova=0x%016llx paddr=0x%016llx size=%zu", REC->iova, REC->paddr, REC->size
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objcopy/ |
D | marker-segment.test | 35 PAddr: 0x1000 42 PAddr: 0x2000 49 PAddr: 0x0000 54 PAddr: 0x2010
|
/external/u-boot/arch/riscv/include/asm/ |
D | io.h | 30 static inline void *map_sysmem(phys_addr_t paddr, unsigned long len) in map_sysmem() argument 32 if (paddr < PHYS_SDRAM_0_SIZE + PHYS_SDRAM_1_SIZE) in map_sysmem() 33 paddr = paddr | 0x40000000; in map_sysmem() 34 return (void *)(uintptr_t)paddr; in map_sysmem() 39 phys_addr_t paddr = (phys_addr_t)vaddr; in unmap_sysmem() local 41 paddr = paddr & ~0x40000000; in unmap_sysmem() 42 return (void *)(uintptr_t)paddr; in unmap_sysmem() 52 map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags) in map_physmem() argument 54 return (void *)paddr; in map_physmem()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/X86/ |
D | openbsd-headers.test | 15 CHECK: OPENBSD_RANDOMIZE off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x000000000000000… 17 CHECK-NEXT: OPENBSD_WXNEEDED off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x00000000000… 19 CHECK-NEXT: OPENBSD_BOOTDATA off 0x0000000000000000 vaddr 0x0000000000000000 paddr 0x00000000000…
|
/external/u-boot/arch/arc/lib/ |
D | cache.c | 319 static void __slc_rgn_op(unsigned long paddr, unsigned long sz, const int op) in __slc_rgn_op() argument 355 end = paddr + sz + gd->arch.slc_line_sz - 1; in __slc_rgn_op() 363 write_aux_reg(ARC_AUX_SLC_RGN_START, paddr); in __slc_rgn_op() 561 static inline void __dcache_line_loop(unsigned long paddr, unsigned long sz, in __dcache_line_loop() argument 570 sz += paddr & ~CACHE_LINE_MASK; in __dcache_line_loop() 571 paddr &= CACHE_LINE_MASK; in __dcache_line_loop() 577 write_aux_reg(ARC_AUX_DC_PTAG, paddr); in __dcache_line_loop() 579 write_aux_reg(aux_cmd, paddr); in __dcache_line_loop() 580 paddr += gd->arch.l1_line_sz; in __dcache_line_loop() 624 static inline void __dc_line_op(unsigned long paddr, unsigned long sz, in __dc_line_op() argument [all …]
|
/external/u-boot/arch/nds32/include/asm/ |
D | io.h | 41 static inline void *map_sysmem(phys_addr_t paddr, unsigned long len) in map_sysmem() argument 43 if(paddr <PHYS_SDRAM_0_SIZE + PHYS_SDRAM_1_SIZE) in map_sysmem() 44 paddr = paddr | 0x40000000; in map_sysmem() 45 return (void *)(uintptr_t)paddr; in map_sysmem() 50 phys_addr_t paddr = (phys_addr_t)vaddr; in unmap_sysmem() local 51 paddr = paddr & ~0x40000000; in unmap_sysmem() 52 return (void *)(uintptr_t)paddr; in unmap_sysmem()
|
/external/u-boot/test/dm/ |
D | test-fdt.c | 470 void *paddr; in dm_test_fdt_remap_addr_flat() local 477 paddr = map_physmem(addr, 0, MAP_NOCACHE); in dm_test_fdt_remap_addr_flat() 478 ut_assertnonnull(paddr); in dm_test_fdt_remap_addr_flat() 479 ut_asserteq_ptr(paddr, devfdt_remap_addr(dev)); in dm_test_fdt_remap_addr_flat() 491 void *paddr; in dm_test_fdt_remap_addr_live() local 498 paddr = map_physmem(addr, 0, MAP_NOCACHE); in dm_test_fdt_remap_addr_live() 499 ut_assertnonnull(paddr); in dm_test_fdt_remap_addr_live() 500 ut_asserteq_ptr(paddr, dev_remap_addr(dev)); in dm_test_fdt_remap_addr_live()
|
/external/u-boot/arch/nios2/include/asm/ |
D | io.h | 23 map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags) in map_physmem() argument 27 return (void *)(paddr | gd->arch.io_region_base); in map_physmem() 29 return (void *)(paddr | gd->arch.mem_region_base); in map_physmem() 33 static inline void *phys_to_virt(phys_addr_t paddr) in phys_to_virt() argument 37 return (void *)(paddr | gd->arch.mem_region_base); in phys_to_virt()
|
/external/u-boot/arch/sandbox/include/asm/ |
D | u-boot-sandbox.h | 38 * @paddr: Physical memory address, normally corresponding to a PCI BAR 47 int pci_map_physmem(phys_addr_t paddr, unsigned long *lenp, 55 * @paddr: Physical memory address, as passed to pci_map_physmem()
|
/external/u-boot/include/ |
D | addr_map.h | 12 extern void *addrmap_phys_to_virt(phys_addr_t paddr); 13 extern void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr,
|
/external/u-boot/arch/sandbox/lib/ |
D | pci_io.c | 16 int pci_map_physmem(phys_addr_t paddr, unsigned long *lenp, in pci_map_physmem() argument 30 ret = (ops->map_physmem)(dev, paddr, lenp, ptrp); in pci_map_physmem() 37 debug("%s: failed: addr=%x\n", __func__, paddr); in pci_map_physmem()
|