Lines Matching refs:this

853 	struct nand_chip *this = mtd->priv;  in copy_spare()  local
854 struct mxc_nand_host *host = this->priv; in copy_spare()
1498 struct nand_chip *this; in mxcnd_probe() local
1517 this = &host->nand; in mxcnd_probe()
1519 mtd->priv = this; in mxcnd_probe()
1524 this->chip_delay = 5; in mxcnd_probe()
1526 this->priv = host; in mxcnd_probe()
1527 this->dev_ready = mxc_nand_dev_ready; in mxcnd_probe()
1528 this->cmdfunc = mxc_nand_command; in mxcnd_probe()
1529 this->read_byte = mxc_nand_read_byte; in mxcnd_probe()
1530 this->read_word = mxc_nand_read_word; in mxcnd_probe()
1531 this->write_buf = mxc_nand_write_buf; in mxcnd_probe()
1532 this->read_buf = mxc_nand_read_buf; in mxcnd_probe()
1576 this->ecc.bytes = host->devtype_data->eccbytes; in mxcnd_probe()
1579 this->select_chip = host->devtype_data->select_chip; in mxcnd_probe()
1580 this->ecc.size = 512; in mxcnd_probe()
1581 this->ecc.layout = host->devtype_data->ecclayout_512; in mxcnd_probe()
1584 this->ecc.calculate = mxc_nand_calculate_ecc; in mxcnd_probe()
1585 this->ecc.hwctl = mxc_nand_enable_hwecc; in mxcnd_probe()
1586 this->ecc.correct = host->devtype_data->correct_data; in mxcnd_probe()
1587 this->ecc.mode = NAND_ECC_HW; in mxcnd_probe()
1589 this->ecc.mode = NAND_ECC_SOFT; in mxcnd_probe()
1594 this->options |= NAND_BUSWIDTH_16; in mxcnd_probe()
1597 this->bbt_td = &bbt_main_descr; in mxcnd_probe()
1598 this->bbt_md = &bbt_mirror_descr; in mxcnd_probe()
1600 this->bbt_options |= NAND_BBT_USE_FLASH; in mxcnd_probe()
1655 this->ecc.layout = host->devtype_data->ecclayout_2k; in mxcnd_probe()
1657 this->ecc.layout = host->devtype_data->ecclayout_4k; in mxcnd_probe()
1659 ecc_8bit_layout_4k(this->ecc.layout); in mxcnd_probe()
1671 if (this->ecc.mode == NAND_ECC_HW) { in mxcnd_probe()
1673 this->ecc.strength = 1; in mxcnd_probe()
1675 this->ecc.strength = (host->eccsize == 4) ? 4 : 8; in mxcnd_probe()