Lines Matching refs:this

814 	struct nand_chip *this = mtd->priv;  in copy_spare()  local
815 struct mxc_nand_host *host = this->priv; in copy_spare()
1431 struct nand_chip *this; in mxcnd_probe() local
1450 this = &host->nand; in mxcnd_probe()
1452 mtd->priv = this; in mxcnd_probe()
1458 this->chip_delay = 5; in mxcnd_probe()
1460 this->priv = host; in mxcnd_probe()
1461 this->dev_ready = mxc_nand_dev_ready; in mxcnd_probe()
1462 this->cmdfunc = mxc_nand_command; in mxcnd_probe()
1463 this->read_byte = mxc_nand_read_byte; in mxcnd_probe()
1464 this->read_word = mxc_nand_read_word; in mxcnd_probe()
1465 this->write_buf = mxc_nand_write_buf; in mxcnd_probe()
1466 this->read_buf = mxc_nand_read_buf; in mxcnd_probe()
1510 this->ecc.bytes = host->devtype_data->eccbytes; in mxcnd_probe()
1513 this->select_chip = host->devtype_data->select_chip; in mxcnd_probe()
1514 this->ecc.size = 512; in mxcnd_probe()
1515 this->ecc.layout = host->devtype_data->ecclayout_512; in mxcnd_probe()
1518 this->ecc.calculate = mxc_nand_calculate_ecc; in mxcnd_probe()
1519 this->ecc.hwctl = mxc_nand_enable_hwecc; in mxcnd_probe()
1520 this->ecc.correct = host->devtype_data->correct_data; in mxcnd_probe()
1521 this->ecc.mode = NAND_ECC_HW; in mxcnd_probe()
1523 this->ecc.mode = NAND_ECC_SOFT; in mxcnd_probe()
1528 this->options |= NAND_BUSWIDTH_16; in mxcnd_probe()
1531 this->bbt_td = &bbt_main_descr; in mxcnd_probe()
1532 this->bbt_md = &bbt_mirror_descr; in mxcnd_probe()
1534 this->bbt_options |= NAND_BBT_USE_FLASH; in mxcnd_probe()
1589 this->ecc.layout = host->devtype_data->ecclayout_2k; in mxcnd_probe()
1591 this->ecc.layout = host->devtype_data->ecclayout_4k; in mxcnd_probe()
1593 if (this->ecc.mode == NAND_ECC_HW) { in mxcnd_probe()
1595 this->ecc.strength = 1; in mxcnd_probe()
1597 this->ecc.strength = (host->eccsize == 4) ? 4 : 8; in mxcnd_probe()