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)");
401 dev->pcmcia_map.bankwidth = t->geo[0].buswidth; in pcmciamtd_cistpl_geo()
438 if(!dev->pcmcia_map.bankwidth) in card_settings()
439 dev->pcmcia_map.bankwidth = 2; in card_settings()
446 if(bankwidth) { in card_settings()
447 dev->pcmcia_map.bankwidth = bankwidth; in card_settings()
448 pr_debug("bankwidth forced to %d\n", bankwidth); in card_settings()
459 dev->pcmcia_map.bankwidth << 3, dev->mtd_name); in card_settings()
479 if (dev->pcmcia_map.bankwidth == 1) { in pcmciamtd_config()
496 link->resource[2]->flags |= (dev->pcmcia_map.bankwidth == 1) ? in pcmciamtd_config()
612 if (dev->pcmcia_map.bankwidth == 1) { in pcmciamtd_config()
731 if(bankwidth && bankwidth != 1 && bankwidth != 2) { in init_pcmciamtd()
732 info("bad bankwidth (%d), using default", bankwidth); in init_pcmciamtd()
733 bankwidth = 2; in init_pcmciamtd()