sdhci_arasa...ckmultiplier(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ sdhci_arasan_update_clockmultiplier ✨

okay so bestie, welcome to the Kernel API Manual β€” yes, that's the manual name, and yes, it's giving "I read kernel docs for fun" main character energy πŸ’…. Buckle up, this one's a tiny little function with a big glow-up.


🌸 NAME 🌸

sdhci_arasan_update_clockmultiplier β€” literally just sets corecfg_clockmultiplier. that's the whole job. iconique, lowkey.


✨ SYNOPSIS ✨

void sdhci_arasan_update_clockmultiplier (struct sdhci_host *host , u32 value );

two args, returns nothing. no cap, that's it. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • host β€” The sdhci_host. your main character struct, the whole reason we're here πŸ’–
  • value β€” The value to write. yes, it's literally just called value. she said "no notes." πŸŽ€

πŸ’œ DESCRIPTION πŸ’œ

So corecfg_clockmultiplier is supposed to contain the clock multiplier value of the programmable clock generator. that's the vibe check it's meant to pass. the way that it's just... supposed to hold that number. ⭐


πŸ”₯ NOTES πŸ”₯

  • Many existing devices don't seem to do this and work fine. honestly? relatable. 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_map hasn't been provided for this platform. so it just... does nothing. respectfully. πŸ’€
  • The value of corecfg_clockmultiplier should sync with that of the corresponding value reading from sdhci_capability_register. So this function is called once at probe time and never called again. one shot, one opportunity, she's not coming back bestie 😭 πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file ./drivers/mmc/host/sdhci-of-arasan.c, plus the whole friend group:

like, the whole arasan extended universe fr fr πŸ‘‘


mwah πŸ’‹ that's the page! brought to you straight out of ./drivers/mmc/host, dated October 2026 β€” see you in the next probe, bestie πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from