STRUCT SDHCI_ARASAN_SOC_CTL_MAP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 find corecfg_baseclkfreq, bestie. that's the spot πŸ‘‘
  • clockmultiplier β€” where to find corecfg_clockmultiplier. slay, it's right there πŸ’«
  • support64b β€” where to find the SUPPORT64B bit. iconic little flag πŸŽ€
  • hiword_update β€” a bool. if it's true, then you use HIWORD_UPDATE to 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 πŸ”₯

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