Lines Matching refs:map_priv_1
45 return __raw_readb(map->map_priv_1 + ofs); in dbox2_flash_read8()
50 return __raw_readw(map->map_priv_1 + ofs); in dbox2_flash_read16()
55 return __raw_readl(map->map_priv_1 + ofs); in dbox2_flash_read32()
60 memcpy_fromio(to, map->map_priv_1 + from, len); in dbox2_flash_copy_from()
65 __raw_writeb(d, map->map_priv_1 + adr); in dbox2_flash_write8()
71 __raw_writew(d, map->map_priv_1 + adr); in dbox2_flash_write16()
77 __raw_writel(d, map->map_priv_1 + adr); in dbox2_flash_write32()
83 memcpy_toio(map->map_priv_1 + to, from, len); in dbox2_flash_copy_to()
103 dbox2_flash_map.map_priv_1 = (unsigned long)ioremap(WINDOW_ADDR, WINDOW_SIZE); in init_dbox2_flash()
105 if (!dbox2_flash_map.map_priv_1) { in init_dbox2_flash()
128 iounmap((void *)dbox2_flash_map.map_priv_1); in init_dbox2_flash()
138 if (dbox2_flash_map.map_priv_1) { in cleanup_dbox2_flash()
139 iounmap((void *)dbox2_flash_map.map_priv_1); in cleanup_dbox2_flash()
140 dbox2_flash_map.map_priv_1 = 0; in cleanup_dbox2_flash()