Lines Matching refs:this

42 	struct nand_chip *this = mtd->priv;  in au_read_byte()  local
43 u_char ret = readb(this->IO_ADDR_R); in au_read_byte()
57 struct nand_chip *this = mtd->priv; in au_write_byte() local
58 writeb(byte, this->IO_ADDR_W); in au_write_byte()
70 struct nand_chip *this = mtd->priv; in au_read_byte16() local
71 u_char ret = (u_char) cpu_to_le16(readw(this->IO_ADDR_R)); in au_read_byte16()
85 struct nand_chip *this = mtd->priv; in au_write_byte16() local
86 writew(le16_to_cpu((u16) byte), this->IO_ADDR_W); in au_write_byte16()
98 struct nand_chip *this = mtd->priv; in au_read_word() local
99 u16 ret = readw(this->IO_ADDR_R); in au_read_word()
115 struct nand_chip *this = mtd->priv; in au_write_buf() local
118 writeb(buf[i], this->IO_ADDR_W); in au_write_buf()
134 struct nand_chip *this = mtd->priv; in au_read_buf() local
137 buf[i] = readb(this->IO_ADDR_R); in au_read_buf()
153 struct nand_chip *this = mtd->priv; in au_write_buf16() local
158 writew(p[i], this->IO_ADDR_W); in au_write_buf16()
175 struct nand_chip *this = mtd->priv; in au_read_buf16() local
180 p[i] = readw(this->IO_ADDR_R); in au_read_buf16()
201 struct nand_chip *this = mtd->priv; in au1550_hwcontrol() local
206 this->IO_ADDR_W = ctx->base + MEM_STNAND_CMD; in au1550_hwcontrol()
210 this->IO_ADDR_W = ctx->base + MEM_STNAND_DATA; in au1550_hwcontrol()
214 this->IO_ADDR_W = ctx->base + MEM_STNAND_ADDR; in au1550_hwcontrol()
218 this->IO_ADDR_W = ctx->base + MEM_STNAND_DATA; in au1550_hwcontrol()
235 this->IO_ADDR_R = this->IO_ADDR_W; in au1550_hwcontrol()
271 struct nand_chip *this = mtd->priv; in au1550_command() local
307 if (this->options & NAND_BUSWIDTH_16 && in au1550_command()
334 if (this->chipsize > (32 << 20)) in au1550_command()
368 for (i = this->chip_delay; !this->dev_ready(mtd) && i > 0; --i) in au1550_command()
379 while(!this->dev_ready(mtd)); in au1550_command()
407 struct nand_chip *this; in au1550nd_probe() local
440 this = &ctx->chip; in au1550nd_probe()
441 ctx->info.priv = this; in au1550nd_probe()
453 this->dev_ready = au1550_device_ready; in au1550nd_probe()
454 this->select_chip = au1550_select_chip; in au1550nd_probe()
455 this->cmdfunc = au1550_command; in au1550nd_probe()
458 this->chip_delay = 30; in au1550nd_probe()
459 this->ecc.mode = NAND_ECC_SOFT; in au1550nd_probe()
462 this->options |= NAND_BUSWIDTH_16; in au1550nd_probe()
464 this->read_byte = (pd->devwidth) ? au_read_byte16 : au_read_byte; in au1550nd_probe()
466 this->read_word = au_read_word; in au1550nd_probe()
467 this->write_buf = (pd->devwidth) ? au_write_buf16 : au_write_buf; in au1550nd_probe()
468 this->read_buf = (pd->devwidth) ? au_read_buf16 : au_read_buf; in au1550nd_probe()