Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/nand/raw/
A Dsunxi_nand_spl.c259 int nsectors = len / conf->ecc_size; in nand_read_page() local
275 for (i = 0; i < nsectors; i++) { in nand_read_page()
332 int nsectors = conf->page_size / conf->ecc_size; in nand_max_ecc_strength() local
356 max_ecc_bytes = max_oobsize / nsectors; in nand_max_ecc_strength()
A Dsunxi_nand.c1399 int nsectors; in sunxi_nand_hw_common_ecc_ctrl_init() local
1443 nsectors = mtd->writesize / ecc->size; in sunxi_nand_hw_common_ecc_ctrl_init()
1474 int nsectors; in sunxi_nand_hw_ecc_ctrl_init() local
1487 nsectors = mtd->writesize / ecc->size; in sunxi_nand_hw_ecc_ctrl_init()
1489 for (i = 0; i < nsectors; i++) { in sunxi_nand_hw_ecc_ctrl_init()
1513 layout->oobfree[nsectors].offset = in sunxi_nand_hw_ecc_ctrl_init()
1514 layout->oobfree[nsectors - 1].offset + in sunxi_nand_hw_ecc_ctrl_init()
1515 layout->oobfree[nsectors - 1].length + in sunxi_nand_hw_ecc_ctrl_init()
1518 ((ecc->bytes + 4) * nsectors); in sunxi_nand_hw_ecc_ctrl_init()
1528 int nsectors; in sunxi_nand_hw_syndrome_ecc_ctrl_init() local
[all …]

Completed in 8 milliseconds