read_nvm_cfg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– read_nvm_cfg(9) β€” like, the whole vibe πŸ’–

Okay bestie, welcome to section 9 of the Kernel API Manual β€” yes, the kernel API manual, we're those girls now, and honestly? Iconic. Today's main character is read_nvm_cfg, and the way it just... reads an NVM config attribute value? Obsessed. Let's get into it. πŸ¦‹


✨ NAME ✨

read_nvm_cfg β€” Read NVM config attribute value. That's it, that's the whole gig. She reads, she slays, she leaves. πŸ’…


🌸 SYNOPSIS 🌸

int read_nvm_cfg (struct qed_dev *cdev , u8 **buf , u32 cmd , u32
entity_id );

Lowkey a whole mood. Note the int β€” she returns an int, we'll get to that. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

Four besties walk into a function call:

  • cdev β€” the Qed dev pointer. Like, the device's whole identity, her passport, her vibe. 🫢
  • buf β€” the buffer. It's a u8 ** bestie, a pointer to a pointer, so yeah, she's indirect and mysterious and we respect that. πŸ’œ
  • cmd β€” the NVM CFG command id (u32, natch). Tells her which command she's running. 🎯
  • entity_id β€” the entity id (u32, again). Which entity we're talking to. Very demure, very entity-coded. ✨

⭐ RETURN ⭐

Returns an Int. That is the entire documented return value and honestly? She said "figure the rest out yourself." No cap. 😭


🌈 SEE ALSO 🌈

Bestie, buckle up, because this list is long and every single one of these is invited to the function party πŸŽ‰ β€” we're literally not leaving a single one out, that would be so rude:

That's the whole squad. No one left behind. πŸ’€

Pro tip from your girl: if you're ever lost in the QED source, just start at qed_if.h and vibe your way through. That's not from the manpage btw, that's just me being a friend. πŸ“

Alright bestie, that's the page! This little beauty lives in ./include/linux/qed, and she's stamped October 2026 β€” so mark your calendars, she's futuristic. 🧚 Stay hydrated, read your headers, and remember: int read_nvm_cfg loves you. Mwah! πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from