/openbsd/sys/arch/loongson/include/ |
H A D | autoconf.h | 116 #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/loongson/loongson/ |
H A D | loongson2_machdep.c | 231 LOONGSON_AWR_BASE(master, window), CCA_NC); in loongson2f_setup_window() 236 LOONGSON_AWR_SIZE(master, window), CCA_NC); in loongson2f_setup_window() 241 LOONGSON_AWR_MMAP(master, window), CCA_NC); in loongson2f_setup_window()
|
H A D | bus_dma.c | 344 if (IS_XKPHYS(vaddr) && XKPHYS_TO_CCA(vaddr) == CCA_NC) { in _dmamap_sync() 452 *kvap = (caddr_t)PHYS_TO_XKPHYS(pa, CCA_NC); in _dmamem_map()
|
/openbsd/sys/arch/octeon/dev/ |
H A D | octeon_pcibus.c | 147 .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 D | octeon_iobus.c | 74 .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 D | cn30xxuart.c | 77 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
|
H A D | octuctl.c | 58 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
|
H A D | octdwctwo.c | 113 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
|
H A D | octxctl.c | 75 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
|
H A D | octcf.c | 191 OCTEON_MIO_BOOT_BASE + MIO_BOOT_REG_CFG(i), CCA_NC); in octcfattach()
|
/openbsd/sys/arch/octeon/include/ |
H A D | octeonvar.h | 368 (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 D | leioc.c | 48 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
|
H A D | htb.c | 108 .bus_base = PHYS_TO_XKPHYS(HTB_IO_BASE, CCA_NC), 131 .bus_base = PHYS_TO_XKPHYS(0, CCA_NC),
|
H A D | bonito.c | 158 .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 D | pte.h | 135 #define PG_UNCACHED (CCA_NC << PG_CCA_SHIFT)
|
H A D | cpu.h | 76 #define CCA_NC 2UL /* uncached, write-around */ macro
|
/openbsd/sys/arch/mips64/mips64/ |
H A D | genassym.cf | 76 export CCA_NC
|
/openbsd/sys/arch/octeon/octeon/ |
H A D | bus_dma.c | 395 if (IS_XKPHYS(vaddr) && XKPHYS_TO_CCA(vaddr) == CCA_NC) { in _dmamap_sync() 489 *kvap = (caddr_t)PHYS_TO_XKPHYS(pa, CCA_NC); in _dmamem_map()
|
H A D | machdep.c | 775 octeon_sync_tc(PHYS_TO_XKPHYS(clk_reg, CCA_NC), cmul, frac); in octeon_tlb_init()
|