onenand_writew(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, we're looking at onenand_writew from the Kernel API Manual, and it's giving tiny hardware-helper main character energy πŸ’…βœ¨

πŸ’– NAME πŸ’–

onenand_writew β€” the [OneNAND Interface] function that writes a OneNAND register with a value. No cap, that's the whole name. 🫢

✨ SYNOPSIS ✨

Here's the exact signature, bestie β€” do not let __iomem intimidate you:

void onenand_writew (unsigned short value , void __iomem *addr );

It returns void, so it's not handing you a result back β€” it's just here to do the write. Periodt. πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • value β€” the value to write. That's the value. That's the assignment. πŸ’–
  • addr β€” the address to write. Yep, the address. The place where the value goes. 🫢

🌸 DESCRIPTION 🌸

Write OneNAND register with value. Literally: this function writes a value into a OneNAND register. It's a little helper that does exactly what it says on the tin. ✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/mtd/nand/onenand/onenand_base.c β€” that's the spot. πŸ‘‘

The whole squad of references is right here, so you can vibe-check every single one:


mwah πŸ’‹ This page is from ./drivers/mtd/nand/onenand, dated October 2026, and it's gonna live in your kernel-docs era forever. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from