/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/arch/sandbox/cpu/ |
D | cpu.c | 93 void *phys_to_virt(phys_addr_t paddr) in phys_to_virt() argument 99 if (paddr < gd->ram_size) in phys_to_virt() 100 return (void *)(gd->arch.ram_buf + paddr); in phys_to_virt() 108 if (mentry->tag == paddr) { in phys_to_virt() 110 (ulong)paddr, mentry->ptr); in phys_to_virt() 116 __func__, (ulong)paddr, (ulong)gd->ram_size); in phys_to_virt() 161 void *map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags) in map_physmem() argument 168 if (enable_pci_map && !pci_map_physmem(paddr, &len, &map_dev, &ptr)) { in map_physmem() 171 __func__, (uint)paddr, len, plen); in map_physmem() 178 return phys_to_virt(paddr); in map_physmem()
|
/external/u-boot/test/dm/ |
D | test-fdt.c | 532 void *paddr; in dm_test_fdt_remap_addr_flat() local 539 paddr = map_physmem(addr, 0, MAP_NOCACHE); in dm_test_fdt_remap_addr_flat() 540 ut_assertnonnull(paddr); in dm_test_fdt_remap_addr_flat() 541 ut_asserteq_ptr(paddr, devfdt_remap_addr(dev)); in dm_test_fdt_remap_addr_flat() 553 void *paddr; in dm_test_fdt_remap_addr_index_flat() local 561 paddr = map_physmem(addr, 0, MAP_NOCACHE); in dm_test_fdt_remap_addr_index_flat() 562 ut_assertnonnull(paddr); in dm_test_fdt_remap_addr_index_flat() 563 ut_asserteq_ptr(paddr, devfdt_remap_addr_index(dev, 0)); in dm_test_fdt_remap_addr_index_flat() 575 void *paddr; in dm_test_fdt_remap_addr_name_flat() local 583 paddr = map_physmem(addr, 0, MAP_NOCACHE); in dm_test_fdt_remap_addr_name_flat() [all …]
|
/external/u-boot/arch/arc/lib/ |
D | cache.c | 320 static void __slc_rgn_op(unsigned long paddr, unsigned long sz, const int op) in __slc_rgn_op() argument 356 end = paddr + sz + gd->arch.slc_line_sz - 1; in __slc_rgn_op() 364 write_aux_reg(ARC_AUX_SLC_RGN_START, paddr); in __slc_rgn_op() 562 static inline void __dcache_line_loop(unsigned long paddr, unsigned long sz, in __dcache_line_loop() argument 571 sz += paddr & ~CACHE_LINE_MASK; in __dcache_line_loop() 572 paddr &= CACHE_LINE_MASK; in __dcache_line_loop() 578 write_aux_reg(ARC_AUX_DC_PTAG, paddr); in __dcache_line_loop() 580 write_aux_reg(aux_cmd, paddr); in __dcache_line_loop() 581 paddr += gd->arch.l1_line_sz; in __dcache_line_loop() 625 static inline void __dc_line_op(unsigned long paddr, unsigned long sz, in __dc_line_op() argument [all …]
|
/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 230 int gotpage = GetPageFromPhysical(paddr, &pe); in ErrorLogCallback() 236 uint64 addr_diff = paddr - pe.paddr; 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() 277 if ((page_addr <= paddr) && (page_addr + page_size_ > paddr)) { in GetPageFromPhysical()
|
/external/u-boot/include/asm-generic/ |
D | io.h | 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() 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() 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 145 _virt_pg_map(vm, vaddr, paddr, pgd_memslot, attr_idx); in virt_pg_map()
|
/external/u-boot/arch/arm/mach-rockchip/ |
D | make_fit_atf.py | 135 for index, entry, paddr, data in segments: 136 append_bl31_node(fit_file, index + 1, paddr, entry) 141 for index, entry, paddr, data in tee_segments: 142 append_tee_node(fit_file, num_segments + index + 1, paddr, entry) 165 for index, entry, paddr, data in unpack_elf(bl31_file_name): 166 file_name = 'bl31_0x%08x.bin' % paddr 172 for index, entry, paddr, data in unpack_elf(tee_file_name): 173 file_name = 'tee_0x%08x.bin' % 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/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/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/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/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress09.c | 376 uchar_t *paddr; in child_mapper() local 398 paddr = (uchar_t *) (mapaddr + (randpage * pagesize)); in child_mapper() 401 if (*((unsigned char *)(paddr + i)) in child_mapper() 406 *((unsigned char *)(paddr + i))); in child_mapper() 417 *(paddr + i) = (procno + pattern) & 0xff; in child_mapper() 423 paddr = (uchar_t *) mapaddr + (randpage * pagesize); in child_mapper() 424 if (msync((caddr_t) paddr, (mappages - randpage) * pagesize, in child_mapper()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 390 uint64_t nested_paddr, uint64_t paddr, uint32_t eptp_memslot) in nested_pg_map() argument 405 paddr, vm->max_gfn, vm->page_size); in nested_pg_map() 406 TEST_ASSERT((paddr % vm->page_size) == 0, in nested_pg_map() 409 paddr, vm->page_size); in nested_pg_map() 410 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in nested_pg_map() 413 paddr, vm->max_gfn, vm->page_size); in nested_pg_map() 458 pte[index[0]].address = paddr >> vm->page_shift; in nested_pg_map() 489 uint64_t nested_paddr, uint64_t paddr, uint64_t size, in nested_map() argument 496 TEST_ASSERT(paddr + size > paddr, "Paddr overflow"); in nested_map() 499 nested_pg_map(vmx, vm, nested_paddr, paddr, eptp_memslot); in nested_map() [all …]
|
/external/u-boot/drivers/remoteproc/ |
D | stm32_copro.c | 117 u64 paddr; in stm32_copro_device_to_virt() local 119 paddr = dev_translate_dma_address(dev, &in_addr); in stm32_copro_device_to_virt() 120 if (paddr == OF_BAD_ADDR) { in stm32_copro_device_to_virt() 131 return phys_to_virt(paddr); in stm32_copro_device_to_virt()
|
/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/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,
|
D | mapmem.h | 16 static inline void *map_sysmem(phys_addr_t paddr, unsigned long len) in map_sysmem() argument 18 return (void *)(uintptr_t)paddr; in map_sysmem()
|
/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/arch/riscv/include/asm/ |
D | io.h | 21 static inline void *map_sysmem(phys_addr_t paddr, unsigned long len) in map_sysmem() argument 23 if (paddr < PHYS_SDRAM_0_SIZE + PHYS_SDRAM_1_SIZE) in map_sysmem() 24 paddr = paddr | 0x40000000; in map_sysmem() 25 return (void *)(uintptr_t)paddr; in map_sysmem() 30 phys_addr_t paddr = (phys_addr_t)vaddr; in unmap_sysmem() local 32 paddr = paddr & ~0x40000000; in unmap_sysmem() 33 return (void *)(uintptr_t)paddr; in unmap_sysmem()
|