dev_pm_opp_g...lock_latency(9)
π dev_pm_opp_get_max_clock_latency β the vibe check
okay bestie, so this one lives in the Kernel API Manual and the page header is literally dev_pm_opp_g...lock_latency(9) β yes the name is truncated with ..., that's just how the man page template does it, don't come for her π
. Anyway. Sit down, hydrate, and let's talk clock latency.
β¨ NAME β¨
dev_pm_opp_get_max_clock_latency β Get max clock latency in nanoseconds πβ¨
π¦ SYNOPSIS π¦
unsigned long dev_pm_opp_get_max_clock_latency (struct device *dev );
like literally that's it. one function, one argument, one unsigned long coming back at you π«Ά
π ARGUMENTS π
devβ the device for which we do this operation, i.e. the main character of this whole story. you hand her the device, she tells you about her clock latency. iconique.
πΈ RETURN πΈ
This function returns the max clock latency in nanoseconds. no cap, that's the whole return value. nanoseconds. tiny little units. slay β
π₯ SEE ALSO π₯
bestie this list is LONG, so buckle up β everything here is (9) and yes I'm listing every single one because we don't do "etc." in this house π
- Kernel file
./drivers/opp/core.c(that's where the magic lives, iykyk) and: _find_opp_table(9)dev_pm_opp_get_bw(9)dev_pm_opp_get_voltage(9)dev_pm_opp_get_supplies(9)dev_pm_opp_get_power(9)dev_pm_opp_get_freq_indexed(9)dev_pm_opp_get_level(9)dev_pm_opp_get_required_pstate(9)dev_pm_opp_is_turbo(9)dev_pm_opp_get_max_volt_latency(9)dev_pm_opp_get_max_transition_latency(9)dev_pm_opp_get_suspend_opp_freq(9)dev_pm_opp_get_opp_count(9)dev_pm_opp_find_freq_exact(9)dev_pm_opp_find_key_exact(9)dev_pm_opp_find_freq_exact_indexed(9)dev_pm_opp_find_freq_ceil(9)dev_pm_opp_find_freq_ceil_indexed(9)dev_pm_opp_find_freq_floor(9)dev_pm_opp_find_freq_floor_indexed(9)dev_pm_opp_find_level_exact(9)dev_pm_opp_find_level_ceil(9)dev_pm_opp_find_level_floor(9)dev_pm_opp_find_bw_ceil(9)dev_pm_opp_find_bw_floor(9)dev_pm_opp_set_rate(9)dev_pm_opp_set_opp(9)dev_pm_opp_remove(9)dev_pm_opp_remove_all_dynamic(9)_opp_add_v1(9)dev_pm_opp_set_config(9)dev_pm_opp_clear_config(9)devm_pm_opp_set_config(9)dev_pm_opp_xlate_required_opp(9)dev_pm_opp_xlate_performance_state(9)dev_pm_opp_add_dynamic(9)_opp_set_availability(9)dev_pm_opp_adjust_voltage(9)dev_pm_opp_sync_regulators(9)dev_pm_opp_enable(9)dev_pm_opp_disable(9)dev_pm_opp_register_notifier(9)dev_pm_opp_unregister_notifier(9)dev_pm_opp_remove_table(9)
likeβ¦ 40+ cross-references. she's connected. she knows everybody. networking queen ππ
ngl the only thing this page actually does is give you back a number in nanoseconds β but every single one of those SEE ALSO friends is a real function and you WILL be seeing them again, so maybe bookmark this page, bestie π
that's the whole thing, no hidden lore π§ and before you go β this beauty is sourced from ./drivers/opp and stamped October 2026, filed under the ever-so-slightly-truncated dev_pm_opp_g...lock_latency(9). mwah, go get 'em ππ
π¦ 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