davinci_lpsc_clk_register(9)
π davinci_lpsc_clk_register(9) β the Kernel API Manual, bestie edition π
okay so picture this: you're deep in davinci_lpsc_clk_register from the Kernel API Manual (section 9, kernel-space girlies only π) and you just need to register an LPSC clock. that's it. that's the whole vibe. no cap, the name literally says it: register LPSC clock. iconic behavior tbh πΈ
β¨ SYNOPSIS β¨
struct davinci_lpsc_clk * davinci_lpsc_clk_register (struct device *dev
, const char *name , const char *parent_name , struct regmap *regmap ,
u32 md , u32 pd , u32 flags );
seven arguments, one struct pointer back, and honestly? she ate π₯
π«Ά ARGUMENTS π«Ά
devβ the clock's device, orNULLif you're feeling mysterious and unmoored π literally either one is fine bestie.nameβ name of this clock. give her a good one, she deserves it βparent_nameβ name of clock's parent. yes she has a mother πregmapβ the PSC MMIO region. this is where the actual hardware lives, treat her with respect πmdβ local PSC number. au32, not a vibe check, keep it straight π’pdβ power domain. also au32. the domain of power πflagsβ theLPSC_*flags. she's flexible, she's got options, she's au32too β¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/clk/davinci/psc.cβ the source, go read her π struct davinci_lpsc_clk(9)β the struct herself, main character energy fr fr πbest_dev_name(9)β the helper bestie you'll also wanna know π
heads up: if you passNULLfordevthat's allowed, but everything else is you doing the work, so know yourregmapand yourflagsbefore you call her π
and that's the page!! π shoutout to ./drivers/clk/davinci for hosting the files, October 2026 for the timestamp, and davinci_lpsc_clk_register(9) for being the whole point of this document π§ mwah, go register some clocks, iykyk ππ
π¦ 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