STRUCT FSL_MQS_SOC_DATA(9)
πΈ struct fsl_mqs_soc_data(9) πΈ
okay so bestie, welcome to the Kernel API Manual β¨ β yes, the actual kernel manual, we're doing this, and honestly? you're gonna slay this one π
π NAME π
struct fsl_mqs_soc_data β soc specific data π
like, it's the little struct that holds all the per-SoC deets. that's it. that's the vibe π¦
β¨ SYNOPSIS β¨
no cap, here's the whole thing, character for character, don't @ me:
struct fsl_mqs_soc_data {
enum reg_type type;
int sm_index;
int ctrl_off;
int en_mask;
int en_shift;
int rst_mask;
int rst_shift;
int osr_mask;
int osr_shift;
int div_mask;
int div_shift;
};
it's giving "small but mighty" and honestly I'm obsessed π«Ά
π Members π
every single field, coming right up, no skips, no shortcuts π
typeβ the control register space type ποΈ like, which flavor of register space we're dealing withsm_indexβ an index, and it comes from the definition in system manager π iykykctrl_offβ the control register offset πen_maskβ the enable bit mask βen_shiftβ the enable bit shift βοΈrst_maskβ the reset bit mask πrst_shiftβ the reset bit shift β©οΈosr_maskβ the oversample bit mask πosr_shiftβ the oversample bit shift πdiv_maskβ the clock divider mask βdiv_shiftβ the clock divider bit shift π’
fr fr, every mask has its shift and every shift has its mask β they're a matched set, main character energy π
π¦ SEE ALSO π¦
- Kernel file
./sound/soc/fsl/fsl_mqs.cβ go read the source bestie, it's right there ππ₯
and that's the whole page, periodt π
cute little sign-off: this beauty lives in ./sound/soc/fsl and it's dated October 2026 β mark your calendars, future girlies πβ¨π
π¦ 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