Searched refs:strengths (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | rockchip_nand_v9.c | 446 static const u8 strengths[] = {70, 60, 40, 16}; variable 455 for (index = 0; index < ARRAY_SIZE(strengths); index++) in rockchip_nand_ecc_max_strength() 456 if (max_strength >= strengths[index]) in rockchip_nand_ecc_max_strength() 459 if (index >= ARRAY_SIZE(strengths)) in rockchip_nand_ecc_max_strength() 462 return strengths[index]; in rockchip_nand_ecc_max_strength() 469 for (index = 0; index < ARRAY_SIZE(strengths); index++) in rockchip_nand_strength_is_valid() 470 if (strength == strengths[index]) in rockchip_nand_strength_is_valid() 473 if (index == ARRAY_SIZE(strengths)) in rockchip_nand_strength_is_valid()
|
| H A D | rockchip_nand.c | 445 static const u8 strengths[] = {60, 40, 24, 16}; variable 454 for (index = 0; index < ARRAY_SIZE(strengths); index++) in rockchip_nand_ecc_max_strength() 455 if (max_strength >= strengths[index]) in rockchip_nand_ecc_max_strength() 458 if (index >= ARRAY_SIZE(strengths)) in rockchip_nand_ecc_max_strength() 461 return strengths[index]; in rockchip_nand_ecc_max_strength() 468 for (index = 0; index < ARRAY_SIZE(strengths); index++) in rockchip_nand_strength_is_valid() 469 if (strength == strengths[index]) in rockchip_nand_strength_is_valid() 472 if (index == ARRAY_SIZE(strengths)) in rockchip_nand_strength_is_valid()
|
| H A D | sunxi_nand.c | 1388 static const u8 strengths[] = { 16, 24, 28, 32, 40, 48, 56, 60, 64 }; in sunxi_nand_hw_common_ecc_ctrl_init() local 1409 for (i = 0; i < ARRAY_SIZE(strengths); i++) { in sunxi_nand_hw_common_ecc_ctrl_init() 1410 if (ecc->strength <= strengths[i]) { in sunxi_nand_hw_common_ecc_ctrl_init() 1415 ecc->strength = strengths[i]; in sunxi_nand_hw_common_ecc_ctrl_init() 1420 if (i >= ARRAY_SIZE(strengths)) { in sunxi_nand_hw_common_ecc_ctrl_init()
|
| H A D | nand_base.c | 4758 if (stepinfo->strengths[j] != preset_strength) in nand_check_ecc_caps() 4822 strength = stepinfo->strengths[j]; in nand_match_ecc_req() 4902 strength = stepinfo->strengths[j]; in nand_maximize_ecc()
|
| /rk3399_rockchip-uboot/include/linux/mtd/ |
| H A D | rawnand.h | 503 const int *strengths; member
|