STRUCT IOSM_CDEV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's all about struct iosm_cdev, which is literally the state of the char driver layer πŸŽ€. yes, the whole vibe of the char driver layer lives in one struct. iconic. let's get into it 🫢


🌸 NAME 🌸

struct iosm_cdev β€” state of the char driver layer, bestie. that's it, that's the whole thing πŸ’…


⭐ SYNOPSIS ⭐

struct iosm_cdev {
    struct wwan_port *iosm_port;
    struct iosm_imem *ipc_imem;
    struct device *dev;
    struct iosm_pcie *pcie;
    enum wwan_port_type port_type;
    struct ipc_mem_channel *channel;
    enum ipc_channel_id chl_id;
 };

look at her. seven fields. main character energy fr fr πŸ‘‘


πŸ¦‹ Members πŸ¦‹

so here's the cast of this little struct, no cap:

  • iosm_port β€” a pointer of type wwan_port, just vibing in there πŸ’œ
  • ipc_imem β€” the imem instance 🧚
  • dev β€” pointer to the device struct, keeping it grounded ✨
  • pcie β€” the PCIe component, the hardware bestie 🌈
  • port_type β€” the WWAN port type, aka the vibe check of the port πŸ”₯
  • channel β€” the channel instance πŸ“
  • chl_id β€” the Channel Identifier, so we know which channel iykyk πŸ’€

πŸŽ€ SEE ALSO πŸŽ€

if you wanna go deeper (and you do, bestie), check these out:


lowkey reminder bestie: this page ships with the kernel source over at ./drivers/net/wwan/iosm, dated October 2026, and it's struct iosm_cdev(9) in the Kernel API Manual πŸ¦‹ mwah, go read the source, ily πŸ’œβœ¨
πŸ“¦ where this page comes from