ufshcd_dwc_program_clk_div(9)
π« ufshcd_dwc_program_clk_div(9) π«
okay so bestie, welcome to the Kernel API Manual β yes, that's the manual name, we're in the kernel docs now, put your lanyard on π this one is a single function and honestly it's giving "small but mighty."
β¨ NAME β¨
ufshcd_dwc_program_clk_div β program clock divider. that's it, that's the whole job. she programs the clock divider. periodt π
π¦ SYNOPSIS π¦
void ufshcd_dwc_program_clk_div (struct ufs_hba *hba , u32 divider_val );
like, the signature is right there, no cap. returns void β she doesn't hand anything back, she just does the thing π₯
πΈ ARGUMENTS πΈ
hbaβ a Private Structure pointer π«Ά literally the private structure, pointer-shaped, that's your whole personality here.divider_valβ the clock divider value to be programmed β this is the number that's getting programmed in, so pls pass the one you actually mean.
π SEE ALSO π
the kernel file lives at ./drivers/ufs/host/ufshcd-dwc.c β go read it, iykyk π and while you're in the neighborhood, say hi to her friends:
all of them are living their best lives in ./drivers/ufs/host πβ¨
ngl this page is short enough that skipping parts would be a crime, so congrats, you got 100% of the facts and 100% of the vibes π
and that's a wrap, bestie π brought to you by ./drivers/ufs/host, October 2026, in the Kernel API Manual β mwah, go program a clock divider, slay ππ
π¦ 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