• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/

Lines Matching refs:this

100 	struct nand_chip *this = mtd->priv;
103 memcpy_fromio(buf, this->IO_ADDR_R, 0x800);
107 memcpy_fromio(buf, this->IO_ADDR_R, len);
112 struct nand_chip *this = mtd->priv;
115 memcpy_toio(this->IO_ADDR_R, buf, 0x800);
119 memcpy_toio(this->IO_ADDR_R, buf, len);
124 struct nand_chip *this = mtd->priv;
125 return readb(this->IO_ADDR_R);
130 struct nand_chip *this = mtd->priv;
133 while (i && readb(this->IO_ADDR_R + MM_NAND_STS) & CS_NAND_CTLR_BUSY) {
137 writeb(byte, this->IO_ADDR_W + 0x801);
143 struct nand_chip *this = mtd->priv;
144 void __iomem *mmio_base = this->IO_ADDR_R;
155 struct nand_chip *this = mtd->priv;
156 void __iomem *mmio_base = this->IO_ADDR_R;
164 struct nand_chip *this = mtd->priv;
165 void __iomem *mmio_base = this->IO_ADDR_R;
173 struct nand_chip *this = mtd->priv;
174 void __iomem *mmio_base = this->IO_ADDR_R;
189 struct nand_chip *this;
208 this = (struct nand_chip *)(&new_mtd[1]);
212 memset(this, 0, sizeof(struct nand_chip));
215 new_mtd->priv = this;
219 this->IO_ADDR_R = this->IO_ADDR_W = ioremap(adr, 4096);
220 if (!this->IO_ADDR_R) {
226 this->cmd_ctrl = cs553x_hwcontrol;
227 this->dev_ready = cs553x_device_ready;
228 this->read_byte = cs553x_read_byte;
229 this->read_buf = cs553x_read_buf;
230 this->write_buf = cs553x_write_buf;
232 this->chip_delay = 0;
234 this->ecc.mode = NAND_ECC_HW;
235 this->ecc.size = 256;
236 this->ecc.bytes = 3;
237 this->ecc.hwctl = cs_enable_hwecc;
238 this->ecc.calculate = cs_calculate_ecc;
239 this->ecc.correct = nand_correct_data;
242 this->options = NAND_USE_FLASH_BBT | NAND_NO_AUTOINCR;
256 iounmap(this->IO_ADDR_R);
353 struct nand_chip *this;
359 this = cs553x_mtd[i]->priv;
360 mmio_base = this->IO_ADDR_R;