STRUCT IPC4_PIPELINE_SET_STATE_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ struct ipc4_pipeline_set_state_data (9) πŸ’œ

okay bestie, so this is from the Kernel API Manual, section 9, and it's literally the lil data blob that does a multi pipeline trigger over IPC4. iykyk. it's giving "small struct, big job" energy fr fr 🌸


✨ NAME ✨

struct ipc4_pipeline_set_state_data β€” multi pipeline trigger IPC data πŸŽ€

like, the payload you hand over when you want to poke more than one pipeline at once. no cap.


✨ SYNOPSIS ✨

struct ipc4_pipeline_set_state_data {
    u32 count;
    u32 pipeline_instance_ids[];
};

ok so it's literally two things and one of them is flexible β€” main character energy honestly πŸ’…


✨ Members ✨

  • count β€” Number of pipelines to be triggered. that's it, that's the counter. it tells everyone how many pipeline IDs are about to show up at the party πŸ”₯
  • pipeline_instance_ids β€” Flexible array of IDs of the pipelines to be triggered. yes bestie, flexible β€” it's the last member so it can stretch however long it needs to. iconic behavior, honestly πŸ¦‹

✨ SEE ALSO ✨

these all live in the kernel file ./sound/soc/sof/ipc4-topology.h β€” go read them, they're the whole friend group 🫢

  • struct sof_ipc4_pipeline(9)
  • struct sof_ipc4_pin_format(9)
  • struct sof_ipc4_available_audio_format(9)
  • struct sof_copier_gateway_cfg(9)
  • struct sof_ipc4_copier_data(9)
  • struct sof_ipc4_gtw_attributes(9)
  • struct sof_ipc4_dma_device_stream_ch_map(9)
  • struct sof_ipc4_dma_stream_ch_map(9)
  • struct sof_ipc4_dma_config(9)
  • struct sof_ipc4_dma_config_tlv(9)
  • struct sof_ipc4_copier(9)
  • struct sof_ipc4_ctrl_value_chan(9)
  • struct sof_ipc4_control_data(9)
  • struct sof_ipc4_control_msg_payload(9)
  • struct sof_ipc4_gain_params(9)
  • struct sof_ipc4_gain_data(9)
  • struct sof_ipc4_gain(9)
  • struct sof_ipc4_mixer(9)
  • struct sof_ipc4_src(9)
  • struct sof_ipc4_asrc(9)
  • struct sof_ipc4_base_module_cfg_ext(9)
  • struct sof_ipc4_process(9)

lowkey reminder bestie: pipeline_instance_ids[] has no fixed size β€” it's a flexible array member, so don't go assuming it's any particular length. the count is the vibe check. πŸ’€

and that's the whole page!! sourced from ./sound/soc/sof, dated October 2026, and yeah the header is still doing that struct ipc4...t_state_data(9) truncation thing but we don't gatekeep, we understand πŸ˜­πŸ’– slay, go trigger those pipelines bestie 🌈⭐

πŸ“¦ where this page comes from