STRUCT NAND_PARAMETERS(9)
π 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β anotherbool, 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
- 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