Lines Matching refs:cstm_mips_ixx_map
208 struct map_info cstm_mips_ixx_map[PHYSMAP_NUMBER]; variable
220 … memcpy((char *)&cstm_mips_ixx_map[i],(char *)&basic_cstm_mips_ixx_map,sizeof(struct map_info)); in init_cstm_mips_ixx()
221 …cstm_mips_ixx_map[i].map_priv_1 = (unsigned long)ioremap(cstm_mips_ixx_board_desc[i].window_addr, … in init_cstm_mips_ixx()
222 if (!cstm_mips_ixx_map[i].map_priv_1) { in init_cstm_mips_ixx()
226 cstm_mips_ixx_map[i].name = cstm_mips_ixx_board_desc[i].name; in init_cstm_mips_ixx()
227 cstm_mips_ixx_map[i].size = cstm_mips_ixx_board_desc[i].window_size; in init_cstm_mips_ixx()
228 cstm_mips_ixx_map[i].buswidth = cstm_mips_ixx_board_desc[i].buswidth; in init_cstm_mips_ixx()
239 mymtd = (struct mtd_info *)do_map_probe("cfi_probe", &cstm_mips_ixx_map[i]); in init_cstm_mips_ixx()
243 mymtd = (struct mtd_info *)do_map_probe("jedec", &cstm_mips_ixx_map[i]); in init_cstm_mips_ixx()
249 cstm_mips_ixx_map[i].map_priv_2 = (unsigned long)mymtd; in init_cstm_mips_ixx()
264 mymtd = (struct mtd_info *)cstm_mips_ixx_map[i].map_priv_2; in cleanup_cstm_mips_ixx()
269 if (cstm_mips_ixx_map[i].map_priv_1) { in cleanup_cstm_mips_ixx()
270 iounmap((void *)cstm_mips_ixx_map[i].map_priv_1); in cleanup_cstm_mips_ixx()
271 cstm_mips_ixx_map[i].map_priv_1 = 0; in cleanup_cstm_mips_ixx()