Searched refs:strengths (Results 1 - 8 of 8) sorted by relevance

/u-boot/drivers/pinctrl/uniphier/
H A Dpinctrl-uniphier-core.c229 const unsigned int *strengths; local
239 strengths = uniphier_pinconf_drv_strengths_1bit;
245 strengths = uniphier_pinconf_drv_strengths_2bit;
251 strengths = uniphier_pinconf_drv_strengths_3bit;
269 if (strengths[val] > strength)
/u-boot/drivers/mtd/nand/raw/atmel/
H A Dpmecc.c141 const int *strengths; member in struct:atmel_pmecc_caps
298 int nbytes, strength = pmecc->caps->strengths[i];
381 if (pmecc->caps->strengths[strength] == req->ecc.strength)
407 const int *strengths = user->pmecc->caps->strengths; local
409 return strengths[user->cache.cfg & PMECC_CFG_BCH_STRENGTH_MASK];
884 .strengths = atmel_pmecc_strengths,
890 .strengths = atmel_pmecc_strengths,
897 .strengths = atmel_pmecc_strengths,
/u-boot/drivers/mtd/nand/raw/
H A Dsunxi_nand.c1396 static const u8 strengths[] = { 16, 24, 28, 32, 40, 48, 56, 60, 64 }; local
1417 for (i = 0; i < ARRAY_SIZE(strengths); i++) {
1418 if (ecc->strength <= strengths[i]) {
1423 ecc->strength = strengths[i];
1428 if (i >= ARRAY_SIZE(strengths)) {
H A Drockchip_nfc.c122 * @ecc_strengths: ECC strengths
828 const u8 *strengths = nfc->cfg->ecc_strengths; local
851 if (max_strength >= strengths[i])
860 ecc->strength = strengths[i];
H A Docteontx_nand.c1775 const u8 strengths[] = {4, 8, 16, 24, 32, 40, 48, 56, 60, 64}; local
1776 /* first set the desired ecc_level to match strengths[] */
1777 int index = ARRAY_SIZE(strengths) - 1;
1781 strengths[index - 1] >= ecc->strength)
1785 need = DIV_ROUND_UP(15 * strengths[index], 8);
1792 ecc->strength = strengths[index];
H A Dmeson_nand.c949 .strengths = axg_stepinfo_strengths,
955 .strengths = axg_stepinfo_strengths,
H A Dnand_base.c4660 if (stepinfo->strengths[j] != preset_strength)
4724 strength = stepinfo->strengths[j];
4804 strength = stepinfo->strengths[j];
/u-boot/include/linux/mtd/
H A Drawnand.h511 * @strengths: array of supported strengths
512 * @nstrengths: number of supported strengths
516 const int *strengths; member in struct:nand_ecc_step_info
537 .strengths = __name##_strengths, \

Completed in 168 milliseconds