Lines Matching refs:this
58 struct onenand_chip *this = mtd->priv; in create_bbt() local
59 struct bbm_info *bbm = this->bbm; in create_bbt()
79 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt()
95 from + j * this->writesize + bd->offs, &ops); in create_bbt()
102 scanlen, this->writesize, bd)) { in create_bbt()
112 if (FLEXONENAND(this)) { in create_bbt()
133 struct onenand_chip *this = mtd->priv; in onenand_memory_bbt() local
135 return create_bbt(mtd, this->page_buf, bd, -1); in onenand_memory_bbt()
146 struct onenand_chip *this = mtd->priv; in onenand_isbad_bbt() local
147 struct bbm_info *bbm = this->bbm; in onenand_isbad_bbt()
152 block = (int) (onenand_block(this, offs) << 1); in onenand_isbad_bbt()
183 struct onenand_chip *this = mtd->priv; in onenand_scan_bbt() local
184 struct bbm_info *bbm = this->bbm; in onenand_scan_bbt()
187 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()
194 bbm->bbt_erase_shift = this->erase_shift; in onenand_scan_bbt()
231 struct onenand_chip *this = mtd->priv; in onenand_default_bbt() local
234 this->bbm = kzalloc(sizeof(struct bbm_info), GFP_KERNEL); in onenand_default_bbt()
235 if (!this->bbm) in onenand_default_bbt()
238 bbm = this->bbm; in onenand_default_bbt()