omap2_dpll_determine_rate(9)
π NAME π
omap2_dpll_determine_rate β round a target rate for an OMAP DPLL.
okay bestie, welcome to the Kernel API Manual page for omap2_dpll_determine_rate(9) β¨ this is literally the function that rounds a target rate for an OMAP DPLL, and it's about to make clock math make sense. no cap π«Ά
πΈ SYNOPSIS πΈ
int omap2_dpll_determine_rate (struct clk_hw *hw , struct
clk_rate_request *req );
π ARGUMENTS π
hwβ astruct clk_hwcontaining thestruct clk *for a DPLL. this is your DPLL wrapper, bestie πreqβ the rate request. yep, that's the ask π
π¦ DESCRIPTION π¦
okay so here's the vibe: you give this function a DPLL and a desired target rate, and it rounds that target rate to a possible, programmable rate for this DPLL. it's giving βlet's make this number actually workβ energy π₯
it attempts to select the minimum possible n. then it stores the computed (m, n) in the DPLL's dpll_data structure, so set_rate will not need to call this (expensive) function again. yes bestie, it's caching the math so future-you doesn't have to pay the expensive-function tax again ππΈ
the return is int: -EINVAL if the target rate cannot be rounded, or the rounded rate upon success. so either βnope, can't round thatβ or βhere's your rounded rate, periodtβ π
π SEE ALSO π
- Kernel file
./drivers/clk/ti/clkt_dpll.c _omap2_dpll_is_in_bypass(9)omap2_get_dpll_rate(9)
okay that's the whole page, bestie π«Ά this one lives under ./drivers/clk/ti, dated October 2026, and the footer vibe is omap2_dpll_determine_rate(9) from the Kernel API Manual β iconic, honestly β¨π
π¦ 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