Searched refs:nsectors (Results 1 – 2 of 2) sorted by relevance
259 int nsectors = len / conf->ecc_size; in nand_read_page() local275 for (i = 0; i < nsectors; i++) { in nand_read_page()332 int nsectors = conf->page_size / conf->ecc_size; in nand_max_ecc_strength() local356 max_ecc_bytes = max_oobsize / nsectors; in nand_max_ecc_strength()
1399 int nsectors; in sunxi_nand_hw_common_ecc_ctrl_init() local1443 nsectors = mtd->writesize / ecc->size; in sunxi_nand_hw_common_ecc_ctrl_init()1474 int nsectors; in sunxi_nand_hw_ecc_ctrl_init() local1487 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