STRUCT SDHCI_ARASAN_SOC_CTL_MAP(9)
π struct sdhci_arasan_soc_ctl_map (Kernel API Manual) π
okay bestie, so this one is a struct, not a function β it's the little map that tells the driver where to find the corecfg registers inside a syscon. the manual name is literally struct sdhc..._soc_ctl_map(9) (yes the header truncates it, that's just how it is, iykyk) and it lives in the Kernel API Manual. let's get into it β¨
β¨ NAME β¨
struct sdhci_arasan_soc_ctl_map β maps stuff in syscon to the corecfg registers π
πΈ SYNOPSIS πΈ
struct sdhci_arasan_soc_ctl_map {
struct sdhci_arasan_soc_ctl_field baseclkfreq;
struct sdhci_arasan_soc_ctl_field clockmultiplier;
struct sdhci_arasan_soc_ctl_field support64b;
bool hiword_update;
};
not me copy-pasting the exact spacing... but fr fr, code stays exactly as it is, no cap π
π¦ Members π¦
baseclkfreqβ where to findcorecfg_baseclkfreq, bestie. that's the spot πclockmultiplierβ where to findcorecfg_clockmultiplier. slay, it's right there π«support64bβ where to find theSUPPORT64Bbit. iconic little flag πhiword_updateβ abool. if it'strue, then you useHIWORD_UPDATEto access the syscon. lowkey important detail ngl π
π Description π
so here's the vibe: it's totally up to the licensee of the Arsan IP block to make these available somewhere if needed. like, that's their job, not ours π«Ά
presumably (and yes, "presumably" is doing a lot of work here) these will be scattered somewhere that's accessible via the syscon API. so, y'know, somewhere reachable. main character energy for the syscon API honestly β
π₯ SEE ALSO π₯
- Kernel file
./drivers/mmc/host/sdhci-of-arasan.c struct sdhci_arasan_soc_ctl_field(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)sdhci_arasan_update_baseclkfreq(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 whole friend group of references, go read them all, they ate π
and that's the whole page, bestie! this cutie came from ./drivers/mmc/host, dated October 2026, and the manual is struct sdhc..._soc_ctl_map(9) β mwah, go forth and map those corecfg registers π§π
π¦ 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