STRUCT SDHCI_ARASAN_CLK_OPS(9)
π NAME
struct sdhci_arasan_clk_ops β the Clock Operations for the Arasan SD controller, bestie π
okay so real talk, this is one of those little structs living inside the Kernel API Manual (yes, the actual Linux kernel docs, we're fancy now π), and it's basically the plug-in panel for all the clock stuff the Arasan SD host controller needs to do its job β¨
β¨ SYNOPSIS
struct sdhci_arasan_clk_ops {
const struct clk_ops *sdcardclk_ops;
const struct clk_ops *sampleclk_ops;
};
like, that's it. two pointers. two. that's the whole struct π but the way that those two pointers carry so much responsibility? it's giving main character energy fr fr.
π Members
sdcardclk_opsβ the operations for the output clock πβ¨ literally the ones that handle the clock going out, the whole reason your card gets a signal at all, no cap.sampleclk_opsβ the operations for the sample clock π the one that does the sampling side of things, its own whole vibe, its own whole set of ops.
both are const struct clk_ops * btw β pointers to const, so nobody's out here rewriting the clk_ops tables at 3am. we love a read-only situation π«Ά
π¦ SEE ALSO
okay bestie, buckle in, because this list is long and every single one of these is real and you're gonna need them π all of them live in the kernel file ./drivers/mmc/host/sdhci-of-arasan.c β that's the whole neighbourhood π‘
struct sdhci_arasan_soc_ctl_field(9)struct sdhci_arasan_soc_ctl_map(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 twenty-one entries. twenty-one!! not me counting them. okay I counted them. and you should read all of them, iykyk π₯
so yeah, that's the whole page β short struct, iconic energy, zero filler π
this lil' beauty ships under ./drivers/mmc/host and the docs are dated October 2026 β go read it again sometime, mwah ππ
π¦ 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