Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dtegra_nand.c204 int bytes_per_step = DIV_ROUND_UP(BITS_PER_STEP_RS * chip->ecc.strength, in tegra_nand_ooblayout_rs_ecc() local
211 oobregion->length = round_up(bytes_per_step * chip->ecc.steps, 4); in tegra_nand_ooblayout_rs_ecc()
231 int bytes_per_step = DIV_ROUND_UP(BITS_PER_STEP_BCH * chip->ecc.strength, in tegra_nand_ooblayout_bch_ecc() local
238 oobregion->length = round_up(bytes_per_step * chip->ecc.steps, 4); in tegra_nand_ooblayout_bch_ecc()
854 int strength_sel, bytes_per_step, bytes_per_page; in tegra_nand_get_strength() local
865 bytes_per_step = DIV_ROUND_UP(bits_per_step * strength_sel, in tegra_nand_get_strength()
867 bytes_per_page = round_up(bytes_per_step * chip->ecc.steps, 4); in tegra_nand_get_strength()