onenand_page_address(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… onenand_page_address(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so real quick, this whole page lives in the Kernel API Manual (that's the manual name, iykyk) and it's all about one lil function called onenand_page_address. let's get into it ✨


🌸 NAME 🌸

onenand_page_address β€” [DEFAULT] Get page address πŸ—ΊοΈ

like, it gets you a page address. that's the whole vibe. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

int onenand_page_address (int page , int sector );

that's it. two ints in, one int out. main character signature fr πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • page β€” the page address πŸ“„ (yes literally, that's the whole description, she's lowkey mysterious like that)
  • sector β€” the sector address

and then β€” this is the part everyone forgets β€” it returns the combined page and sector address 🫢 so you hand it a page, you hand it a sector, and it hands you back the two of them mashed together. cute little combo meal ✨


πŸ’– DESCRIPTION πŸ’–

Setup Start Address 8 Register (F107h) 🧚

that's the one. Start Address 8. register F107h. she sets it up, that's her job, and she does it well πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/mtd/nand/onenand/onenand_base.c β€” that's where the source lives, go snoop πŸ•΅οΈβ€β™€οΈ

and omg the friend group is HUGE, there are like seventy of them, here's the whole squad, alphabetically-ish, no one gets left out πŸ’œ:

okay that's the whole group chat, they all ate πŸ’…πŸ”₯


ngl bestie, the manpage is short but she's still iconic. read onenand_base.c if you want the lore, the page itself only tells you she sets that Start Address 8 Register (F107h) and combines your page + sector. that's the tea β˜•

and that's a wrap, babe πŸ’– this came from the source tree over in ./drivers/mtd/nand/onenand, dated October 2026 β€” go be great out there, mwah πŸ«ΆπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from