Lines Matching refs:this

218 	struct onenand_chip *this = onenand->mtd->priv;
220 int reg = addr - this->base;
268 struct onenand_chip *this = onenand->mtd->priv;
270 unsigned int reg = addr - this->base;
379 struct onenand_chip *this = mtd->priv;
386 fba = (int) (addr >> this->erase_shift);
387 fpa = (int) (addr >> this->page_shift);
388 fpa &= this->page_mask;
398 ONENAND_SET_NEXT_BUFFERRAM(this);
403 index = ONENAND_CURRENT_BUFFERRAM(this);
412 m += (this->writesize >> 2);
476 struct onenand_chip *this = mtd->priv;
477 int index = ONENAND_CURRENT_BUFFERRAM(this);
483 p += this->writesize;
618 struct onenand_chip *this = mtd->priv;
625 p = this->base + area;
626 if (ONENAND_CURRENT_BUFFERRAM(this)) {
628 p += this->writesize;
653 dma_src = onenand->phys_base + (p - this->base);
657 dma_src = onenand->phys_base + (p - this->base);
678 memcpy_fromio(this->page_buf, p, mtd->writesize);
679 memcpy(buffer, this->page_buf + offset, count);
728 struct onenand_chip *this = mtd->priv;
732 end = this->chipsize >> this->erase_shift;
748 struct onenand_chip *this = mtd->priv;
751 start = ofs >> this->erase_shift;
753 end = start + (len >> this->erase_shift) - 1;
768 this->wait(mtd, FL_LOCKING);
773 struct onenand_chip *this = mtd->priv;
775 size_t len = this->chipsize;
777 if (this->options & ONENAND_HAS_UNLOCK_ALL) {
779 this->command(mtd, ONENAND_CMD_UNLOCK_ALL, 0, 0);
782 this->wait(mtd, FL_LOCKING);
785 if (!ONENAND_IS_DDP(this)) {
791 ofs = this->chipsize >> 1;
792 len = this->chipsize >> 1;
802 struct onenand_chip *this = mtd->priv;
814 this->read_bufferram = s5pc110_read_bufferram;
815 this->chip_probe = s5pc110_chip_probe;
821 this->read_word = s3c_onenand_readw;
822 this->write_word = s3c_onenand_writew;
824 this->wait = s3c_onenand_wait;
825 this->bbt_wait = s3c_onenand_bbt_wait;
826 this->unlock_all = s3c_unlock_all;
827 this->command = s3c_onenand_command;
829 this->read_bufferram = onenand_read_bufferram;
830 this->write_bufferram = onenand_write_bufferram;
836 struct onenand_chip *this;
854 this = (struct onenand_chip *) &mtd[1];
855 mtd->priv = this;
870 this->base = onenand->base;
873 this->options |= ONENAND_SKIP_UNLOCK_CHECK;
894 this->subpagesize = mtd->writesize;
926 this->subpagesize = mtd->writesize;
957 struct onenand_chip *this = mtd->priv;
959 this->wait(mtd, FL_PM_SUSPENDED);
966 struct onenand_chip *this = mtd->priv;
968 this->unlock_all(mtd);