STRUCT IOSM_CDEV(9)
π 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 typewwan_port, just vibing in there πipc_imemβ theimeminstance π§devβ pointer to thedevicestruct, 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:
- the kernel file
./drivers/net/wwan/iosm/iosm_ipc_port.hβ the header herself π ipc_port_init(9)πipc_port_deinit(9)π
lowkey reminder bestie: this page ships with the kernel source over at./drivers/net/wwan/iosm, dated October 2026, and it'sstruct iosm_cdev(9)in the Kernel API Manual π¦ mwah, go read the source, ily πβ¨
π¦ 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