Lines Matching refs:pcmcia_map

36 	struct map_info	pcmcia_map;  member
377 dev->pcmcia_map.size = t->dev[0].size; in pcmciamtd_cistpl_device()
400 dev->pcmcia_map.bankwidth = t->geo[0].buswidth; in pcmciamtd_cistpl_geo()
434 if(!dev->pcmcia_map.size) in card_settings()
435 dev->pcmcia_map.size = MAX_PCMCIA_ADDR; in card_settings()
437 if(!dev->pcmcia_map.bankwidth) in card_settings()
438 dev->pcmcia_map.bankwidth = 2; in card_settings()
441 dev->pcmcia_map.size = force_size << 20; in card_settings()
446 dev->pcmcia_map.bankwidth = bankwidth; in card_settings()
450 dev->pcmcia_map.name = dev->mtd_name; in card_settings()
457 dev->pcmcia_map.size, in card_settings()
458 dev->pcmcia_map.bankwidth << 3, dev->mtd_name); in card_settings()
475 dev->pcmcia_map.phys = NO_XIP; in pcmciamtd_config()
476 dev->pcmcia_map.copy_from = pcmcia_copy_from_remap; in pcmciamtd_config()
477 dev->pcmcia_map.copy_to = pcmcia_copy_to_remap; in pcmciamtd_config()
478 if (dev->pcmcia_map.bankwidth == 1) { in pcmciamtd_config()
479 dev->pcmcia_map.read = pcmcia_read8_remap; in pcmciamtd_config()
480 dev->pcmcia_map.write = pcmcia_write8_remap; in pcmciamtd_config()
482 dev->pcmcia_map.read = pcmcia_read16_remap; in pcmciamtd_config()
483 dev->pcmcia_map.write = pcmcia_write16_remap; in pcmciamtd_config()
486 dev->pcmcia_map.set_vpp = pcmciamtd_set_vpp; in pcmciamtd_config()
495 link->resource[2]->flags |= (dev->pcmcia_map.bankwidth == 1) ? in pcmciamtd_config()
545 dev->pcmcia_map.map_priv_1 = (unsigned long)dev; in pcmciamtd_config()
546 dev->pcmcia_map.map_priv_2 = (unsigned long)link->resource[2]; in pcmciamtd_config()
567 mtd = do_map_probe("map_ram", &dev->pcmcia_map); in pcmciamtd_config()
569 mtd = do_map_probe("map_rom", &dev->pcmcia_map); in pcmciamtd_config()
573 mtd = do_map_probe(probes[i], &dev->pcmcia_map); in pcmciamtd_config()
610 dev->pcmcia_map.map_priv_2 = (unsigned long)dev->win_base; in pcmciamtd_config()
611 if (dev->pcmcia_map.bankwidth == 1) { in pcmciamtd_config()
612 dev->pcmcia_map.read = pcmcia_read8; in pcmciamtd_config()
613 dev->pcmcia_map.write = pcmcia_write8; in pcmciamtd_config()
615 dev->pcmcia_map.read = pcmcia_read16; in pcmciamtd_config()
616 dev->pcmcia_map.write = pcmcia_write16; in pcmciamtd_config()
618 dev->pcmcia_map.copy_from = pcmcia_copy_from; in pcmciamtd_config()
619 dev->pcmcia_map.copy_to = pcmcia_copy_to; in pcmciamtd_config()