STRUCT NAND_ECC_STEP_INFO(9)
π struct nand_ecc_step_info(9) β like, the whole vibe
okay bestie, so we're in the Kernel API Manual today (yes, the manual, not the man himself π) and the main character of this page is literally struct nand_ecc_step_info. it's ECC step information of the ECC engine β¨ ngl that's the whole NAME section and honestly? iconic.
π¦ SYNOPSIS
struct nand_ecc_step_info {
int stepsize;
const int *strengths;
int nstrengths;
};
that's it. that's the struct. three little fields and she ate π
π Members
stepsizeβ data bytes per ECC step. like, how many bytes of data live in one step, fr fr πstrengthsβ array of supported strengths. it's aconst int *, so it's pointing at a whole lineup of strengths πnstrengthsβ number of supported strengths. literally just the count so nobody has to guess how long that array is π
π SEE ALSO
okay so this is the part where the manpage goes full group-chat-adds-everyone mode π«Ά β here's the whole squad from the kernel file ./include/linux/mtd/rawnand.h:
struct nand_parameters(9)struct nand_id(9)struct nand_ecc_caps(9)struct nand_ecc_ctrl(9)struct nand_sdr_timings(9)struct nand_nvddr_timings(9)enum nand_interface_type(9)struct nand_interface_config(9)nand_interface_is_sdr(9)nand_interface_is_nvddr(9)nand_get_sdr_timings(9)nand_get_nvddr_timings(9)struct nand_op_cmd_instr(9)struct nand_op_addr_instr(9)struct nand_op_data_instr(9)struct nand_op_waitrdy_instr(9)enum nand_op_instr_type(9)struct nand_op_instr(9)struct nand_subop(9)struct nand_op_parser_addr_constraints(9)struct nand_op_parser_data_constraints(9)struct nand_op_parser_pattern_elem(9)struct nand_op_parser_pattern(9)struct nand_op_parser(9)struct nand_operation(9)struct nand_controller_ops(9)struct nand_controller(9)struct nand_legacy(9)struct nand_chip_ops(9)struct nand_manufacturer(9)struct nand_secure_region(9)struct nand_chip(9)nand_get_interface_config(9)struct nand_flash_dev(9)nand_opcode_8bits(9)nand_get_data_buf(9)
every single one of them is on the list, no cap π
bestie reminder: everything up there is literally the source path ./include/linux/mtd and the SEE ALSO refs are 1:1 with the page β don't come for me if you wanted fewer, she's thorough π
π cute sign-off
this little masterpiece lives in ./include/linux/mtd, dated October 2026, and the header title is literally struct nand_ecc_step_info(9) in case you forgot already π go off, kernel struct, you absolute legend π periodt π¦π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms