sdhci_arasa..._baseclkfreq(9)
πΈ sdhci_arasa..._baseclkfreq(9) β Kernel API Manual β¨
okay bestie, welcome to the sdhci_arasa..._baseclkfreq page, straight out of the Kernel API Manual. yes the title is truncated with dots, no that's not a typo, that's just how the man girlies abbreviate. iykyk π
β¨ NAME β¨
sdhci_arasan_update_baseclkfreq β literally just here to set corecfg_baseclkfreq. that's the whole job. icon behavior, honestly π
π¦ SYNOPSIS π¦
void sdhci_arasan_update_baseclkfreq (struct sdhci_host *host );
π ARGUMENTS π
hostβ thesdhci_host, bestie. the main character of this whole function, fr fr π
π DESCRIPTION π
so likeβ¦ corecfg_baseclkfreq is supposed to contain the MHz of clk_xin. that's the assignment. that's the vibe. and this function? this function is the one that can be used to make that happen. slay β¨
π«Ά NOTES π«Ά
- many existing devices don't seem to do this and work fine. like, they're out here thriving without it, no cap π so β to keep compatibility for old hardware where the device tree doesn't provide a register map β this function is a noop if a
soc_ctl_maphasn't been provided for this platform. it just. does nothing. respectfully π - it's assumed that
clk_xinis not dynamic and that we use the SDHCI divider to achieve lower clock rates. which means (and this is the important bit π) this function is called once at probe time and never called again. one and done. no encore. periodt π
bestie pls don't call it in a loop expecting new results, that's not the assignment π₯Ί
π§ SEE ALSO π§
Kernel file ./drivers/mmc/host/sdhci-of-arasan.c struct sdhci_arasan_soc_ctl_field(9), struct sdhci_arasan_soc_ctl_map(9), struct sdhci_arasan_clk_ops(9), struct sdhci_arasan_clk_data(9), struct sdhci_arasan_data(9), sdhci_arasan_syscon_write(9), sdhci_arasan_suspend(9), sdhci_arasan_resume(9), sdhci_arasan_sdcardclk_recalc_rate(9), sdhci_arasan_sampleclk_recalc_rate(9), sdhci_zynqmp_sdcardclk_set_phase(9), sdhci_zynqmp_sampleclk_set_phase(9), sdhci_versal_sdcardclk_set_phase(9), sdhci_versal_sampleclk_set_phase(9), sdhci_arasan_update_clockmultiplier(9), arasan_dt_parse_clk_phases(9), sdhci_arasan_register_sdcardclk(9), sdhci_arasan_register_sampleclk(9), sdhci_arasan_unregister_sdclk(9), sdhci_arasan_update_support64b(9), sdhci_arasan_register_sdclk(9)
like, that's a lot of friends in the group chat, and they all ate π
and that's the whole page, bestie!! tysm for reading mwah π this lil gem lives in ./drivers/mmc/host and was stamped October 2026 β go forth and set that baseclkfreq, ily, bye!! ππ¦π
π¦ 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