Lines Matching refs:map_priv_1
28 return __raw_readb(map->map_priv_1 + ofs); in physmap_read8()
33 return __raw_readw(map->map_priv_1 + ofs); in physmap_read16()
38 return __raw_readl(map->map_priv_1 + ofs); in physmap_read32()
43 return __raw_readll(map->map_priv_1 + ofs); in physmap_read64()
48 memcpy_fromio(to, map->map_priv_1 + from, len); in physmap_copy_from()
53 __raw_writeb(d, map->map_priv_1 + adr); in physmap_write8()
59 __raw_writew(d, map->map_priv_1 + adr); in physmap_write16()
65 __raw_writel(d, map->map_priv_1 + adr); in physmap_write32()
71 __raw_writell(d, map->map_priv_1 + adr); in physmap_write64()
77 memcpy_toio(map->map_priv_1 + to, from, len); in physmap_copy_to()
138 physmap_map.map_priv_1 = (unsigned long)ioremap(WINDOW_ADDR, WINDOW_SIZE); in init_physmap()
140 if (!physmap_map.map_priv_1) { in init_physmap()
177 iounmap((void *)physmap_map.map_priv_1); in init_physmap()
187 if (physmap_map.map_priv_1) { in cleanup_physmap()
188 iounmap((void *)physmap_map.map_priv_1); in cleanup_physmap()
189 physmap_map.map_priv_1 = 0; in cleanup_physmap()