onenand_otp_command(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so we're in the Kernel API Manual and today's main character is onenand_otp_command(9) β€” her whole job is literally to send OTP specific command to OneNAND device. That's the vibe, and yes, she ate. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

signature check, bestie β€” this one returns an int:

int onenand_otp_command (struct mtd_info *mtd , int cmd , loff_t addr ,
       size_t len );

πŸŽ€ ARGUMENTS πŸŽ€

  • mtd β€” the MTD device structure, aka the device we're talking to πŸ’–
  • cmd β€” the command to be sent, no cap
  • addr β€” offset to read from or write to
  • len β€” number of bytes to read or write

🌈 SEE ALSO 🌈

Kernel file: ./drivers/mtd/nand/onenand/onenand_base.c β€” that's the file this page points at, iykyk. The whole cross-ref squad, in the exact order the page gave them:


and that's the whole page, bestie πŸ’– source/version footer energy: ./drivers/mtd/nand/onenand; date on this iconic drop: October 2026. go forth and respectfully send your OTP specific commands to your OneNAND device ✨🫢

πŸ“¦ where this page comes from