rl6231_get_pre_div(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rl6231_get_pre_div(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual, section 9 β€” yes this is a kernel function page, yes it's glorious, no you may not skip it πŸŽ€


✨ NAME ✨

rl6231_get_pre_div β€” literally just returns the value of the pre divider. that's it. that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

int rl6231_get_pre_div (struct regmap *map , unsigned int reg , int sft );

like look at her, three args, one int return, main character energy honestly πŸ‘‘


🫢 ARGUMENTS 🫢

  • map β€” the map for setting. yes, that map. the one you brought. keep track of her πŸ’–
  • reg β€” the register. iconic, no notes ✨
  • sft β€” the shift. that's the shift, bestie, don't lose it 🌈

πŸ’€ DESCRIPTION πŸ’€

so what she does is: return the value of pre divider from the given register value. that's the whole job, and she ate πŸ”₯

and like β€” heads up, no cap β€” she returns a negative error code for an unexpected register value 😭 so if you get a negative number back, that's not a diva moment, that's the error talking. vibe check your register value fr fr πŸ™ˆ


🧚 SEE ALSO 🧚

  • Kernel file ./sound/soc/codecs/rl6231.c β€” go read her, she's right there πŸ’œ
  • rl6231_calc_dmic_clk(9) β€” the friend in the group chat πŸ“
  • rl6231_pll_calc(9) β€” the other friend in the group chat ⭐

and that's the page!! iykyk πŸ’… this came out of the ./sound/soc/codecs directory, dated October 2026, for rl6231_get_pre_div(9) β€” mwah, go forth and pull that pre divider value, bestie πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from