sdhci_zynqmp...lk_set_phase(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 between 0 - 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 🌈

  • 0 on 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:

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