Lines Matching refs:layout
477 static void pmecc_config_ecc_layout(struct nand_ecclayout *layout, in pmecc_config_ecc_layout() argument
482 layout->eccbytes = ecc_len; in pmecc_config_ecc_layout()
486 layout->eccpos[i] = oobsize - ecc_len + i; in pmecc_config_ecc_layout()
488 layout->oobfree[0].offset = PMECC_OOB_RESERVED_BYTES; in pmecc_config_ecc_layout()
489 layout->oobfree[0].length = in pmecc_config_ecc_layout()
490 oobsize - ecc_len - layout->oobfree[0].offset; in pmecc_config_ecc_layout()
836 pos = tmp + nand_chip->ecc.layout->eccpos[0]; in pmecc_correct_data()
925 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_read_page()
961 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_write_page()
1045 ecc_layout = nand_chip->ecc.layout; in atmel_pmecc_core_init()
1268 nand_chip->ecc.layout = &atmel_pmecc_oobinfo; in atmel_pmecc_nand_init_params()
1343 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_read_page()
1611 nand_chip->ecc.layout = &atmel_oobinfo_small; in atmel_hw_nand_init_params()
1615 nand_chip->ecc.layout = &atmel_oobinfo_large; in atmel_hw_nand_init_params()
1619 nand_chip->ecc.layout = &atmel_oobinfo_large; in atmel_hw_nand_init_params()
1623 nand_chip->ecc.layout = &atmel_oobinfo_large; in atmel_hw_nand_init_params()