sdhci_zynqmp...lk_set_phase(9)
π sdhci_zynqmp_sampleclk_set_phase β from the Kernel API Manual, bestie β¨
okay so picture this: you're deep in the kernel, the SD card needs its input clock tap delays set, and you open this lil page. that's the vibe. welcome to sdhci_zynqmp_sampleclk_set_phase(9), the function that handles the SD input clock phase for you. no cap, she's a real one π
πΈ NAME πΈ
sdhci_zynqmp_sampleclk_set_phase β literally just here to Set the SD Input Clock Tap Delays. that's the whole job, and she does it π
β¨ SYNOPSIS β¨
int sdhci_zynqmp_sampleclk_set_phase (struct clk_hw *hw , int degrees );
like, that's the signature. short, sweet, iconic π
π¦ ARGUMENTS π¦
hwβ pointer to the hardware clock structure. yep, the clock thingy. you hand her the pointer and she's good to go π«Άdegreesβ the clock phase shift, and it's gotta be between0 - 359. so like, a full circle minus one degree, iykyk π₯
π DESCRIPTION π
so what does she actually do? she Set the SD Input Clock Tap Delays for Input path. that's it. that's the whole description. input path only, bestie β don't come at her about the output path π
the way this is such a specific little job and she just does it. main character energy fr fr β
π RETURN π
0on success π- an error value on error π (yes, that's the whole spec β go check the error, bestie)
π SEE ALSO π
okay this list is LONG and honestly? she ate. every single one, no skipping π
Kernel file ./drivers/mmc/host/sdhci-of-arasan.c, plus:
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_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)
ngl bestie, the related-functions list here is giving "the whole friend group showed up to the party." read a few. they're all in ./drivers/mmc/host/sdhci-of-arasan.c anyway π§
and that's the page!! mwah π catch you in the source, from ./drivers/mmc/host, dated October 2026, the one and only sdhci_zynqmp...lk_set_phase(9) β periodt πβ¨
π¦ 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