STRUCT SND_SOF_PLATFORM_STREAM_PARAMS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

struct snd_sof_platform_stream_params β€” the platform-dependent stream params, aka the little struct that holds all the "it depends on your hardware, bestie" bits πŸ’…

It's from the Kernel API Manual, and honestly? She's niche, she's specific, she's giving "you only find me if you're already deep in the audio stack" energy πŸŽ€


✨ SYNOPSIS ✨

struct snd_sof_platform_stream_params {
    u32 phy_addr;
    u16 stream_tag;
    bool use_phy_address;
    bool no_ipc_position;
    bool cont_update_posn;
};

Five fields, no cap. Two of them are bools doing quiet heavy lifting, one u32, one u16, and a fifth bool for the position-update girlies πŸ¦‹


πŸ’– Members πŸ’–

Okay so this is the part where we meet the whole cast, one by one πŸ‘‘

  • phy_addr β€” the platform-dependent address you want to use. Important detail though: it only actually gets used if use_phy_addr is true. So it's conditional main character energy, fr fr 🌈
  • stream_tag β€” the stream tag to use. That's it, that's the whole vibe. It's a u16 and it tags your stream 🏷️
  • use_phy_address β€” a bool member sitting right there in the struct. The manpage doesn't give it its own little description paragraph, so I'm not gonna invent lore for it πŸ™ˆ but yes, she is listed, she is real, she is part of the struct πŸ’€
  • no_ipc_position β€” set this and you're disabling the position update IPC from the firmware. Big "please stop telling me where you are" energy 😭
  • cont_update_posn β€” continuous position update. Yes the name is abbreviated, yes we still respect her πŸ“
Bestie heads up: use_phy_address and use_phy_addr are not the same spelling in the original text β€” the member is use_phy_address and the phy_addr description refers to use_phy_addr. I'm keeping both exactly as written because we do NOT "fix" things around here 🫢

πŸ”₯ SEE ALSO πŸ”₯

Go poke around these, they're all in the kernel file ./sound/soc/sof/sof-priv.h and they're all little icons in their own right ⭐

  • struct sof_firmware(9)
  • struct sof_ipc_fw_tracing_ops(9)
  • struct sof_ipc_pm_ops(9)
  • struct sof_ipc_fw_loader_ops(9)
  • struct sof_ipc_ops(9)

And that's the whole page, bestie πŸ’œ She lives in ./sound/soc/sof, she's dated October 2026, and she's part of the Kernel API Manual β€” so go forth and slay your platform-dependent stream params, and remember: only use phy_addr when the flag says so πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from