Searched refs:eccsize (Results 1 – 1 of 1) sorted by relevance
447 static int stm32_fmc2_bch_correct(uint8_t *buffer, unsigned int eccsize) in stm32_fmc2_bch_correct() argument491 if (pos[i] < (eccsize * 8U)) { in stm32_fmc2_bch_correct()517 unsigned int eccsize = nand->ecc.size; in stm32_fmc2_read_page() local519 unsigned int eccsteps = nand->page_size / eccsize; in stm32_fmc2_read_page()536 s++, i += eccbytes, p += eccsize) { in stm32_fmc2_read_page()540 ret = nand_change_read_column_cmd(s * eccsize, (uintptr_t)p, in stm32_fmc2_read_page()541 eccsize); in stm32_fmc2_read_page()564 ret = stm32_fmc2_bch_correct(p, eccsize); in stm32_fmc2_read_page()