Lines Matching refs:this
147 struct nand_chip *this; in autcpu12_init() local
168 this = (struct nand_chip *) (&autcpu12_mtd[1]); in autcpu12_init()
172 memset((char *) this, 0, sizeof(struct nand_chip)); in autcpu12_init()
175 autcpu12_mtd->priv = this; in autcpu12_init()
178 this->IO_ADDR_R = autcpu12_fio_base; in autcpu12_init()
179 this->IO_ADDR_W = autcpu12_fio_base; in autcpu12_init()
180 this->hwcontrol = autcpu12_hwcontrol; in autcpu12_init()
181 this->dev_ready = autcpu12_device_ready; in autcpu12_init()
183 this->chip_delay = 20; in autcpu12_init()
184 this->eccmode = NAND_ECC_SOFT; in autcpu12_init()
193 …this->data_buf = kmalloc (sizeof(u_char) * (autcpu12_mtd->oobblock + autcpu12_mtd->oobsize), GFP_K… in autcpu12_init()
194 if (!this->data_buf) { in autcpu12_init()
201 …this->data_cache = kmalloc (sizeof(u_char) * (autcpu12_mtd->oobblock + autcpu12_mtd->oobsize), GFP… in autcpu12_init()
202 if (!this->data_cache) { in autcpu12_init()
207 this->cache_page = -1; in autcpu12_init()
224 kfree (this->data_cache); in autcpu12_init()
226 kfree (this->data_buf); in autcpu12_init()
243 struct nand_chip *this = (struct nand_chip *) &autcpu12_mtd[1]; in autcpu12_cleanup() local
252 kfree (this->data_buf); in autcpu12_cleanup()
253 kfree (this->data_cache); in autcpu12_cleanup()