Lines Matching refs:netsc520_map
84 static struct map_info netsc520_map = {
91 #define NUM_FLASH_BANKS ARRAY_SIZE(netsc520_map)
98 (unsigned long long)netsc520_map.size,
99 (unsigned long long)netsc520_map.phys);
100 netsc520_map.virt = ioremap_nocache(netsc520_map.phys, netsc520_map.size);
102 if (!netsc520_map.virt) {
107 simple_map_init(&netsc520_map);
109 mymtd = do_map_probe("cfi_probe", &netsc520_map);
111 mymtd = do_map_probe("map_ram", &netsc520_map);
113 mymtd = do_map_probe("map_rom", &netsc520_map);
116 iounmap(netsc520_map.virt);
131 if (netsc520_map.virt) {
132 iounmap(netsc520_map.virt);
133 netsc520_map.virt = NULL;