clk_get_accuracy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… clk_get_accuracy β€” Kernel API Manual ✨

Okay so bestie, welcome to the clk_get_accuracy(9) page β€” this is the Kernel API Manual, and it's giving "tiny function, big feelings". Buckle up πŸŽ€


🌸 NAME 🌸

clk_get_accuracy β€” obtain the clock accuracy in ppb (parts per billion) for a clock source. That's it. That's the whole gig 🫢


⭐ SYNOPSIS ⭐

long clk_get_accuracy (struct clk *clk );

Literally one call. One pointer. One long coming back at you. Iconic behavior honestly πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • clk β€” clock source. the main character of this entire operation πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

So here's the tea, bestie πŸ“: this gets the clock source accuracy expressed in ppb. A perfect clock returns 0.

That's the whole vibe. If your clock is flawless, you get a big fat zero β€” and ngl that zero is a flex πŸ’€βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/clk.h 🌈 and the whole clk extended universe, fr fr:

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_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_drop_range(9), clk_get_optional(9)

Like, that is a whole friend group and every single one of them is in the clk cinematic universe πŸ’œ


ok that's the whole page bestie, no cap. go get that accuracy value and slay πŸ’…πŸ§š

✨ sourced from ./include/linux, dated October 2026, and filed under clk_get_accuracy(9) β€” mwah, bye πŸ«ΆπŸ’– ✨

πŸ“¦ where this page comes from