q6afe_slim_port_prepare(9)
π 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:
- Kernel file
./sound/soc/qcom/qdsp6/q6afe.cβ the source file itself, the mothership πΈ struct afe_param_id_usb_audio_dev_params(9)struct afe_param_id_usb_audio_dev_lpcm_fmt(9)struct afe_param_id_usb_audio_svc_interval(9)q6afe_get_port_id(9)q6afe_port_stop(9)q6afe_tdm_port_prepare(9)afe_port_send_usb_dev_param(9)q6afe_usb_port_prepare(9)q6afe_hdmi_port_prepare(9)q6afe_i2s_port_prepare(9)q6afe_cdc_dma_port_prepare(9)q6afe_port_start(9)q6afe_port_get_from_id(9)q6afe_port_put(9)
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 whatq6afe_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
- 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