STRUCT IPC_PROTOCOL_DEVICE_INFO(9)
π struct ipc_protocol_device_info(9) β the Kernel API Manual, bestie edition π
okay so bestie. we're in the Kernel API Manual right now and today's main character is struct ipc_protocol_device_info. say it with me. it's a struct. it holds device information. and honestly? it ate. β¨
πΈ NAME πΈ
struct ipc_protocol_device_info β the Structure for the device information. that's it, that's the whole vibe. literally the info-about-the-device struct, no cap. π
π¦ SYNOPSIS π¦
here's the shape of it, bestie, look at these three little fields, they're so small and gorgeous:
struct ipc_protocol_device_info {
__le32 execution_stage;
__le32 ipc_status;
__le32 device_sleep_notification;
};
three __le32s. that's the whole struct. iconic minimalism. π
π Members π
okay so let's meet the cast, one by one:
execution_stageβ this one's the CP execution stage. main character energy, fr fr. β¨ipc_statusβ the IPC states. it's giving status update. it's giving "where are we at." you know? πdevice_sleep_notificationβ the Requested device pm states. sleepy girl. nap era.pmstands for power management btw, iykyk. π΄
π₯ SEE ALSO π₯
okay so if you wanna go deeper (and you do, bestie, you're obsessed and i love that for you), go look at the Kernel file ./drivers/net/wwan/iosm/iosm_ipc_protocol.h β that's where the whole friend group lives, and every single one of them is slaying:
struct ipc_protocol_context_info(9)struct ipc_protocol_ap_shm(9)struct iosm_protocol(9)struct ipc_call_msg_send_args(9)ipc_protocol_tq_msg_send(9)ipc_protocol_msg_send(9)ipc_protocol_suspend(9)ipc_protocol_s2idle_sleep(9)ipc_protocol_resume(9)ipc_protocol_pm_dev_sleep_handle(9)ipc_protocol_doorbell_trigger(9)ipc_protocol_sleep_notification_string(9)ipc_protocol_init(9)ipc_protocol_deinit(9)
like, the whole squad. go read them. π«Ά
ngl theipc_protocol_sleep_notification_string(9)one is lowkey a queen for turning yourdevice_sleep_notificationinto something actually readable. very thoughtful. very demure. π
k bye bestie!! this page came straight out of ./drivers/net/wwan/iosm, dated October 2026, and yeah β it's still struct ipc_..._device_info(9) at the top and bottom of the page, but we both know the real full name now. ππ mwah.
π¦ 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