STRUCT INTEL_M10BMC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct intel_m10bmc(9) ✨

okay bestie, so this is a page straight outta the Kernel API Manual and it's literally the whole vibe of the Intel MAX 10 BMC parent driver data structure 🫢 β€” like the main character struct that all the other little driver structs look up to. iykyk πŸ’…


🌸 NAME 🌸

struct intel_m10bmc β€” the Intel MAX 10 BMC parent driver data structure, no cap. it's giving "mom friend of the driver family" energy πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

struct intel_m10bmc {
    struct device *dev;
    struct regmap *regmap;
    const struct intel_m10bmc_platform_info *info;
    const struct intel_m10bmc_flash_bulk_ops *flash_bulk_ops;
    struct rw_semaphore bmcfw_lock;
    enum m10bmc_fw_state bmcfw_state;
 };

like, that's the whole struct, copy-paste it exactly bestie, don't touch a single character πŸ’€βœ¨


πŸŽ€ Members πŸŽ€

so here's the member-by-member vibe check, every single one accounted for fr fr:

  • dev β€” this device. literally this one. the device. hi πŸ‘‹
  • regmap β€” the regmap used to access registers by m10bmc itself. it's the regmap the m10bmc does its own register-accessing through, okay, we're being specific here πŸ’–
  • info β€” the platform information for MAX10 BMC. all the deets 🌈
  • flash_bulk_ops β€” optional device specific operations for flash R/W. optional, bestie, so don't come for it if it's not there πŸ™ˆ
  • bmcfw_lock β€” read/write semaphore to BMC firmware running state. it's a struct rw_semaphore and it's guarding the firmware state, respect her πŸ”’
  • bmcfw_state β€” BMC firmware running state. ⚠️ available only when handshake_sys_reg_nranges > 0. like, only then. don't forget the condition, that's the whole point 😭

⭐ SEE ALSO ⭐

go read these next, bestie, they're all in the same friend group:

  • Kernel file ./include/linux/mfd/intel-m10-bmc.h
  • struct m10bmc_csr_map(9)
  • struct intel_m10bmc_platform_info(9)
  • struct intel_m10bmc_flash_bulk_ops(9)

and that's the whole page, periodt πŸ’… this little icon came to you from ./include/linux/mfd, dated October 2026 β€” mwah, luv u, go write some slay kernel code πŸ§šπŸ’œπŸ”₯

πŸ“¦ where this page comes from