omap2_init_clk_clkdm(9)
omap2_init_clk_clkdm(9) π
okay bestie, welcome to the Kernel API Manual corner of the group chat β this one is giving βtiny function, very specific jobβ energy, and honestly? slay. letβs get into it π
NAME π
omap2_init_clk_clkdm β look up a clockdomain name, store pointer in clk
β¨ SYNOPSIS β¨
int omap2_init_clk_clkdm (struct clk_hw *hw );
ARGUMENTS π¦
hwβ pointer to theclk_hw_omapthatβs used to obtain the OMAP clock struct ptr weβre gonna use. thatβs the whole assignment, no cap.
DESCRIPTION πΈ
so basically: it converts a clockdomain name stored in a struct clk 'clk' into a clockdomain pointer, and saves that pointer right back into the struct clk. iconic behavior tbh.
itβs intended to be called during clk_register. and for the receipts: returns 0 on success, -EERROR otherwise. periodt. π
SEE ALSO π
- Kernel file:
./drivers/clk/ti/clockdomain.c omap2_clkops_enable_clkdm(9)omap2_clkops_disable_clkdm(9)ti_dt_clockdomains_setup(9)
okay thatβs the whole page, bye bestie π«Ά β source/version ./drivers/clk/ti, dated October 2026, and weβre out as omap2_init_clk_clkdm(9) βπ
π¦ 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