rt5663_sel_asrc_clk_src(9)
π rt5663_sel_asrc_clk_src(9)
okay so bestie, welcome to the Kernel API Manual β¨ β yes this is a real kernel function and yes it's lowkey iconic. Buckle up, we're picking clock sources today π
β¨ NAME β¨
rt5663_sel_asrc_clk_src β literally just select ASRC clock source for a set of filters π no cap, that's the whole gig.
πΈ SYNOPSIS πΈ
int rt5663_sel_asrc_clk_src (struct snd_soc_component *component ,
unsigned int filter_mask , unsigned int clk_src );
π¦ ARGUMENTS π¦
componentβ the SoC audio component device π§ like, the actual audio thingy we're talking to.filter_maskβ a mask of filters π the whole "which filters are we even doing" vibe.clk_srcβ the clock source β° yeah. that one.
π DESCRIPTION π
okay so here's the tea β β the ASRC function is for asynchronous MCLK and LRCK, periodt. And also (important!!) since RT5663 can only support standard 32fs or 64fs i2s format, ASRC should be enabled to support special i2s clock format such as Intel's 100fs (that's 100 * sampling rate, iykyk) π₯
The ASRC function will track the i2s clock and generate a corresponding system clock for the codec π« like it's literally the main character of clocking.
So what does this function do? It provides an API to select the clock source for a set of filters specified by the mask π«Ά and the codec driver will turn on ASRC for these filters if ASRC is selected as their clock source. Conditional slay π
π SEE ALSO π
- Kernel file
./sound/soc/codecs/rt5663.c rt5663_v2_jack_detect(9)rt5663_jack_detect(9)
aaaand that's the whole page bestie π mwah π okay so the fine print: this icon was brought to you by the source ./sound/soc/codecs, dated October 2026, living its best life under the Kernel API Manual banner β go forth and select your clock sources responsibly π§π
π¦ 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