Home
last modified time | relevance | path

Searched refs:PHYS_TO_XKPHYS (Results 1 – 25 of 28) sorted by relevance

12

/openbsd/sys/arch/loongson/include/
H A Dautoconf.h116 #define REGVAL8(x) *((volatile uint8_t *)PHYS_TO_XKPHYS((x), CCA_NC))
117 #define REGVAL32(x) *((volatile uint32_t *)PHYS_TO_XKPHYS((x), CCA_NC))
118 #define REGVAL64(x) *((volatile uint64_t *)PHYS_TO_XKPHYS((x), CCA_NC))
/openbsd/sys/arch/mips64/mips64/
H A Dcache_loongson2.c120 sva = PHYS_TO_XKPHYS(0, CCA_CACHED); in Loongson2_SyncCache()
127 sva = PHYS_TO_XKPHYS(0, CCA_CACHED); in Loongson2_SyncCache()
137 sva = PHYS_TO_XKPHYS(0, CCA_CACHED); in Loongson2_SyncCache()
161 sva = PHYS_TO_XKPHYS(0, CCA_CACHED); in Loongson2_InvalidateICache()
195 sva = PHYS_TO_XKPHYS(0, CCA_CACHED); in Loongson2_SyncICache()
220 sva = PHYS_TO_XKPHYS(pa, CCA_CACHED); in Loongson2_SyncDCachePage()
H A Dcache_mips64r2.c217 sva = PHYS_TO_XKPHYS(0, CCA_CACHED); in mips64r2_SyncCache()
224 sva = PHYS_TO_XKPHYS(0, CCA_CACHED); in mips64r2_SyncCache()
232 sva = PHYS_TO_XKPHYS(0, CCA_CACHED); in mips64r2_SyncCache()
241 sva = PHYS_TO_XKPHYS(0, CCA_CACHED); in mips64r2_SyncCache()
264 sva = PHYS_TO_XKPHYS(0, CCA_CACHED); in mips64r2_InvalidateICache()
307 sva = PHYS_TO_XKPHYS(0, CCA_CACHED); in mips64r2_SyncDCachePage()
H A Dcache_octeon.c233 va = PHYS_TO_XKPHYS(pa, 0ul); in Octeon_lock_secondary_cache()
255 va = PHYS_TO_XKPHYS(pa, 0ul); in Octeon_unlock_secondary_cache()
H A Dmem.c126 v = (vaddr_t)PHYS_TO_XKPHYS(v, CCA_NONCOHERENT); in mmrw()
H A Dpmap.c478 va = PHYS_TO_XKPHYS(pa, CCA_CACHED); in pmap_steal_memory()
1423 va = (vaddr_t)PHYS_TO_XKPHYS(phys, CCA_CACHED); in pmap_zero_page()
1458 s = (vaddr_t)PHYS_TO_XKPHYS(src, CCA_CACHED); in pmap_copy_page()
1459 d = (vaddr_t)PHYS_TO_XKPHYS(dst, CCA_CACHED); in pmap_copy_page()
1996 return (void *)PHYS_TO_XKPHYS(VM_PAGE_TO_PHYS(pg), CCA_CACHED); in pmap_pg_alloc()
2039 va = PHYS_TO_XKPHYS(pa, CCA_CACHED); in pmap_map_direct()
2092 *insn = *(uint32_t *)PHYS_TO_XKPHYS(pa, CCA_CACHED); in pmap_copyinsn()
H A Dvm_machdep.c75 p2->p_addr = (void *)PHYS_TO_XKPHYS(pa, CCA_CACHED); in cpu_fork()
H A Dcpu.c425 return PHYS_TO_XKPHYS(pa, CCA_CACHED); in alloc_contiguous_pages()
/openbsd/sys/arch/octeon/dev/
H A Docteon_pcibus.c147 .bus_base = PHYS_TO_XKPHYS(_OCTEON_PCIBUS_PCIIO_BASE, CCA_NC),
170 .bus_base = PHYS_TO_XKPHYS(_OCTEON_PCIBUS_PCIMEM_BASE, CCA_NC),
265 return PHYS_TO_XKPHYS(addr, CCA_NC); in octeon_pcibus_device_to_pa()
439 PHYS_TO_XKPHYS(0, CCA_CACHED) - PHYS_TO_XKPHYS(0, CCA_NC); in octeon_pcibus_io_map()
451 PHYS_TO_XKPHYS(0, CCA_CACHED) - PHYS_TO_XKPHYS(0, CCA_NC); in octeon_pcibus_mem_map()
H A Docteon_iobus.c74 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
262 PHYS_TO_XKPHYS(0, CCA_CACHED) - PHYS_TO_XKPHYS(0, CCA_NC); in iobus_space_map()
H A Dcn30xxpow.c78 (uint64_t *)PHYS_TO_XKPHYS( in cn30xxpow_work_response_async()
H A Dif_cnmac.c625 memcpy(&word3, (void *)PHYS_TO_XKPHYS(addr - in cnmac_buf_free_work()
812 cmdptr = (uint64_t *)PHYS_TO_XKPHYS(sc->sc_cmdptr.cmdptr, CCA_CACHED); in cnmac_send_cmd()
885 gbuf = (uint64_t *)(uintptr_t)PHYS_TO_XKPHYS(gaddr, CCA_CACHED); in cnmac_send()
1143 pm = (struct mbuf **)PHYS_TO_XKPHYS(pktbuf, CCA_CACHED) - 1; in cnmac_recv_mbuf()
1177 memcpy(&word3, (void *)PHYS_TO_XKPHYS(addr - in cnmac_recv_mbuf()
H A Dcn30xxuart.c77 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
H A Doctuctl.c58 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
H A Doctdwctwo.c113 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
H A Doctxctl.c75 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
/openbsd/sys/arch/loongson/loongson/
H A Dloongson2_machdep.c230 awrreg = (volatile uint64_t *)PHYS_TO_XKPHYS( in loongson2f_setup_window()
235 awrreg = (volatile uint64_t *)PHYS_TO_XKPHYS( in loongson2f_setup_window()
240 awrreg = (volatile uint64_t *)PHYS_TO_XKPHYS( in loongson2f_setup_window()
H A Dbus_dma.c452 *kvap = (caddr_t)PHYS_TO_XKPHYS(pa, CCA_NC); in _dmamem_map()
454 *kvap = (caddr_t)PHYS_TO_XKPHYS(pa, CCA_CACHED); in _dmamem_map()
/openbsd/sys/arch/octeon/octeon/
H A Dmachdep.c189 return (struct octeon_bootmem_block *)PHYS_TO_XKPHYS(addr, CCA_CACHED); in pa_to_block()
205 memdesc = (struct octeon_bootmem_desc *)PHYS_TO_XKPHYS( in octeon_memory_init()
293 PHYS_TO_XKPHYS(boot_desc->boot_info_addr, CCA_CACHED); in mips_init()
458 fdt = (void *)PHYS_TO_XKPHYS(octeon_boot_info->fdt_addr, in mips_init()
775 octeon_sync_tc(PHYS_TO_XKPHYS(clk_reg, CCA_NC), cmul, frac); in octeon_tlb_init()
872 PHYS_TO_XKPHYS(octeon_boot_desc->argv[i], CCA_CACHED); in process_bootargs()
1080 PHYS_TO_XKPHYS(octeon_boot_info->phys_mem_desc_addr, CCA_CACHED); in bootmem_dump()
1099 PHYS_TO_XKPHYS(octeon_boot_info->phys_mem_desc_addr, CCA_CACHED); in bootmem_alloc_region()
1184 PHYS_TO_XKPHYS(octeon_boot_info->phys_mem_desc_addr, CCA_CACHED); in bootmem_free()
H A Dbus_dma.c489 *kvap = (caddr_t)PHYS_TO_XKPHYS(pa, CCA_NC); in _dmamem_map()
491 *kvap = (caddr_t)PHYS_TO_XKPHYS(pa, CCA_CACHED); in _dmamem_map()
/openbsd/sys/arch/octeon/include/
H A Docteonvar.h368 (volatile uint64_t *)(PHYS_TO_XKPHYS(address, CCA_NC)); in octeon_xkphys_read_8()
376 *(volatile uint64_t *)(PHYS_TO_XKPHYS(address, CCA_NC)) = value; in octeon_xkphys_write_8()
396 (PHYS_TO_XKPHYS(MIO_BOOT_BIST_STAT, CCA_NC)); in octeon_xkphys_write_8()
/openbsd/sys/arch/loongson/dev/
H A Dleioc.c48 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
H A Dhtb.c108 .bus_base = PHYS_TO_XKPHYS(HTB_IO_BASE, CCA_NC),
131 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
H A Dbonito.c158 .bus_base = PHYS_TO_XKPHYS(BONITO_PCIIO_BASE, CCA_NC),
181 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
/openbsd/sys/arch/mips64/include/
H A Dcpu.h97 #define PHYS_TO_XKPHYS(x,c) ((paddr_t)(x) | XKPHYS_BASE | ((c) << 59)) macro

12