Home
last modified time | relevance | path

Searched refs:paddr (Results 1 – 25 of 91) sorted by relevance

1234

/external/u-boot/lib/
Daddr_map.c10 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/arc/lib/
Dcache.c319 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/stressapptest/src/
Dfinelock_queue.cc203 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/arch/sandbox/cpu/
Dcpu.c60 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/u-boot/include/asm-generic/
Dio.h30 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/llvm/test/Object/
Dobjdump-private-headers.test9 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/swiftshader/third_party/llvm-7.0/llvm/test/Object/
Dobjdump-private-headers.test9 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/
Dprocessor.c80 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/linux-kselftest/tools/testing/selftests/sparc64/drivers/
Dadi-test.c320 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/
Dfirewallsocketserver.cc59 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()
Dasyncsocket.cc71 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()
Dasyncsocket.h28 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/
Dmake_fit_atf.py147 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/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress09.c376 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()
Dmmapstress01.c471 char *maddr = NULL, *paddr; local
549 paddr = maddr + (randpage * pagesize); /* page address */
557 if (*((unsigned char *)(paddr + i))
561 *((unsigned char *)(paddr + i)));
571 *(paddr + i) = (procno + pattern) & 0xff;
579 paddr = maddr + (randpage * pagesize); /* page address */
580 if (msync(paddr, (mappages - randpage) * pagesize,
/external/u-boot/arch/riscv/include/asm/
Dio.h30 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/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/iommu/map_start/
Dformat10 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_end/
Dformat10 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/
Dformat10 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/u-boot/test/dm/
Dtest-fdt.c470 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/wpa_supplicant_8/src/ap/
Diapp.c381 struct sockaddr_in *paddr, uaddr; in iapp_init() local
420 paddr = (struct sockaddr_in *) &ifr.ifr_addr; in iapp_init()
421 if (paddr->sin_family != AF_INET) { in iapp_init()
423 paddr->sin_family); in iapp_init()
427 iapp->own.s_addr = paddr->sin_addr.s_addr; in iapp_init()
435 paddr = (struct sockaddr_in *) &ifr.ifr_addr; in iapp_init()
436 if (paddr->sin_family != AF_INET) { in iapp_init()
438 paddr->sin_family); in iapp_init()
/external/u-boot/arch/nds32/include/asm/
Dio.h41 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/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/X86/
Dopenbsd-headers.test15 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/nios2/include/asm/
Dio.h23 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/include/
Daddr_map.h12 extern void *addrmap_phys_to_virt(phys_addr_t paddr);
13 extern void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr,

1234