STRUCT IPC_MEM_MSG_OPEN_PIPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, you've landed on the Kernel API Manual page for struct ipc_mem_msg_open_pipe β€” section (9), and she is lowkey iconic πŸ’–βœ¨ This is literally the message structure for open pipe, so let's get into it, no cap.

✨ NAME ✨

struct ipc_mem_msg_open_pipe β€” message structure for open pipe. That's it, that's the name, and yes she's a struct, not a callable function, so don't try to invoke her like a group chat πŸ’…

🌸 SYNOPSIS 🌸

the way that this struct is laid out is giving "kernel data structure realness" and we respect it:

struct ipc_mem_msg_open_pipe {
    __le64 tdr_addr;
    __le16 tdr_entries;
    u8 pipe_nr;
    u8 type_of_message;
    __le32 irq_vector;
    __le32 accumulation_backoff;
    __le32 completion_status;
 };
bestie, keep every field name and type exactly as shown β€” __le64, __le16, u8, __le32, all of it. We do not "fix" kernel structs in this house, fr fr πŸ™ˆ

πŸŽ€ Members πŸŽ€

okay so the members are a whole little squad, and each one has a job:

  • tdr_addr β€” Tdr address. slay.
  • tdr_entries β€” Tdr entries. periodt.
  • pipe_nr β€” Pipe number. iykyk.
  • type_of_message β€” Message type. main character energy.
  • irq_vector β€” MSI vector number. not me being a vector.
  • accumulation_backoff β€” Time in usec for data accumalation. (yes, the page spells it "accumalation" β€” we are not gaslighting you πŸ’€)
  • completion_status β€” Message Completion Status. obsessed with the capitalization.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/net/wwan/iosm/iosm_ipc_protocol_ops.h, plus highkey the whole friend group: 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), enum ipc_msg_prep_type(9), struct ipc_rsp(9), enum ipc_mem_msg(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).

mwah πŸ’‹ β€” source/version line energy: ./drivers/net/wwan/iosm, dated October 2026, page tag: struct ipc_m...sg_open_pipe(9). bye bestie, go be iconic with your structs 🫢✨

πŸ“¦ where this page comes from