STRUCT NAND_ECC_STEP_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a const 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