Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dsunxi_nand_spl.c329 int max_oobsize, max_ecc_bytes; in nand_max_ecc_strength() local
339 max_oobsize = 64; in nand_max_ecc_strength()
342 max_oobsize = 256; in nand_max_ecc_strength()
345 max_oobsize = 640; in nand_max_ecc_strength()
348 max_oobsize = 1664; in nand_max_ecc_strength()
354 max_ecc_bytes = max_oobsize / nsectors; in nand_max_ecc_strength()
H A Dnand_base.c1698 uint32_t max_oobsize = mtd_oobavail(mtd, ops); in nand_do_read_ops() local
1785 int toread = min(oobreadlen, max_oobsize); in nand_do_read_ops()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_base.c3564 uint32_t max_oobsize = mtd_oobavail(mtd, ops); in nand_do_read_ops() local
3655 int toread = min(oobreadlen, max_oobsize); in nand_do_read_ops()