STRUCT FSL_MQS_SOC_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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 with
  • sm_index β€” an index, and it comes from the definition in system manager πŸ“‡ iykyk
  • ctrl_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