Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mtd/nand/raw/
Dtegra_nand.c207 int bytes_per_step = DIV_ROUND_UP(BITS_PER_STEP_RS * chip->ecc.strength, in tegra_nand_ooblayout_rs_ecc() local
214 oobregion->length = round_up(bytes_per_step * chip->ecc.steps, 4); in tegra_nand_ooblayout_rs_ecc()
234 int bytes_per_step = DIV_ROUND_UP(BITS_PER_STEP_BCH * chip->ecc.strength, in tegra_nand_ooblayout_bch_ecc() local
241 oobregion->length = round_up(bytes_per_step * chip->ecc.steps, 4); in tegra_nand_ooblayout_bch_ecc()
857 int strength_sel, bytes_per_step, bytes_per_page; in tegra_nand_get_strength() local
868 bytes_per_step = DIV_ROUND_UP(bits_per_step * strength_sel, in tegra_nand_get_strength()
870 bytes_per_page = round_up(bytes_per_step * chip->ecc.steps, 4); in tegra_nand_get_strength()