Lines Matching refs:layout
91 static void pmecc_config_ecc_layout(struct nand_ecclayout *layout, in pmecc_config_ecc_layout() argument
96 layout->eccbytes = ecc_len; in pmecc_config_ecc_layout()
100 layout->eccpos[i] = oobsize - ecc_len + i; in pmecc_config_ecc_layout()
102 layout->oobfree[0].offset = 2; in pmecc_config_ecc_layout()
103 layout->oobfree[0].length = in pmecc_config_ecc_layout()
104 oobsize - ecc_len - layout->oobfree[0].offset; in pmecc_config_ecc_layout()
471 pos = tmp + nand_chip->ecc.layout->eccpos[0]; in pmecc_correct_data()
535 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_read_page()
575 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_pmecc_write_page()
671 ecc_layout = nand_chip->ecc.layout; in atmel_pmecc_core_init()
919 nand->ecc.layout = &atmel_pmecc_oobinfo; in atmel_pmecc_nand_init_params()
1026 uint32_t *eccpos = chip->ecc.layout->eccpos; in atmel_nand_read_page()
1167 nand->ecc.layout = &atmel_oobinfo_small; in atmel_hwecc_nand_init_param()
1172 nand->ecc.layout = &atmel_oobinfo_large; in atmel_hwecc_nand_init_param()
1177 nand->ecc.layout = &atmel_oobinfo_large; in atmel_hwecc_nand_init_param()
1182 nand->ecc.layout = &atmel_oobinfo_large; in atmel_hwecc_nand_init_param()