STRUCT WSA_REG_LAYOUT(9)
π NAME π
okay so bestie, welcome to struct wsa_reg_layout(9) β straight from the Kernel API Manual, no cap. This struct is literally all about register layout differences, and that's its whole main character energy. π
β¨ SYNOPSIS β¨
here's the exact shape, bestie β copy-paste energy only, fr fr:
struct wsa_reg_layout {
unsigned int rx_intx_1_mix_inp0_sel_mask;
unsigned int rx_intx_1_mix_inp1_sel_mask;
unsigned int rx_intx_1_mix_inp2_sel_mask;
unsigned int rx_intx_2_sel_mask;
unsigned int compander1_reg_offset;
unsigned int softclip0_reg_base;
unsigned int softclip1_reg_offset;
};
π«Ά Members π«Ά
okay so these are the members, and every single one is getting its moment:
rx_intx_1_mix_inp0_sel_maskβ the register mask forRX_INTX_1_MIX_INP0_SEL_MASK, literally.rx_intx_1_mix_inp1_sel_maskβ the register mask forRX_INTX_1_MIX_INP1_SEL_MASK, iconic.rx_intx_1_mix_inp2_sel_maskβ the register mask forRX_INTX_1_MIX_INP2_SEL_MASK, slay.rx_intx_2_sel_maskβ the register mask forRX_INTX_2_SEL_MASK, periodt.compander1_reg_offsetβ the offset between compander registers, specifically(compander1 - compander0), keep it exact.softclip0_reg_baseβ the base address of thesoftclip0register, yes bestie.softclip1_reg_offsetβ the offset between compander registers, specifically(softclip1 - softclip0), no notes.
π SEE ALSO π
- Kernel file
./sound/soc/codecs/lpass-wsa-macro.cβ go read it, iykyk. wsa_macro_set_spkr_mode(9)β also a main character, slay.
that's the whole page, bestie π
β signed off from ./sound/soc/codecs, dated October 2026, and filed under struct wsa_reg_layout(9). π¦
π¦ 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