Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dadp.c209 VOID *ioremap(PADDR_T paddr, unsigned long size) in ioremap() argument
211 if (IS_PERIPH_ADDR(paddr) && IS_PERIPH_ADDR(paddr + size)) { in ioremap()
212 return (VOID *)(UINTPTR)IO_DEVICE_ADDR(paddr); in ioremap()
215 VM_ERR("ioremap failed invalid addr or size %p %d", paddr, size); in ioremap()
216 return (VOID *)(UINTPTR)paddr; in ioremap()
221 VOID *ioremap_nocache(PADDR_T paddr, unsigned long size) in ioremap_nocache() argument
223 if (IS_PERIPH_ADDR(paddr) && IS_PERIPH_ADDR(paddr + size)) { in ioremap_nocache()
224 return (VOID *)(UINTPTR)IO_UNCACHED_ADDR(paddr); in ioremap_nocache()
227 if (IS_MEMORY_ADDR(paddr) && IS_MEMORY_ADDR(paddr + size)) { in ioremap_nocache()
228 return (VOID *)(UINTPTR)MEM_UNCACHED_ADDR(paddr); in ioremap_nocache()
[all …]
/third_party/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,
Dmmapstress10.c534 caddr_t paddr; local
628 paddr = maddr_mapper + (randpage * pagesize); /* page address */
641 if (*((unsigned char *)(paddr + i))
643 && *((unsigned char *)(paddr + i)) != 0) {
646 *((unsigned char *)(paddr + i)));
657 *(paddr + i) = (procno + pattern) & 0xff;
665 paddr = maddr_mapper + (randpage * pagesize); /* page address */
666 if (msync(paddr, (mappages - randpage) * pagesize,
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_render_cl.c97 return bo->paddr + surf->offset + VC4_TILE_BUFFER_SIZE * in vc4_full_res_offset()
138 rcl_u32(setup, setup->color_read->paddr + in emit_tile()
160 rcl_u32(setup, setup->zs_read->paddr + in emit_tile()
178 rcl_u32(setup, (exec->tile_bo->paddr + in emit_tile()
229 (setup->zs_write->paddr + args->zs_write.offset) | in emit_tile()
333 (setup->color_write ? (setup->color_write->paddr + in vc4_create_rcl_bo()
371 exec->ct1ca = setup->rcl->paddr; in vc4_create_rcl_bo()
372 exec->ct1ea = setup->rcl->paddr + setup->next_offset; in vc4_create_rcl_bo()
Dvc4_gem.c113 exec->ct0ca = exec->exec_bo->paddr + bin_offset; in vc4_get_bcl()
118 exec->shader_rec_p = exec->exec_bo->paddr + shader_rec_offset; in vc4_get_bcl()
122 exec->uniforms_p = exec->exec_bo->paddr + uniforms_offset; in vc4_get_bcl()
Dvc4_validate.c276 *(uint32_t *)(validated + 5) = ib->paddr + offset; in validate_indexed_prim_list()
407 *(uint32_t *)(validated + 0) = (exec->tile_bo->paddr + in validate_tile_binning_config()
412 *(uint32_t *)(validated + 8) = exec->tile_bo->paddr; in validate_tile_binning_config()
592 *validated_p0 = tex->paddr + p0; in reloc_tex()
720 *validated_p0 = tex->paddr + p0; in reloc_tex()
819 *(uint32_t *)(pkt_v + o) = bo[i]->paddr + src_offset; in validate_gl_shader_rec()
903 *(uint32_t *)(pkt_v + o) = vbo->paddr + offset; in validate_gl_shader_rec()
/third_party/elfutils/tests/
Daddrscopes.c33 paddr (const char *prefix, Dwarf_Addr addr, Dwfl_Line *line) in paddr() function
129 paddr (": ", lowpc, loline); in handle_address()
131 paddr (" .. ", highpc - 1, hiline == loline ? NULL : hiline); in handle_address()
Dfuncscopes.c34 paddr (const char *prefix, Dwarf_Addr addr, Dwfl_Line *line) in paddr() function
157 paddr (": ", lowpc, loline); in handle_function()
159 paddr (" .. ", highpc - 1, hiline == loline ? NULL : hiline); in handle_function()
/third_party/lwip/src/include/lwip/
Dip6_addr.h184 #define ip6_addr_cmp_packed(ip6addr, paddr, zone_idx) (((ip6addr)->addr[0] == (paddr)->addr[0]) && \ argument
185 ((ip6addr)->addr[1] == (paddr)->addr[1]) && \
186 ((ip6addr)->addr[2] == (paddr)->addr[2]) && \
187 ((ip6addr)->addr[3] == (paddr)->addr[3]) && \
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator.c158 obj->paddr = simpenrose_hw_addr(obj->vaddr); in vc4_create_simulator_bo()
326 bo_state[i].paddr = cma_bo->paddr; in vc4_dump_to_file()
334 bo_state[i].paddr = cma_bo->paddr; in vc4_dump_to_file()
341 bo_state[i].paddr = sim_state.overflow->ofs; in vc4_dump_to_file()
Dvc4_simulator_validate.h91 uint32_t paddr; member
/third_party/elfio/tests/elf_examples/
Dwrite_exe_i386_32_work_dump.txt9 LOAD off 0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12
11 LOAD off 0x000000a0 vaddr 0x080490a0 paddr 0x080490a0 align 2**12
/third_party/ltp/testcases/kernel/mce-test/stress/
Dhwpoison.sh573 local paddr
577 paddr=`printf "0x%x" $j`
578 echo $paddr > $g_sysfs_mem/soft_offline_page
579 dbp "echo $paddr > $g_sysfs_mem/soft_offline_page"
/third_party/libdrm/include/drm/
Dvc4_drm.h284 __u32 paddr; member
/third_party/mesa3d/include/drm-uapi/
Dvc4_drm.h284 __u32 paddr; member
/third_party/NuttX/drivers/usbdev/gadget/
Dcomposite.c128 DMA_ADDR_T paddr; in composite_allocreq() local
133 req->buf = (uint8_t *)LOS_DmaMemAlloc(&paddr, len, USB_CACHE_ALIGN_SIZE, DMA_NOCACHE); in composite_allocreq()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_generic_epfile.c545 DMA_ADDR_T paddr; in generic_epfile_handle_mmap() local
546 mem = LOS_DmaMemAlloc(&paddr, size, USB_CACHE_ALIGN_SIZE, DMA_NOCACHE); in generic_epfile_handle_mmap()
/third_party/elfio/tests/
DELFIOTest.cpp108 Elf64_Addr paddr, in checkSegment() argument
116 EXPECT_EQ( seg->get_physical_address(), paddr ); in checkSegment()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/
Dmod.rs32 pub paddr: ::c_ulong,
/third_party/iowow/src/kv/
Diwkv.c1384 off_t paddr; in _sblk_destroy() local
1385 if (_sblk_is_only_one_on_page_v2(lx, mm, sblk, &paddr)) { in _sblk_destroy()
1388 rc = fsm->deallocate(fsm, paddr, SBLK_PAGE_SZ_V2); in _sblk_destroy()
1473 off_t paddr = sblk->addr - (sblk->bpos - 1) * SBLK_SZ; in _sblk_find_free_page_slot_v2() local
1476 memcpy(&slot, mm + paddr + (i - 1) * SBLK_SZ + SOFF_BPOS_U1_V2, 1); in _sblk_find_free_page_slot_v2()
1478 *obaddr = paddr + (i - 1) * SBLK_SZ; in _sblk_find_free_page_slot_v2()
1485 memcpy(&slot, mm + paddr + (i - 1) * SBLK_SZ + SOFF_BPOS_U1_V2, 1); in _sblk_find_free_page_slot_v2()
1487 *obaddr = paddr + (i - 1) * SBLK_SZ; in _sblk_find_free_page_slot_v2()