_sci_clk_build(9)
π NAME π
_sci_clk_build β Gets a handle for an SCI clock. Yep bestie, this is the Kernel API Manual page for it, and we are getting into it β¨
π SYNOPSIS π
The whole signature, no edits, no cap:
int _sci_clk_build (struct sci_clk_provider *provider , struct sci_clk
*sci_clk );
πΈ ARGUMENTS πΈ
providerβ Handle to SCI clock provider. The plug, basically πsci_clkβ Handle to the SCI clock to populate. This is the one getting filled in π«Ά
π¦ DESCRIPTION π¦
Okay so here's the vibe: this gets a handle to an existing TI SCI hw clock, or it builds a new clock entry and registers it with the common clock framework. Iconic behavior honestly π
It's called from the common clock framework, when a corresponding of_clk_get call is executed, or recursively from itself when parsing parent clocks. So yes, it can call itself β recursion era π«
Returns 0 on success, negative error code on failure. No cap: success is the happy little zero, failure gives you a negative error code π
fr fr, that return value matters. 0 = slay, negative = not slay.
π₯ SEE ALSO π₯
Kernel file ./drivers/clk/keystone/sci-clk.c β yes, that exact path, and the whole friend group:
struct sci_clk_provider(9)struct sci_clk(9)sci_clk_prepare(9)sci_clk_unprepare(9)sci_clk_is_prepared(9)sci_clk_recalc_rate(9)sci_clk_determine_rate(9)sci_clk_set_rate(9)sci_clk_get_parent(9)sci_clk_set_parent(9)sci_clk_get(9)ti_sci_clk_probe(9)ti_sci_clk_remove(9)
Signed, sealed, delivered by ./drivers/clk/keystone, dated October 2026 π
β¨ Go off, kernel bestie ππ
π¦ 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