Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dsunxi_nand_spl.c90 int nseeds; member
270 rand_seed = random_seed[page % conf->nseeds]; in nand_read_page()
412 conf->nseeds = ARRAY_SIZE(random_seed); in nand_detect_ecc_config()
426 while (conf->nseeds >= 16) { in nand_detect_ecc_config()
427 int seed = page % conf->nseeds; in nand_detect_ecc_config()
429 conf->nseeds >>= 1; in nand_detect_ecc_config()
430 if (seed != page % conf->nseeds) in nand_detect_ecc_config()
433 } while (conf->nseeds >= 16); in nand_detect_ecc_config()
481 first_seed = page % conf->nseeds; in nand_read_buffer()
494 int cur_seed = page % conf->nseeds; in nand_read_buffer()
[all …]