Home
last modified time | relevance | path

Searched refs:strengths (Results 1 – 5 of 5) sorted by relevance

/u-boot/drivers/pinctrl/uniphier/
A Dpinctrl-uniphier-core.c226 const unsigned int *strengths; in uniphier_pinconf_drive_set() local
236 strengths = uniphier_pinconf_drv_strengths_1bit; in uniphier_pinconf_drive_set()
242 strengths = uniphier_pinconf_drv_strengths_2bit; in uniphier_pinconf_drive_set()
248 strengths = uniphier_pinconf_drv_strengths_3bit; in uniphier_pinconf_drive_set()
266 if (strengths[val] > strength) in uniphier_pinconf_drive_set()
/u-boot/drivers/mtd/nand/raw/
A Dsunxi_nand.c1396 static const u8 strengths[] = { 16, 24, 28, 32, 40, 48, 56, 60, 64 }; in sunxi_nand_hw_common_ecc_ctrl_init() local
1417 for (i = 0; i < ARRAY_SIZE(strengths); i++) { in sunxi_nand_hw_common_ecc_ctrl_init()
1418 if (ecc->strength <= strengths[i]) { in sunxi_nand_hw_common_ecc_ctrl_init()
1423 ecc->strength = strengths[i]; in sunxi_nand_hw_common_ecc_ctrl_init()
1428 if (i >= ARRAY_SIZE(strengths)) { in sunxi_nand_hw_common_ecc_ctrl_init()
A Docteontx_nand.c1779 const u8 strengths[] = {4, 8, 16, 24, 32, 40, 48, 56, 60, 64}; in octeontx_nand_calc_bch_ecc_strength() local
1781 int index = ARRAY_SIZE(strengths) - 1; in octeontx_nand_calc_bch_ecc_strength()
1785 strengths[index - 1] >= ecc->strength) in octeontx_nand_calc_bch_ecc_strength()
1789 need = DIV_ROUND_UP(15 * strengths[index], 8); in octeontx_nand_calc_bch_ecc_strength()
1796 ecc->strength = strengths[index]; in octeontx_nand_calc_bch_ecc_strength()
A Dnand_base.c4764 if (stepinfo->strengths[j] != preset_strength) in nand_check_ecc_caps()
4828 strength = stepinfo->strengths[j]; in nand_match_ecc_req()
4908 strength = stepinfo->strengths[j]; in nand_maximize_ecc()
/u-boot/include/linux/mtd/
A Drawnand.h518 const int *strengths; member
539 .strengths = __name##_strengths, \

Completed in 31 milliseconds