omap2_clk_for_each(9)
π omap2_clk_for_each(9) π
okay bestie, welcome to the Kernel API Manual β this one is giving βtiny loop, big main character energy.β β¨
π NAME
omap2_clk_for_each β literally call a function for each registered clk_hw_omap. no cap. π«
β¨ SYNOPSIS
int omap2_clk_for_each (int (*fn)(struct clk_hw_omap *hw) );
π«Ά ARGUMENTS
fnβ pointer to a callback function. thatβs the bestie youβre handing to the loop π«Ά
π DESCRIPTION
Call fn for each registered clk_hw_omap, passing hw to each function. fn must return 0 for success or any other value for failure. If fn returns non-zero, the iteration across clocks will stop and the non-zero return value will be passed to the caller of omap2_clk_for_each. periodt. π₯
π¦ SEE ALSO
- Kernel file
./drivers/clk/ti/clk.c ti_clk_setup_ll_ops(9)ti_dt_clocks_register(9)ti_clk_retry_init(9)ti_clk_get_reg_addr(9)ti_clk_get_legacy_bit_shift(9)omap2_clk_provider_init(9)omap2_clk_legacy_provider_init(9)ti_dt_clk_init_retry_clks(9)ti_dt_clk_name(9)ti_clk_add_aliases(9)ti_clk_setup_features(9)ti_clk_get_features(9)omap2_clk_enable_init_clocks(9)ti_clk_add_alias(9)of_ti_clk_register(9)of_ti_clk_register_omap_hw(9)omap2_clk_is_hw_omap(9)
π signed, sealed, delivered from source/version ./drivers/clk/ti, dated October 2026 β mwah ππ
π¦ 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