Lines Matching refs:this
67 struct nand_chip *this = mtd->priv; in ams_delta_write_byte() local
68 void __iomem *io_base = this->priv; in ams_delta_write_byte()
71 writew(byte, this->IO_ADDR_W); in ams_delta_write_byte()
80 struct nand_chip *this = mtd->priv; in ams_delta_read_byte() local
81 void __iomem *io_base = this->priv; in ams_delta_read_byte()
86 res = readw(this->IO_ADDR_R); in ams_delta_read_byte()
177 struct nand_chip *this; in ams_delta_init() local
197 this = (struct nand_chip *) (&ams_delta_mtd[1]); in ams_delta_init()
200 ams_delta_mtd->priv = this; in ams_delta_init()
215 this->priv = io_base; in ams_delta_init()
218 this->IO_ADDR_R = io_base + OMAP_MPUIO_INPUT_LATCH; in ams_delta_init()
219 this->IO_ADDR_W = io_base + OMAP_MPUIO_OUTPUT; in ams_delta_init()
220 this->read_byte = ams_delta_read_byte; in ams_delta_init()
221 this->write_buf = ams_delta_write_buf; in ams_delta_init()
222 this->read_buf = ams_delta_read_buf; in ams_delta_init()
223 this->cmd_ctrl = ams_delta_hwcontrol; in ams_delta_init()
225 this->dev_ready = ams_delta_nand_ready; in ams_delta_init()
227 this->dev_ready = NULL; in ams_delta_init()
231 this->chip_delay = 30; in ams_delta_init()
232 this->ecc.mode = NAND_ECC_SOFT; in ams_delta_init()