STRUCT IMAGE_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct image_info(9) πŸ’–

okay bestie, so we're in Kernel API Manual territory today and the star of the show is struct image_info β€” literally just "Firmware and RDDM table" and nothing more, and honestly? iconic minimalism. ✨


🌸 SYNOPSIS 🌸

like, here's the whole vibe, exactly as written, no notes:

struct image_info {
    u32 entries;
    struct mhi_buf mhi_buf[];
};

that's it. that's the struct. the way it's so small but carries so much responsibility? main character energy fr fr. πŸ‘‘


πŸŽ€ Members πŸŽ€

  • entries β€” the # of entries in table. yes, the manpage really does just say "# of entries in table" and we're respecting it. it's giving "confident, doesn't overexplain." πŸ’…
  • mhi_buf β€” Buffer for firmware and RDDM table. that's the payload zone, the whole reason this struct exists, the moment. πŸ¦‹
ngl there are exactly two members and both of them are doing their job. no cap.

🌈 SEE ALSO 🌈

okay this is the part where the manpage goes absolutely feral with cross-references, and i'm obsessed. every single one, in order, no skips, because we do not leave the girlies behind:

the enums and structs (the whole family):

  • enum mhi_callback(9)
  • enum mhi_flags(9)
  • enum mhi_device_type(9)
  • enum mhi_ch_type(9)
  • struct mhi_buf(9)
  • struct mhi_link_info(9)
  • enum mhi_ee_type(9)
  • enum mhi_state(9)
  • enum mhi_ch_ee_mask(9)
  • enum mhi_er_data_type(9)
  • enum mhi_db_brst_mode(9)
  • struct mhi_channel_config(9)
  • struct mhi_event_config(9)
  • struct mhi_controller_config(9)
  • struct mhi_controller(9)
  • struct mhi_device(9)
  • struct mhi_result(9)
  • struct mhi_driver(9)

the controller lifecycle (setup to teardown, a whole journey):

power stuff (the dramatic chapters):

RDDM mode (the deep lore πŸŒ€):

asking the device how it's doing:

device refcount + transfers (the day-to-day):

queueing (where the buffers actually go):

πŸ’€ that's 49 references and yes, i counted, and yes, __mhi_driver_register(9) keeps its double underscore exactly how it is, don't touch her.

🫢 the kernel file drop 🫢

this page lives in the kernel tree at:

./include/linux

so if you ever need to find it irl, iykyk. 🧚


⭐ cute little sign-off ⭐

this blessed page is from Kernel API Manual, dated October 2026, sourced from ./include/linux, and it answers to struct image_info(9) β€” remember the section number, bestie, section 9 is where all the kernel API girlies hang out. πŸ’œ

go forth and reference responsibly. slay. πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from