dev_pm_opp_remove(9)
π dev_pm_opp_remove (9) β Kernel API Manual β¨
okay so real talk, bestie β this is a page from the Kernel API Manual, and it's literally about yeeting one single OPP out of an OPP table. short page, big main character energy. let's get into it π«Ά
πΈ NAME πΈ
dev_pm_opp_remove β Remove an OPP from OPP table
like... that's it. that's the whole gig. she removes an OPP. iconic.
π SYNOPSIS π
void dev_pm_opp_remove (struct device *dev , unsigned long freq );
no cap, that's the entire signature. returns nothing (void), takes two things, does the deed. π
β¨ ARGUMENTS β¨
devβ the device you're doing this whole operation for. your lil target. the one whose OPP table is about to lose a member πfreqβ the OPP you wanna remove, matched by'freq'. so like, you point at the frequency and she's gone. matching is the key word here, iykyk π₯
π¦ DESCRIPTION π¦
This function removes an opp from the opp table.
fr fr that's what the whole page is about β one opp, one table, and it's not invited anymore. lowkey the most straightforward function in the whole OPP family and honestly? we stan a legend who knows exactly what she does π
bestie pls double-check yourfreqactually matches an OPP before you call this β the doc says it matches on'freq', and details beyond that are not in this page, so i'm not gonna invent them for you π
π SEE ALSO π
the whole friend group, in the order the page gives them. go say hi π
./drivers/opp/core.c_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_clock_latency(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_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)
and that's the whole vibe check π this one lives in ./drivers/opp, it's dated October 2026, and it's filed under dev_pm_opp_remove(9) β go forth and remove responsibly, 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