STRUCT IPC4_PIPELINE_SET_STATE_DATA(9)
π 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. thecountis 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
- 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