Searched refs:virtaddr (Results 1 – 2 of 2) sorted by relevance
/arch/m68k/mm/ |
D | kmap.c | 109 unsigned long virtaddr, retaddr; in __ioremap() local 146 virtaddr = (unsigned long)area->addr; in __ioremap() 147 retaddr = virtaddr + offset; in __ioremap() 149 printk("0x%lx,0x%lx,0x%lx", physaddr, virtaddr, retaddr); in __ioremap() 190 if (!(virtaddr & (PTRTREESIZE-1))) in __ioremap() 191 printk ("\npa=%#lx va=%#lx ", physaddr, virtaddr); in __ioremap() 193 pgd_dir = pgd_offset_k(virtaddr); in __ioremap() 194 pmd_dir = pmd_alloc(&init_mm, pgd_dir, virtaddr); in __ioremap() 201 pmd_dir->pmd[(virtaddr/PTRTREESIZE) & 15] = physaddr; in __ioremap() 203 virtaddr += PTRTREESIZE; in __ioremap() [all …]
|
D | motorola.c | 111 unsigned long physaddr, virtaddr, size; in map_node() local 118 virtaddr = (unsigned long)phys_to_virt(physaddr); in map_node() 126 if (!(virtaddr & (PTRTREESIZE-1))) in map_node() 128 virtaddr); in map_node() 130 pgd_dir = pgd_offset_k(virtaddr); in map_node() 131 if (virtaddr && CPU_IS_020_OR_030) { in map_node() 132 if (!(virtaddr & (ROOTTREESIZE-1)) && in map_node() 139 virtaddr += ROOTTREESIZE; in map_node() 151 pmd_dir = pmd_offset(pgd_dir, virtaddr); in map_node() 154 if (virtaddr) { in map_node() [all …]
|