sdhci_arasa...gister_sdclk(9)
π sdhci_arasan_unregister_sdclk(9)
okay bestie, welcome to the Kernel API Manual β¨ this one's a tiny little cleanup function and honestly it's giving responsible main character energy. it's in section 9, and no cap, it's short β but every word matters π
πΈ NAME
sdhci_arasan_unregister_sdclk β the undo button for sdhci_arasan_register_sdclk() π«Ά
β¨ SYNOPSIS
void sdhci_arasan_unregister_sdclk (struct device *dev );
that's it. that's the whole vibe. one arg, returns nothing, no drama π
π¦ ARGUMENTS
devβ pointer to ourstruct device. like, the device that owns this whole situation. it's literally thestruct device *you hand over so the function knows whose clock registration to tear down π
π DESCRIPTION
okay so here's the tea π΅: you call this bad boy any time we're exiting β and only when sdhci_arasan_register_sdclk returned success. that's it, that's the contract.
let me say it again with feeling: this is the cleanup counterpart. it undoes what sdhci_arasan_register_sdclk() did. if the register call didn't succeed, there's nothing to un-register, so don't come for this function π
β οΈ vibe check: this is an exit-path function. it's the "we're leaving, tidy up" moment. treat it like turning off the lights on your way out β not something you spam mid-party π
π₯ SEE ALSO
literally the whole arasan squad, all together, all iconic π:
- 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)sdhci_arasan_update_baseclkfreq(9)arasan_dt_parse_clk_phases(9)sdhci_arasan_register_sdcardclk(9)sdhci_arasan_register_sampleclk(9)sdhci_arasan_update_support64b(9)sdhci_arasan_register_sdclk(9)β the one this baby undoes, iykyk π
okay that's the whole page, mwah π this gem lives over in ./drivers/mmc/host, and it's dated October 2026 β so yeah, freshly stamped, go off bestie ππ
π¦ 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