Home
last modified time | relevance | path

Searched refs:eccsize (Results 1 – 1 of 1) sorted by relevance

/external/arm-trusted-firmware/drivers/st/fmc/
Dstm32_fmc2_nand.c447 static int stm32_fmc2_bch_correct(uint8_t *buffer, unsigned int eccsize) in stm32_fmc2_bch_correct() argument
491 if (pos[i] < (eccsize * 8U)) { in stm32_fmc2_bch_correct()
517 unsigned int eccsize = nand->ecc.size; in stm32_fmc2_read_page() local
519 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()