Lines Matching refs:map_priv_1
60 return __raw_readb(map->map_priv_1 + ofs); in flagadm_read8()
65 return __raw_readw(map->map_priv_1 + ofs); in flagadm_read16()
70 return __raw_readl(map->map_priv_1 + ofs); in flagadm_read32()
75 memcpy_fromio(to, map->map_priv_1 + from, len); in flagadm_copy_from()
80 __raw_writeb(d, map->map_priv_1 + adr); in flagadm_write8()
86 __raw_writew(d, map->map_priv_1 + adr); in flagadm_write16()
92 __raw_writel(d, map->map_priv_1 + adr); in flagadm_write32()
98 memcpy_toio(map->map_priv_1 + to, from, len); in flagadm_copy_to()
147 flagadm_map.map_priv_1 = (unsigned long)ioremap(FLASH_PHYS_ADDR, in init_flagadm()
150 if (!flagadm_map.map_priv_1) { in init_flagadm()
162 iounmap((void *)flagadm_map.map_priv_1); in init_flagadm()
172 if (flagadm_map.map_priv_1) { in cleanup_flagadm()
173 iounmap((void *)flagadm_map.map_priv_1); in cleanup_flagadm()
174 flagadm_map.map_priv_1 = 0; in cleanup_flagadm()