STRUCT NAND_PARAMETERS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct nand_parameters(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual ✨ β€” yes, that's the manual name, and yes, we're reading it together, hold my hand 🫢


πŸ’– NAME πŸ’–

struct nand_parameters β€” the NAND generic parameters that come straight off the parameter page. no cap, that's literally the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

like, here's the shape of it, fr fr:

struct nand_parameters {
    const char *model;
    bool supports_set_get_features;
    bool supports_read_cache;
    unsigned long set_feature_list[BITS_TO_LONGS( ONFI_FEATURE_NUMBER)];
    unsigned long get_feature_list[BITS_TO_LONGS( ONFI_FEATURE_NUMBER)];
    struct onfi_params *onfi;
 };

copy that exactly, don't be out here retyping it from memory 😭


πŸ¦‹ Members πŸ¦‹

  • model β€” the model name. its whole identity, its main character energy πŸ‘‘
  • supports_set_get_features β€” bool, and it's giving "this NAND chip supports setting/getting features" ✨
  • supports_read_cache β€” another bool, and it means the NAND chip supports read cache operations πŸ’«
  • set_feature_list β€” a bitmap of the features that can be set. a whole mood board of possibilities 🌈
  • get_feature_list β€” a bitmap of the features that can be get. yes, "get", that's the wording, we respect the wording πŸ™ˆ
  • onfi β€” the ONFI specific parameters. the special little ONFI corner of the universe πŸ“

⭐ SEE ALSO ⭐

the whole squad, and I mean the WHOLE squad β€” all of these are (9) and all of them live in the Kernel file ./include/linux/mtd/rawnand.h πŸ“šπŸ’œ

  • struct nand_id(9)
  • struct nand_ecc_step_info(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)

ngl bestie, if you read all 36 of those you're officially an icon. ate and left zero crumbs πŸ’…πŸ”₯

and that's the page!! πŸŽ€ this whole thing came to you from the Kernel file ./include/linux/mtd, dated October 2026, and yes the page itself is literally called struct nand_parameters(9) β€” go off, king πŸ‘‘βœ¨ bye bestie, mwah πŸ«ΆπŸ’–

πŸ“¦ where this page comes from