clk_drop_range(9)
π clk_drop_range(9) β like, the Kernel API Manual edition, bestie π
okay so this is a page from the Kernel API Manual (yes, that manual, the β¨clk_drop_range(9)β¨ one) and it's genuinely so short you could read it in the time it takes to microwave a bagel. but every crumb matters, so let's go π«Ά
β¨ NAME β¨
clk_drop_range β reset any range set on that clock πΈ
like, the clock had a whole range situation going on and this function is the "bestie, we're done with that" moment. periodt.
π¦ SYNOPSIS π¦
int clk_drop_range (struct clk *clk );
that's it. that's the whole vibe check. one argument, returns an int. iconic π
π ARGUMENTS π
clkβ the clock source π (the actual clock you're dropping the range on, no cap)
π DESCRIPTION π
Returns success (0) or a negative errno. π
yeah that's literally the whole description. not me expecting more lore π but honestly? sometimes a function knows exactly what it is and refuses to elaborate. main character energy fr fr. returns 0 when it slays, negative errno when it does not slay. that's the whole story bestie π
lowkey important: it's success as0and negativeerrnoon the fail path β don't go assuming some other convention, iykyk π
β SEE ALSO β
okay this section is doing the MOST, but we're listing every single one because I would never gatekeep πΈ and also because they're all (9) manual pages, so yes, it's a whole group chat:
Kernel file ./include/linux/clk.hπ¦ (that's where the source lives, bestie)
then the crew:
clk notifier callback types(9)struct clk_notifier(9)struct clk_notifier_data(9)struct clk_bulk_data(9)clk_notifier_register(9)clk_notifier_unregister(9)devm_clk_notifier_register(9)clk_get_accuracy(9)clk_set_phase(9)clk_get_phase(9)clk_set_duty_cycle(9)clk_get_scaled_duty_cycle(9)clk_is_match(9)clk_rate_exclusive_get(9)devm_clk_rate_exclusive_get(9)clk_rate_exclusive_put(9)clk_save_context(9)clk_restore_context(9)clk_prepare(9)clk_unprepare(9)clk_is_enabled_when_prepared(9)clk_get(9)clk_bulk_get(9)clk_bulk_get_all(9)clk_bulk_get_optional(9)devm_clk_bulk_get(9)devm_clk_bulk_get_optional(9)devm_clk_bulk_get_enable(9)devm_clk_bulk_get_optional_enable(9)devm_clk_bulk_get_all(9)devm_clk_bulk_get_all_enabled(9)devm_clk_get(9)devm_clk_get_prepared(9)devm_clk_get_enabled(9)devm_clk_get_optional(9)devm_clk_get_optional_prepared(9)devm_clk_get_optional_enabled(9)devm_clk_get_optional_enabled_with_rate(9)devm_get_clk_from_child(9)clk_enable(9)clk_bulk_enable(9)clk_disable(9)clk_bulk_disable(9)clk_get_rate(9)clk_put(9)clk_bulk_put(9)clk_bulk_put_all(9)devm_clk_put(9)clk_round_rate(9)clk_set_rate(9)clk_set_rate_exclusive(9)clk_has_parent(9)clk_set_rate_range(9)clk_set_min_rate(9)clk_set_max_rate(9)clk_set_parent(9)clk_get_parent(9)clk_get_sys(9)clk_get_optional(9)
like I said. the whole group chat. but we got through it together π«Άβ¨
and that's the page!! π this little legend came from the source dir ./include/linux and is dated October 2026 β so when you're citing it in your notes, that's the version and date to credit, bestie π no cap, go drop some ranges ππ
π¦ 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