mtk_adsp_st...cm_hw_params(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to mtk_adsp_st...cm_hw_params(9) β€” it's straight out of the Kernel API Manual, and it's here to explain the platform specific host stream hw params situation. no cap, the vibes are fully kernel-core. βœ¨πŸ‘‘

🌸 NAME 🌸

mtk_adsp_stream_pcm_hw_params β€” Platform specific host stream hw params. that's the name, that's the assignment, and it's giving exactly what it says on the tin. πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

int mtk_adsp_stream_pcm_hw_params (struct snd_sof_dev *sdev , struct snd_pcm_substream *substream , struct snd_pcm_hw_params *params , struct snd_sof_platform_stream_params *platform_params );

yep, it returns an int and takes all four of those bad boys. slay. 🫢

πŸ’– ARGUMENTS πŸ’–

  • sdev β€” SOF device. literally the SOF device in question, main character energy. 🌟
  • substream β€” PCM Substream. the PCM Substream, periodt. 🎧
  • params β€” hw params. yes bestie, the hw params. πŸ’…
  • platform_params β€” Platform specific SOF stream parameters. the platform specific SOF stream parameters, iykyk. 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./sound/soc/sof/mediatek/mtk-adsp-common.c β€” go peek at it in the kernel tree, it's right there. 🌱

also the whole friend group is linked and ready to hang out:


okay that's a wrap, bestie! πŸ’… this page lives under the source path ./sound/soc/sof/mediatek, is dated October 2026, and answers to mtk_adsp_st...cm_hw_params(9) β€” periodt. πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from