STRUCT SOF_IPC4_PIPELINE(9)
π¦ struct sof_ipc4_pipeline(9) π¦
okay so this little icon is straight out of the Kernel API Manual and it's lowkey the blueprint for a whole audio pipeline. bestie, this is struct sof_ipc4_pipeline and it's literally the config data for a pipeline. no cap, it's giving main character energy in ipc4-topology.h. π
β¨ NAME β¨
struct sof_ipc4_pipeline β pipeline config data. that's the whole vibe. short, sweet, slays. π
πΈ SYNOPSIS πΈ
struct sof_ipc4_pipeline {
uint32_t priority;
uint32_t lp_mode;
uint32_t mem_usage;
uint32_t core_id;
int state;
bool use_chain_dma;
struct sof_ipc4_msg msg;
bool skip_during_fe_trigger;
bool direction_valid;
u32 direction;
};
look at her. ten fields. not one of them wasted. π₯
π Members π
time for the vibe check on every single field, bestie β don't skip a single one, they all matter:
priorityβ priority of this pipeline π (yes, she has a rank, respect it)lp_modeβ low power mode π΄ (naps are self-care)mem_usageβ memory usage πcore_idβ target core for the pipeline π§ (which core is catching this work)stateβ pipeline state π (her current mood, essentially)use_chain_dmaβ flag to indicate if the firmware shall use chained DMA π (firmware's call, not mine)msgβ message structure for pipeline βοΈ (typestruct sof_ipc4_msg, very official)skip_during_fe_triggerβ skip triggering this pipeline during the FE DAI trigger π (she's sitting this one out, and that's valid)direction_validβ flag indicating if valid direction is set in topology β (basic gatekeeping: is the direction real or not)directionβ pipeline direction set in topology ifdirection_validis true π¦ (only trusted when the flag above says so, iykyk)
π₯ SEE ALSO π₯
the whole friend group, in the kernel file ./sound/soc/sof/ipc4-topology.h struct:
ipc4_pipeline_set_state_data(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)
ngl, if you're touching SOF IPC4 pipelines you're gonna be living in these pages. go read them, bestie, they ate. π
and that's the whole page, periodt. it ships from ./sound/soc/sof and it's dated October 2026 β shoutout to the source, 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