Lines Matching refs:map_priv_1
29 return(*((__u8 *) (map->map_priv_1 + ofs))); in uclinux_read8()
34 return(*((__u16 *) (map->map_priv_1 + ofs))); in uclinux_read16()
39 return(*((__u32 *) (map->map_priv_1 + ofs))); in uclinux_read32()
44 memcpy(to, (void *)(map->map_priv_1 + from), len); in uclinux_copy_from()
49 *((__u8 *) (map->map_priv_1 + adr)) = d; in uclinux_write8()
54 *((__u16 *) (map->map_priv_1 + adr)) = d; in uclinux_write16()
59 *((__u32 *) (map->map_priv_1 + adr)) = d; in uclinux_write32()
64 memcpy((void *) (map->map_priv_1 + to), from, len); in uclinux_copy_to()
97 *mtdbuf = (u_char *) (map->map_priv_1 + ((int) from)); in uclinux_point()
118 mapp->map_priv_1 = (unsigned long) in uclinux_mtd_init()
121 if (mapp->map_priv_1 == 0) { in uclinux_mtd_init()
129 iounmap((void *) mapp->map_priv_1); in uclinux_mtd_init()
157 if (uclinux_ram_map.map_priv_1) { in uclinux_mtd_cleanup()
158 iounmap((void *) uclinux_ram_map.map_priv_1); in uclinux_mtd_cleanup()
159 uclinux_ram_map.map_priv_1 = 0; in uclinux_mtd_cleanup()