Lines Matching refs:mbd
77 inftl->mbd.mtd = mtd;
78 inftl->mbd.devnum = -1;
80 inftl->mbd.tr = tr;
95 inftl->sectors = inftl->mbd.size / temp;
96 if (inftl->mbd.size % temp) {
99 inftl->heads = inftl->mbd.size / temp;
101 if (inftl->mbd.size % temp) {
104 inftl->cylinders = inftl->mbd.size / temp;
108 if (inftl->mbd.size != inftl->heads * inftl->cylinders * inftl->sectors) {
111 mbd.size == heads * cylinders * sectors
114 "match size of 0x%lx.\n", inftl->mbd.size);
122 if (add_mtd_blktrans_dev(&inftl->mbd)) {
129 printk(KERN_INFO "INFTL: Found new inftl%c\n", inftl->mbd.devnum + 'a');
259 struct mtd_info *mtd = inftl->mbd.mtd;
366 inftl_write(inftl->mbd.mtd, (inftl->EraseSize * targetEUN) +
479 struct mtd_info *mtd = inftl->mbd.mtd;
641 struct mtd_info *mtd = inftl->mbd.mtd;
763 struct mtd_info *mtd = inftl->mbd.mtd;
818 static int inftl_writeblock(struct mtd_blktrans_dev *mbd, unsigned long block,
821 struct INFTLrecord *inftl = (void *)mbd;
852 inftl_write(inftl->mbd.mtd, (writeEUN * inftl->EraseSize) +
866 static int inftl_readblock(struct mtd_blktrans_dev *mbd, unsigned long block,
869 struct INFTLrecord *inftl = (void *)mbd;
872 struct mtd_info *mtd = inftl->mbd.mtd;