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

/linux-4.1.27/arch/mips/cavium-octeon/
H A Dflash_setup.c20 static struct map_info flash_map; variable in typeref:struct:map_info
96 flash_map.name = "phys_mapped_flash"; octeon_flash_probe()
97 flash_map.phys = region_cfg.s.base << 16; octeon_flash_probe()
98 flash_map.size = 0x1fc00000 - flash_map.phys; octeon_flash_probe()
100 flash_map.bankwidth = region_cfg.s.width + 1; octeon_flash_probe()
101 flash_map.virt = ioremap(flash_map.phys, flash_map.size); octeon_flash_probe()
103 "0x%08llx\n", flash_map.size >> 20, flash_map.phys); octeon_flash_probe()
104 WARN_ON(!map_bankwidth_supported(flash_map.bankwidth)); octeon_flash_probe()
105 flash_map.read = octeon_flash_map_read; octeon_flash_probe()
106 flash_map.write = octeon_flash_map_write; octeon_flash_probe()
107 flash_map.copy_from = octeon_flash_map_copy_from; octeon_flash_probe()
108 flash_map.copy_to = octeon_flash_map_copy_to; octeon_flash_probe()
109 mymtd = do_map_probe("cfi_probe", &flash_map); octeon_flash_probe()

Completed in 136 milliseconds