Lines Matching refs:nseeds
92 int nseeds; member
272 rand_seed = random_seed[page % conf->nseeds]; in nand_read_page()
414 conf->nseeds = ARRAY_SIZE(random_seed); in nand_detect_ecc_config()
428 while (conf->nseeds >= 16) { in nand_detect_ecc_config()
429 int seed = page % conf->nseeds; in nand_detect_ecc_config()
431 conf->nseeds >>= 1; in nand_detect_ecc_config()
432 if (seed != page % conf->nseeds) in nand_detect_ecc_config()
435 } while (conf->nseeds >= 16); in nand_detect_ecc_config()
483 first_seed = page % conf->nseeds; in nand_read_buffer()
496 int cur_seed = page % conf->nseeds; in nand_read_buffer()
506 conf->nseeds = cur_seed; in nand_read_buffer()