Lines Matching refs:nand

303 	struct nand_chip	nand;  member
932 struct nand_chip *nand; in fsmc_nand_probe() local
1016 nand = &host->nand; in fsmc_nand_probe()
1017 mtd->priv = nand; in fsmc_nand_probe()
1018 nand->priv = host; in fsmc_nand_probe()
1021 nand->IO_ADDR_R = host->data_va; in fsmc_nand_probe()
1022 nand->IO_ADDR_W = host->data_va; in fsmc_nand_probe()
1023 nand->cmd_ctrl = fsmc_cmd_ctrl; in fsmc_nand_probe()
1024 nand->chip_delay = 30; in fsmc_nand_probe()
1026 nand->ecc.mode = NAND_ECC_HW; in fsmc_nand_probe()
1027 nand->ecc.hwctl = fsmc_enable_hwecc; in fsmc_nand_probe()
1028 nand->ecc.size = 512; in fsmc_nand_probe()
1029 nand->options = pdata->options; in fsmc_nand_probe()
1030 nand->select_chip = fsmc_select_chip; in fsmc_nand_probe()
1031 nand->badblockbits = 7; in fsmc_nand_probe()
1034 nand->options |= NAND_BUSWIDTH_16; in fsmc_nand_probe()
1052 nand->read_buf = fsmc_read_buf_dma; in fsmc_nand_probe()
1053 nand->write_buf = fsmc_write_buf_dma; in fsmc_nand_probe()
1058 nand->read_buf = fsmc_read_buf; in fsmc_nand_probe()
1059 nand->write_buf = fsmc_write_buf; in fsmc_nand_probe()
1064 nand->options & NAND_BUSWIDTH_16, in fsmc_nand_probe()
1068 nand->ecc.read_page = fsmc_read_page_hwecc; in fsmc_nand_probe()
1069 nand->ecc.calculate = fsmc_read_hwecc_ecc4; in fsmc_nand_probe()
1070 nand->ecc.correct = fsmc_bch8_correct_data; in fsmc_nand_probe()
1071 nand->ecc.bytes = 13; in fsmc_nand_probe()
1072 nand->ecc.strength = 8; in fsmc_nand_probe()
1074 nand->ecc.calculate = fsmc_read_hwecc_ecc1; in fsmc_nand_probe()
1075 nand->ecc.correct = nand_correct_data; in fsmc_nand_probe()
1076 nand->ecc.bytes = 3; in fsmc_nand_probe()
1077 nand->ecc.strength = 1; in fsmc_nand_probe()
1092 nand->ecc.layout = &fsmc_ecc4_16_layout; in fsmc_nand_probe()
1096 nand->ecc.layout = &fsmc_ecc4_64_layout; in fsmc_nand_probe()
1100 nand->ecc.layout = &fsmc_ecc4_128_layout; in fsmc_nand_probe()
1104 nand->ecc.layout = &fsmc_ecc4_224_layout; in fsmc_nand_probe()
1108 nand->ecc.layout = &fsmc_ecc4_256_layout; in fsmc_nand_probe()
1119 nand->ecc.layout = &fsmc_ecc1_16_layout; in fsmc_nand_probe()
1122 nand->ecc.layout = &fsmc_ecc1_64_layout; in fsmc_nand_probe()
1125 nand->ecc.layout = &fsmc_ecc1_128_layout; in fsmc_nand_probe()
1211 host->nand.options & NAND_BUSWIDTH_16, in fsmc_nand_resume()