Lines Matching refs:this
59 struct onenand_chip *this = mtd->priv; in create_bbt() local
60 struct bbm_info *bbm = this->bbm; in create_bbt()
80 numblocks = this->chipsize >> (bbm->bbt_erase_shift - 1); in create_bbt()
96 from + j * this->writesize + bd->offs, &ops); in create_bbt()
103 scanlen, this->writesize, bd)) { in create_bbt()
113 if (FLEXONENAND(this)) { in create_bbt()
134 struct onenand_chip *this = mtd->priv; in onenand_memory_bbt() local
136 return create_bbt(mtd, this->page_buf, bd, -1); in onenand_memory_bbt()
147 struct onenand_chip *this = mtd->priv; in onenand_isbad_bbt() local
148 struct bbm_info *bbm = this->bbm; in onenand_isbad_bbt()
153 block = (int) (onenand_block(this, offs) << 1); in onenand_isbad_bbt()
184 struct onenand_chip *this = mtd->priv; in onenand_scan_bbt() local
185 struct bbm_info *bbm = this->bbm; in onenand_scan_bbt()
188 len = this->chipsize >> (this->erase_shift + 2); in onenand_scan_bbt()
198 bbm->bbt_erase_shift = this->erase_shift; in onenand_scan_bbt()
235 struct onenand_chip *this = mtd->priv; in onenand_default_bbt() local
238 this->bbm = kzalloc(sizeof(struct bbm_info), GFP_KERNEL); in onenand_default_bbt()
239 if (!this->bbm) in onenand_default_bbt()
242 bbm = this->bbm; in onenand_default_bbt()