ENUM IPC_MSG_PREP_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 enum ipc_msg_prep_type(9) 🌸

okay bestie, welcome to the Kernel API Manual β€” yes, that's the manual name, we're in kernel-land now, put your seatbelt on πŸ’… this one's a little enum that tells the iosm driver what kind of message prep we're doing, and honestly it's giving "menu of vibes" energy ✨


πŸ’– NAME πŸ’–

enum ipc_msg_prep_type β€” the enum for message prepare actions πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

enum ipc_msg_prep_type {
    IPC_MSG_PREP_SLEEP ,
    IPC_MSG_PREP_PIPE_OPEN ,
    IPC_MSG_PREP_PIPE_CLOSE ,
    IPC_MSG_PREP_FEATURE_SET ,
    IPC_MSG_PREP_MAP ,
    IPC_MSG_PREP_UNMAP

};

like, that's the whole roster. six constants, no cap πŸ”₯


⭐ Constants ⭐

here's the lineup, one by one, main character energy for each 🫢

  • IPC_MSG_PREP_SLEEP β€” the sleep message preparation type 😴 literally the "go to sleep" prep action.
  • IPC_MSG_PREP_PIPE_OPEN β€” the pipe open message preparation type πŸšͺ opening a pipe, but make it a prep action.
  • IPC_MSG_PREP_PIPE_CLOSE β€” the pipe close message preparation type πŸšͺπŸ’¨ the closing counterpart, iconic duo with the one above.
  • IPC_MSG_PREP_FEATURE_SET β€” the feature set message preparation type ✨ setting features, slay.
  • IPC_MSG_PREP_MAP β€” the memory map message preparation type πŸ—ΊοΈ mapping memory, we love to see it.
  • IPC_MSG_PREP_UNMAP β€” the memory unmap message preparation type πŸ—ΊοΈπŸ™ˆ and the un-mapping counterpart, periodt.

πŸ”₯ SEE ALSO πŸ”₯

kernel file ./drivers/net/wwan/iosm/iosm_ipc_protocol_ops.h β€” and okay, the friend group here is huge, so buckle up bestie, we're listing every single one fr fr:

enum ipc_mem_td_cs(9), enum ipc_mem_msg_cs(9), struct ipc_msg_prep_args_pipe(9), struct ipc_msg_prep_args_sleep(9), struct ipc_msg_prep_feature_set(9), struct ipc_msg_prep_map(9), struct ipc_msg_prep_unmap(9), union ipc_msg_prep_args(9), struct ipc_rsp(9), enum ipc_mem_msg(9), struct ipc_mem_msg_open_pipe(9), struct ipc_mem_msg_close_pipe(9), struct ipc_mem_msg_abort_pipe(9), struct ipc_mem_msg_host_sleep(9), struct ipc_mem_msg_feature_set(9), struct ipc_mem_msg_common(9), union ipc_mem_msg_entry(9), ipc_protocol_msg_prep(9), ipc_protocol_msg_hp_update(9), ipc_protocol_msg_process(9), ipc_protocol_ul_td_send(9), ipc_protocol_ul_td_process(9), ipc_protocol_dl_td_prepare(9), ipc_protocol_dl_td_process(9), ipc_protocol_get_head_tail_index(9), ipc_protocol_get_ipc_status(9), ipc_protocol_pipe_cleanup(9), ipc_protocol_get_ap_exec_stage(9), ipc_protocol_pm_dev_get_sleep_notification(9)


ngl, that SEE ALSO section is a whole group chat πŸ’€ but every single one is listed, so we're good 🫢

and that's the page!! πŸ’œ cute little sign-off time: this one lives over in ./drivers/net/wwan/iosm, and it's dated October 2026. go read the protocol ops header, ily, bye πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from