STRUCT IOSM_MMIO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ STRUCT IOSM_MMIO πŸŽ€

okay so bestie, welcome to the struct iosm_mmio(9) page from the Kernel API Manual β€” this is the whole entire vibe of an MMIO region that's been mapped to the doorbell scratchpad. yes, doorbell scratchpad. iconic name, no notes. πŸ’…


✨ SYNOPSIS ✨

like, here's the whole struct, bestie, exactly as it lives:

struct iosm_mmio {
    unsigned char __iomem *base;
    struct device *dev;
    struct mmio_offset offset;
    phys_addr_t context_info_addr;
    unsigned int chip_info_version;
    unsigned int chip_info_size;
    u32 mux_protocol;
    u8 has_ul_flow_credit:1, has_slp_no_prot:1, has_mcr_support:1;
 };

look at those bitfields at the end, living their best space-efficient life. we love a :1. 🫢


🌸 MEMBERS 🌸

  • base β€” the base address of the MMIO region. this is the main character address, fr fr. πŸ‘‘
  • dev β€” pointer to the device structure. gotta know which device we're talking to, obviously. πŸ’–
  • offset β€” the start offset. where the story begins. ✨
  • context_info_addr β€” physical base address of the context info structure. physical, not virtual, don't get it twisted. πŸŽ€
  • chip_info_version β€” version of the chip info structure. iykyk. πŸ¦‹
  • chip_info_size β€” size of the chip info structure. yes it has a size, everything has a size. 🌈
  • mux_protocol β€” the mux protocol. that's it, that's the whole description, slay for being concise. ⭐
  • has_ul_flow_credit β€” Ul flow credit support. it's a 1-bit yes/no situation. πŸ’œ
  • has_slp_no_prot β€” device sleep no protocol support. also one bit, also doing its thing. 🌸
  • has_mcr_support β€” usage of mcr support. one bit, one job, ate. πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file lives at ./drivers/net/wwan/iosm/iosm_ipc_mmio.h, and honestly the friend group here is:

go read them, bestie, they're literally all part of the same saga. πŸ“–


ngl, the contex spelling in ipc_mmio_set_contex_info_addr(9) is exactly how it's written up there β€” do not "fix" it, that's canon. πŸ’€

okay that's the whole page, mwah πŸ’‹ β€” brought to you by the source tree at ./drivers/net/wwan/iosm, dated October 2026, filed under struct iosm_mmio(9) in the Kernel API Manual. go forth and doorbell-scratchpad responsibly. πŸ§šπŸ’–

πŸ“¦ where this page comes from