| /netbsd-src/sys/arch/arc/jazz/ |
| H A D | vga_jazzio.c | 128 return mips_btop(PICA_P_LOCAL_VIDEO + offset); in vga_jazzio_mmap() 130 return mips_btop(PICA_P_LOCAL_VIDEO_CTRL + offset); in vga_jazzio_mmap() 132 return mips_btop(PICA_P_LOCAL_VIDEO + offset - 0x40000000); in vga_jazzio_mmap()
|
| /netbsd-src/sys/arch/hpcmips/dev/ |
| H A D | mq200.c | 124 MIPS_PHYS_TO_KSEG1(mips_ptob(mips_btop(sc->sc_baseaddr))); in mq200_attach() 353 fb->hf_baseaddr = mips_ptob(mips_btop(bootinfo->fb_addr)); in mq200_fbinit() 715 return mips_btop(sc->sc_baseaddr + offset); in mq200_mmap()
|
| H A D | plumvideo.c | 254 fb->hf_offset = (u_long)fbvaddr - mips_ptob(mips_btop(fbvaddr)); in plumvideo_hpcfbinit() 610 return (mips_btop(PLUM_VIDEO_VRAM_IOBASE_PHYSICAL + offset)); in plumvideo_mmap()
|
| H A D | ite8181.c | 534 mips_ptob(mips_btop(bootinfo->fb_addr)); in ite8181_fbinit() 896 return mips_btop((u_long)bootinfo->fb_addr + offset); in ite8181_mmap()
|
| /netbsd-src/sys/arch/mips/include/ |
| H A D | mips_param.h | 162 #define mips_btop(x) ((paddr_t)(x) >> PGSHIFT) macro
|
| /netbsd-src/sys/arch/mipsco/mipsco/ |
| H A D | bus_space.c | 180 return (mips_btop(bst->bs_pbase + (addr - bst->bs_start) + off)); in mipsco_bus_space_mmap()
|
| H A D | bus_dma.c | 593 return (mips_btop((char *)rv)); in _bus_dmamem_mmap()
|
| /netbsd-src/sys/arch/mips/mips/ |
| H A D | mips_emul.c | 523 if (mips_btop(tf->tf_regs[_R_PC]) != mips_btop(pc)) in mips_emul_lwc1() 613 if (mips_btop(tf->tf_regs[_R_PC]) != mips_btop(pc)) in mips_emul_swc1()
|
| H A D | bus_dma.c | 1226 return mips_btop(pa | PGC_NOCACHE); in _bus_dmamem_mmap() 1228 return mips_btop(pa); in _bus_dmamem_mmap() 1230 return mips_btop(pa); in _bus_dmamem_mmap()
|
| /netbsd-src/sys/arch/hpcmips/tx/ |
| H A D | tx3912video.c | 256 mips_ptob(mips_btop(fbvaddr)); in tx3912video_hpcfbinit() 611 return (mips_btop(sc->sc_chip->vc_fbpaddr + offset)); in tx3912video_mmap()
|
| /netbsd-src/sys/arch/arc/dev/ |
| H A D | pccons.c | 1842 return mips_btop(pa); in pcmmap() 1848 return mips_btop(pa); in pcmmap() 1854 return mips_btop(pa); in pcmmap()
|
| /netbsd-src/sys/arch/newsmips/apbus/ |
| H A D | xafb.c | 297 return mips_btop(dc->dc_fbpaddr + offset); in xafb_mmap()
|
| /netbsd-src/sys/arch/ews4800mips/sbd/ |
| H A D | fb_sbdio.c | 329 return mips_btop(GA_FRB_ADDR + offset); in _fb_mmap()
|
| /netbsd-src/sys/arch/playstation2/playstation2/ |
| H A D | bus_dma.c | 562 return (mips_btop((char *)rv)); in _bus_dmamem_mmap()
|
| /netbsd-src/sys/arch/ews4800mips/ews4800mips/ |
| H A D | bus_dma.c | 627 return (mips_btop((char *)rv)); in _bus_dmamem_mmap()
|
| /netbsd-src/sys/arch/newsmips/dev/ |
| H A D | fb.c | 438 return mips_btop((int)dc->dc_fbbase + offset); in fb_mmap()
|
| /netbsd-src/sys/arch/pmax/pmax/ |
| H A D | bus_dma.c | 740 return (mips_btop((char *)rv)); in _bus_dmamem_mmap()
|
| /netbsd-src/sys/arch/hpcmips/hpcmips/ |
| H A D | bus_dma.c | 623 return (mips_btop((char *)rv)); in _hpcmips_bd_mem_mmap()
|
| /netbsd-src/sys/arch/arc/arc/ |
| H A D | bus_space.c | 508 return mips_btop(bst->bs_pbase + (addr - bst->bs_start) + off); in arc_bus_space_mmap()
|
| H A D | bus_dma.c | 764 return mips_btop(segs[i]._ds_paddr + off); in _bus_dmamem_mmap()
|
| /netbsd-src/sys/arch/emips/emips/ |
| H A D | bus_dma.c | 740 return (mips_btop((char *)rv)); in _bus_dmamem_mmap()
|
| /netbsd-src/sys/arch/newsmips/newsmips/ |
| H A D | bus.c | 786 return (mips_btop((char *)rv)); in _bus_dmamem_mmap()
|
| /netbsd-src/sys/arch/sgimips/gio/ |
| H A D | light.c | 577 return (mips_btop(dc->dc_addr + off)); in light_mmap()
|
| /netbsd-src/sys/dev/tc/ |
| H A D | mfb.c | 56 #define machine_btop(x) mips_btop(MIPS_KSEG1_TO_PHYS(x))
|
| /netbsd-src/sys/arch/pmax/ibus/ |
| H A D | pm.c | 521 return (mips_btop(KN01_PHYS_FBUF_START + offset)); in pm_mmap()
|