Lines Matching defs:mbd
75 inftl->mbd.mtd = mtd;
76 inftl->mbd.devnum = -1;
78 inftl->mbd.tr = tr;
93 inftl->sectors = inftl->mbd.size / temp;
94 if (inftl->mbd.size % temp) {
97 inftl->heads = inftl->mbd.size / temp;
99 if (inftl->mbd.size % temp) {
102 inftl->cylinders = inftl->mbd.size / temp;
106 if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) {
109 mbd.size == heads * cylinders * sectors
112 "match size of 0x%lx.\n", inftl->mbd.size);
120 if (add_mtd_blktrans_dev(&inftl->mbd)) {
127 printk(KERN_INFO "INFTL: Found new inftl%c\n", inftl->mbd.devnum + 'a');
256 struct mtd_info *mtd = inftl->mbd.mtd;
364 inftl_write(inftl->mbd.mtd, (inftl->EraseSize * targetEUN) +
480 struct mtd_info *mtd = inftl->mbd.mtd;
642 struct mtd_info *mtd = inftl->mbd.mtd;
764 struct mtd_info *mtd = inftl->mbd.mtd;
819 static int inftl_writeblock(struct mtd_blktrans_dev *mbd, unsigned long block,
822 struct INFTLrecord *inftl = (void *)mbd;
853 inftl_write(inftl->mbd.mtd, (writeEUN * inftl->EraseSize) +
867 static int inftl_readblock(struct mtd_blktrans_dev *mbd, unsigned long block,
870 struct INFTLrecord *inftl = (void *)mbd;
873 struct mtd_info *mtd = inftl->mbd.mtd;