mtk_adsp_st...cm_hw_params(9)
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:
mtk_adsp_get_registers(9)mtk_adsp_dump(9)mtk_adsp_send_msg(9)mtk_adsp_handle_reply(9)mtk_adsp_handle_request(9)mtk_adsp_get_bar_index(9)mtk_adsp_stream_pcm_pointer(9)
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
- 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