Lines Matching refs:layout
963 static void ecc_8bit_layout_4k(struct nand_ecclayout *layout) in ecc_8bit_layout_4k() argument
967 layout->eccbytes = 8*18; in ecc_8bit_layout_4k()
970 layout->eccpos[i*18 + j] = i*26 + j + 7; in ecc_8bit_layout_4k()
972 layout->oobfree[0].offset = 2; in ecc_8bit_layout_4k()
973 layout->oobfree[0].length = 4; in ecc_8bit_layout_4k()
975 layout->oobfree[i].offset = i*26; in ecc_8bit_layout_4k()
976 layout->oobfree[i].length = 7; in ecc_8bit_layout_4k()
1581 this->ecc.layout = host->devtype_data->ecclayout_512; 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()