Searched refs:ecc_step (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | rockchip_nand_spl_v9.c | 175 int ret, step, bch_st, ecc_step; in nandc_read_page() local 177 ecc_step = nand_page_size / 1024; in nandc_read_page() 183 for (step = 0; step < ecc_step; step++) { in nandc_read_page() 200 if ((step + 1) < ecc_step) in nandc_read_page()
|
| H A D | rockchip_nand_spl.c | 180 int ret, step, bch_st, ecc_step; in nandc_read_page() local 182 ecc_step = nand_page_size / 1024; in nandc_read_page() 188 for (step = 0; step < ecc_step; step++) { in nandc_read_page() 205 if ((step + 1) < ecc_step) in nandc_read_page()
|
| H A D | pxa3xx_nand.c | 1647 uint16_t ecc_strength, ecc_step; in pxa3xx_nand_scan() local 1692 ecc_step = pdata->ecc_step_size; in pxa3xx_nand_scan() 1695 ecc_step = chip->ecc_step_ds; in pxa3xx_nand_scan() 1699 if (ecc_strength < 1 && ecc_step < 1) { in pxa3xx_nand_scan() 1701 ecc_step = 512; in pxa3xx_nand_scan() 1705 ecc_step, mtd->writesize); in pxa3xx_nand_scan()
|
| H A D | mxs_nand.c | 167 unsigned int ecc_step) in mxs_nand_calc_ecc_layout_by_info() argument 172 switch (ecc_step) { in mxs_nand_calc_ecc_layout_by_info() 183 geo->ecc_chunk_size = ecc_step; in mxs_nand_calc_ecc_layout_by_info()
|
| H A D | nand_base.c | 4576 int ret, ecc_mode = -1, ecc_strength, ecc_step; in nand_dt_init() local 4605 ecc_step = fdtdec_get_int(blob, node, "nand-ecc-step-size", -1); in nand_dt_init() 4607 if ((ecc_step >= 0 && !(ecc_strength >= 0)) || in nand_dt_init() 4608 (!(ecc_step >= 0) && ecc_strength >= 0)) { in nand_dt_init() 4619 if (ecc_step > 0) in nand_dt_init() 4620 chip->ecc.size = ecc_step; in nand_dt_init()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/gpmi-nand/ |
| H A D | gpmi-nand.c | 260 unsigned int ecc_step) in set_geometry_by_ecc_info() argument 267 switch (ecc_step) { in set_geometry_by_ecc_info() 281 geo->ecc_chunk_size = ecc_step; in set_geometry_by_ecc_info() 290 ecc_step, mtd->oobsize); in set_geometry_by_ecc_info()
|