Lines Matching refs:this
107 struct nand_chip *this; in spia_init() local
118 this = (struct nand_chip *) (&spia_mtd[1]); in spia_init()
122 memset((char *) this, 0, sizeof(struct nand_chip)); in spia_init()
125 spia_mtd->priv = this; in spia_init()
134 this->IO_ADDR_R = spia_fio_base; in spia_init()
135 this->IO_ADDR_W = spia_fio_base; in spia_init()
137 this->hwcontrol = spia_hwcontrol; in spia_init()
139 this->chip_delay = 15; in spia_init()
148 this->data_buf = kmalloc (sizeof(u_char) * (spia_mtd->oobblock + spia_mtd->oobsize), GFP_KERNEL); in spia_init()
149 if (!this->data_buf) { in spia_init()
156 this->data_cache = kmalloc (sizeof(u_char) * (spia_mtd->oobblock + spia_mtd->oobsize), GFP_KERNEL); in spia_init()
157 if (!this->data_cache) { in spia_init()
159 kfree (this->data_buf); in spia_init()
163 this->cache_page = -1; in spia_init()
179 struct nand_chip *this = (struct nand_chip *) &spia_mtd[1]; in spia_cleanup() local
185 kfree (this->data_buf); in spia_cleanup()
186 kfree (this->page_cache); in spia_cleanup()