q6afe_slim_port_prepare(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

q6afe_slim_port_prepare β€” bestie, this is the one that prepares a slim afe port. Like getting your fit ready before you walk out the door, except the fit is a SLIM port config and the door is the audio DSP. Slay.

Oh and hey, welcome to the Kernel API Manual section 9 β€” yes, the ~kernel~ manual, we're literally in the kernel's group chat now 🫢


✨ SYNOPSIS ✨

void q6afe_slim_port_prepare (struct q6afe_port *port , struct
q6afe_slim_cfg *cfg );

Not me returning void β€” this function gives nothing back and honestly? iconic. It does the work, it doesn't do the talking πŸ’β€β™€οΈ


πŸŽ€ ARGUMENTS πŸŽ€

  • port β€” the instance of afe port. This is your main character, the actual port object you're prepping.
  • cfg β€” the SLIM configuration for the afe port. This is the outfit, the vibe, the whole plan. You hand it over and the port gets ready.

πŸ¦‹ SEE ALSO πŸ¦‹

Okay so there's a lot of friends in this friend group, and you should lowkey know all of them. Here's the full roster, no skips, no cap:

Like, the whole prepare-port squad is here β€” TDM, USB, HDMI, I2S, CDC DMA β€” all the siblings. Family reunion fr fr πŸ‘‘

πŸ’€ Quick reminder bestie: q6afe_port_prepare-style calls are about getting ready, not starting. Don't be out here thinking this starts the port β€” that's what q6afe_port_start(9) is for, and she's right there in the list. Read before you ship πŸ™ˆ

Okay that's the whole page, mwah πŸ’‹ It lives in ./sound/soc/qcom/qdsp6 and this version is dated October 2026 β€” bookmark it, screenshot it, tattoo it, whatever βœ¨πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from