onfi_fill_interface_config(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ onfi_fill_interface_config β€” the Kernel API Manual era ✨

okay bestie, welcome to the onfi_fill_interface_config(9) page, like, the actual kernel API manual one πŸ’… this is the function that initializes an interface config from a given ONFI mode β€” yes that's the whole NAME section, she's short and she knows it πŸŽ€


πŸ’– SYNOPSIS πŸ’–

void onfi_fill_interface_config (struct nand_chip *chip , struct
       struct nand_interface_config *iface , enum nand_interface_type type , unsigned
       int timing_mode );

no cap, that's the whole signature β€” void return, so she fills stuff in for you and dips, she doesn't hand anything back 🫢


🌸 ARGUMENTS 🌸

okay so here's who's who at the function party, and literally every single one matters:

  • chip β€” the NAND chip πŸ‘‘ your main character, the whole reason we're here
  • iface β€” the interface configuration to fill πŸŽ€ this is the thing that gets filled, she's the canvas
  • type β€” the interface type πŸ¦‹ tells us which flavor we're dealing with
  • timing_mode β€” the ONFI timing mode ⏱️ the timing vibe we're building the config from

πŸ”₯ SEE ALSO πŸ”₯

the group chat keeps going, go check these besties:

iykyk, that whole timings family is iconic πŸ’œ


ngl bestie, don't skip the SEE ALSO β€” the nand_timings.c file and the sibling onfi_find_closest_sdr_mode(9), onfi_find_closest_nvddr_mode(9) and onfi_fill_nvddr_interface_config(9) functions are the whole context for what this one's doing 🌈

and that's the page, periodt πŸ’€πŸ’– sign-off time: she lives at ./drivers/mtd/nand/raw, and this whole thing is dated October 2026 β€” slay, see you in the next one πŸ§šβœ¨πŸ¦‹

πŸ“¦ where this page comes from