STRUCT AFE_PARAM_ID_USB_AUDIO_DEV_PARAMS(9)
π
struct afe_param_id_usb_audio_dev_params(9) β the Kernel API Manual page, but make it make sense π
okay so bestie, this is one of those pages from the Kernel API Manual (yes, that's the manual's name, no I'm not making it up) and it's literally just a tiny struct with two fields in it. Two. That's the whole thing. And honestly? She ate. Minimalist icon behavior. β¨
πΈ NAME πΈ
struct afe_param_id_usb_audio_dev_params β and that's genuinely it, the manpage gives us no one-liner description here, so we're all just gonna have to keep reading like the main characters we are π«Ά
β¨ SYNOPSIS β¨
struct afe_param_id_usb_audio_dev_params {
u32 cfg_minor_version;
u32 dev_token;
};
look at her. so small. so powerful. not a single extra field. π
π¦ Members π¦
cfg_minor_versionβ the minor version, used for tracking USB audio device configuration. like a little label on the box so everyone knows which config era we're in. the only supported value listed here isAFE_API_MINOR_VERSION_USB_AUDIO_CONFIGβ no cap, that's the one. βdev_tokenβ the device token of the actual end USB audio device. it's giving "ID badge for the device at the end of the line" π
π SEE ALSO π
okay so the kernel file for all this lives at ./sound/soc/qcom/qdsp6/q6afe.c, and here's the whole friend group you should also go say hi to (all of these are (9) sections, iykyk):
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_slim_port_prepare(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, that is a whole squad. a whole roster. go read them all, they're literally all connected to this one little two-field struct π
π and that's the page!! sourced from ./sound/soc/qcom/qdsp6, dated October 2026 β bookmark it, screenshot it, print it out and put it on your wall, whatever feels right bestie π§ mwah, 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