Searched refs:bytes_per_step (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | tegra_nand.c | 204 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()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | tegra_nand.c | 207 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()
|
Completed in 4 milliseconds