Lines Matching refs:nand
921 struct nand_chip *nand = &tegra->nand_chip; in tegra_probe() local
934 nand->ecc.mode = NAND_ECC_HW; in tegra_probe()
935 nand->ecc.layout = &eccoob; in tegra_probe()
937 nand->options = LP_OPTIONS; in tegra_probe()
938 nand->cmdfunc = nand_command; in tegra_probe()
939 nand->read_byte = read_byte; in tegra_probe()
940 nand->read_buf = read_buf; in tegra_probe()
941 nand->ecc.read_page = nand_read_page_hwecc; in tegra_probe()
942 nand->ecc.write_page = nand_write_page_hwecc; in tegra_probe()
943 nand->ecc.read_page_raw = nand_read_page_raw; in tegra_probe()
944 nand->ecc.write_page_raw = nand_write_page_raw; in tegra_probe()
945 nand->ecc.read_oob = nand_read_oob; in tegra_probe()
946 nand->ecc.write_oob = nand_write_oob; in tegra_probe()
947 nand->ecc.strength = 1; in tegra_probe()
948 nand->select_chip = nand_select_chip; in tegra_probe()
949 nand->dev_ready = nand_dev_ready; in tegra_probe()
950 nand_set_controller_data(nand, &tegra->nand_ctrl); in tegra_probe()
953 nand->options |= NAND_NO_SUBPAGE_WRITE; in tegra_probe()
963 our_mtd = nand_to_mtd(nand); in tegra_probe()
968 nand->ecc.size = our_mtd->writesize; in tegra_probe()
969 nand->ecc.bytes = our_mtd->oobsize; in tegra_probe()