rl6231_get_pre_div(9)
π 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
- 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