sof_set_widget_pipeline(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is sof_set_widget_pipeline(9) from the Kernel API Manual, and the whole NAME vibe is literally: set pipeline for a component πŸ’… no cap, that's the assignment.


✨ SYNOPSIS ✨

int sof_set_widget_pipeline (struct snd_sof_dev *sdev , struct
       snd_sof_pipeline *spipe , struct snd_sof_widget *swidget );

πŸŽ€ ARGUMENTS πŸŽ€

  • sdev β€” pointer to struct snd_sof_dev, aka the device situation bestie 🫢
  • spipe β€” pointer to struct snd_sof_pipeline, the pipeline in question ✨
  • swidget β€” pointer to struct snd_sof_widget that has the same pipeline ID as pipe_widget πŸ‘‘

🌸 RETURN 🌸

  • 0 if successful πŸŽ‰
  • -EINVAL on error 😭

Also important, and I'm saying this with love: the function checks if swidget is associated with any volatile controls. If so, setting the dynamic_pipeline_widget is disallowed. That's the rule, bestie πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./sound/soc/sof/topology.c plus these function besties:


mwah πŸ’‹ this page lives under ./sound/soc/sof, dated October 2026, and it's literally the sof_set_widget_pipeline(9) moment β€” bye bestie 🫢

πŸ“¦ where this page comes from