STRUCT HYPERBUS_DEVICE(9)
β¨ 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β themap_infostruct you use for accessing MMIO HyperBus flash memory β¨npβ a pointer to the HyperBus slave device node πΈmtdβ a pointer to theMTDstruct π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:
- Kernel file
./include/linux/mtd/hyperbus.h struct hyperbus_ops(9)struct hyperbus_ctlr(9)hyperbus_register_device(9)hyperbus_unregister_device(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms