Lines Matching refs:this
129 struct nand_chip *this; in ep7312_init() local
153 this = (struct nand_chip *) (&ep7312_mtd[1]); in ep7312_init()
157 memset((char *) this, 0, sizeof(struct nand_chip)); in ep7312_init()
160 ep7312_mtd->priv = this; in ep7312_init()
169 this->IO_ADDR_R = ep7312_fio_base; in ep7312_init()
170 this->IO_ADDR_W = ep7312_fio_base; in ep7312_init()
171 this->hwcontrol = ep7312_hwcontrol; in ep7312_init()
172 this->dev_ready = ep7312_device_ready; in ep7312_init()
174 this->chip_delay = 15; in ep7312_init()
184 …this->data_buf = kmalloc (sizeof(u_char) * (ep7312_mtd->oobblock + ep7312_mtd->oobsize), GFP_KERNE… in ep7312_init()
185 if (!this->data_buf) { in ep7312_init()
193 …this->data_cache = kmalloc (sizeof(u_char) * (ep7312_mtd->oobblock + ep7312_mtd->oobsize), GFP_KER… in ep7312_init()
194 if (!this->data_cache) { in ep7312_init()
196 kfree (this->data_buf); in ep7312_init()
201 this->cache_page = -1; in ep7312_init()
232 struct nand_chip *this = (struct nand_chip *) &ep7312_mtd[1]; in ep7312_cleanup() local
238 kfree (this->data_buf); in ep7312_cleanup()
239 kfree (this->data_cache); in ep7312_cleanup()