STRUCT HYPERBUS_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct hyperbus_device(9) ✨

okay so bestie, welcome to the kernel API manual πŸ’– this one's all about struct hyperbus_device β€” literally the struct that represents a HyperBus slave device. iconic. no cap.


πŸŽ€ NAME πŸŽ€

struct hyperbus_device β€” the struct that reps your HyperBus slave device, periodt πŸ’…


🌸 SYNOPSIS 🌸

here's the whole vibe, verbatim, don't touch it:

struct hyperbus_device {
    struct map_info map;
    struct device_node *np;
    struct mtd_info *mtd;
    struct hyperbus_ctlr *ctlr;
    enum hyperbus_memtype memtype;
    void *priv;
 };

πŸ¦‹ Members πŸ¦‹

every single field, bestie, and what it's giving:

  • map β€” the map_info struct you use for accessing MMIO HyperBus flash memory ✨
  • np β€” a pointer to the HyperBus slave device node 🌸
  • mtd β€” a pointer to the MTD struct πŸ‘‘
  • ctlr β€” a pointer to the HyperBus controller struct 🫢
  • memtype β€” the type of memory device, i.e. HyperFlash or HyperRAM πŸ’€ (yes, it's one or the other, pick your fighter)
  • priv β€” a pointer to controller-specific per-device private data πŸ™ˆ your own little stash, iykyk

🌈 SEE ALSO 🌈

go read these next, fr fr:


and that's the whole page, bestie πŸ§šπŸ’œ this one lives at ./include/linux/mtd, dated October 2026, and it's filed under struct hyperbus_device(9) β€” slay, go read the header file now ⭐πŸ”₯

πŸ“¦ where this page comes from