Lines Matching refs:dnpc_map
252 static struct map_info dnpc_map = {
386 dnpc_map.size = DNP_WINDOW_SIZE;
387 dnpc_map.set_vpp = dnp_set_vpp;
394 ++dnpc_map.name;
404 is_dnp ? "DNPC" : "ADNP", dnpc_map.size, (unsigned long long)dnpc_map.phys);
406 dnpc_map.virt = ioremap_nocache(dnpc_map.phys, dnpc_map.size);
408 dnpc_map_flash(dnpc_map.phys, dnpc_map.size);
410 if (!dnpc_map.virt) {
414 simple_map_init(&dnpc_map);
416 printk("FLASH virtual address: 0x%p\n", dnpc_map.virt);
418 mymtd = do_map_probe("jedec_probe", &dnpc_map);
421 mymtd = do_map_probe("cfi_probe", &dnpc_map);
429 if((mymtd = do_map_probe("map_rom", &dnpc_map)))
433 iounmap(dnpc_map.virt);
483 if (dnpc_map.virt) {
484 iounmap(dnpc_map.virt);
486 dnpc_map.virt = NULL;