Lines Matching full:maps
53 struct map_info *maps; member
368 info->maps[i].name = mtd_name; in physmap_flash_of_init()
369 info->maps[i].swap = swap; in physmap_flash_of_init()
370 info->maps[i].bankwidth = bankwidth; in physmap_flash_of_init()
371 info->maps[i].device_node = dp; in physmap_flash_of_init()
373 err = of_flash_probe_bt1_rom(dev, dp, &info->maps[i]); in physmap_flash_of_init()
377 err = of_flash_probe_gemini(dev, dp, &info->maps[i]); in physmap_flash_of_init()
381 err = of_flash_probe_ixp4xx(dev, dp, &info->maps[i]); in physmap_flash_of_init()
385 err = of_flash_probe_versatile(dev, dp, &info->maps[i]); in physmap_flash_of_init()
398 info->maps[i].phys = NO_XIP; in physmap_flash_of_init()
443 info->maps[i].bankwidth = physmap_data->width; in physmap_flash_pdata_init()
444 info->maps[i].pfow_base = physmap_data->pfow_base; in physmap_flash_pdata_init()
445 info->maps[i].set_vpp = physmap_set_vpp; in physmap_flash_pdata_init()
470 info->maps = devm_kzalloc(&dev->dev, in physmap_flash_probe()
471 sizeof(*info->maps) * info->nmaps, in physmap_flash_probe()
473 if (!info->maps) in physmap_flash_probe()
512 info->maps[i].virt = devm_ioremap_resource(&dev->dev, res); in physmap_flash_probe()
513 if (IS_ERR(info->maps[i].virt)) { in physmap_flash_probe()
514 err = PTR_ERR(info->maps[i].virt); in physmap_flash_probe()
521 if (!info->maps[i].name) in physmap_flash_probe()
522 info->maps[i].name = dev_name(&dev->dev); in physmap_flash_probe()
524 if (!info->maps[i].phys) in physmap_flash_probe()
525 info->maps[i].phys = res->start; in physmap_flash_probe()
528 info->maps[i].size = BIT(info->win_order + in physmap_flash_probe()
532 info->maps[i].map_priv_1 = (unsigned long)dev; in physmap_flash_probe()
535 err = physmap_addr_gpios_map_init(&info->maps[i]); in physmap_flash_probe()
546 if (!info->maps[i].read) in physmap_flash_probe()
547 simple_map_init(&info->maps[i]); in physmap_flash_probe()
549 simple_map_init(&info->maps[i]); in physmap_flash_probe()
554 &info->maps[i]); in physmap_flash_probe()
560 &info->maps[i]); in physmap_flash_probe()