Searched refs:netsc520_map (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mtd/maps/
H A Dnetsc520.c82 static struct map_info netsc520_map = { variable in typeref:struct:map_info
89 #define NUM_FLASH_BANKS ARRAY_SIZE(netsc520_map)
96 (unsigned long long)netsc520_map.size, init_netsc520()
97 (unsigned long long)netsc520_map.phys); init_netsc520()
98 netsc520_map.virt = ioremap_nocache(netsc520_map.phys, netsc520_map.size); init_netsc520()
100 if (!netsc520_map.virt) { init_netsc520()
105 simple_map_init(&netsc520_map); init_netsc520()
107 mymtd = do_map_probe("cfi_probe", &netsc520_map); init_netsc520()
109 mymtd = do_map_probe("map_ram", &netsc520_map); init_netsc520()
111 mymtd = do_map_probe("map_rom", &netsc520_map); init_netsc520()
114 iounmap(netsc520_map.virt); init_netsc520()
129 if (netsc520_map.virt) { cleanup_netsc520()
130 iounmap(netsc520_map.virt); cleanup_netsc520()
131 netsc520_map.virt = NULL; cleanup_netsc520()

Completed in 185 milliseconds