Lines Matching refs:bankwidth
46 static int bankwidth = 2; variable
66 module_param(bankwidth, int, 0);
67 MODULE_PARM_DESC(bankwidth, "Set bankwidth (1=8 bit, 2=16 bit, default=2)");
400 dev->pcmcia_map.bankwidth = t->geo[0].buswidth; in pcmciamtd_cistpl_geo()
437 if(!dev->pcmcia_map.bankwidth) in card_settings()
438 dev->pcmcia_map.bankwidth = 2; in card_settings()
445 if(bankwidth) { in card_settings()
446 dev->pcmcia_map.bankwidth = bankwidth; in card_settings()
447 pr_debug("bankwidth forced to %d\n", bankwidth); in card_settings()
458 dev->pcmcia_map.bankwidth << 3, dev->mtd_name); in card_settings()
478 if (dev->pcmcia_map.bankwidth == 1) { in pcmciamtd_config()
495 link->resource[2]->flags |= (dev->pcmcia_map.bankwidth == 1) ? in pcmciamtd_config()
611 if (dev->pcmcia_map.bankwidth == 1) { in pcmciamtd_config()
730 if(bankwidth && bankwidth != 1 && bankwidth != 2) { in init_pcmciamtd()
731 info("bad bankwidth (%d), using default", bankwidth); in init_pcmciamtd()
732 bankwidth = 2; in init_pcmciamtd()