clk_bulk_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… clk_bulk_put(9) β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so real talk, we're in the Kernel API Manual today and the star of the show is clk_bulk_put β€” yes it's a 9, yes that means kernel-internal, yes we're fancy πŸ’…


✨ NAME ✨

clk_bulk_put β€” "free" the clock source πŸ’– (the quotes are doing a LOT of work there, keep them, they're load-bearing)


🌸 SYNOPSIS 🌸

void clk_bulk_put (int num_clks , struct clk_bulk_data *clks );

like… she returns nothing (void), she takes two things, she's chill about it πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • num_clks β€” the number of clk_bulk_data πŸ“ (aka how many entries are in that table, don't lie to her)
  • clks β€” the clk_bulk_data table of consumer πŸ‘‘ (the actual table, hand it over)

πŸ”₯ NOTE πŸ”₯

bestie this part is NOT a vibe, it's rules πŸ“‹

drivers must ensure that all clk_bulk_enable calls made on this clock source are balanced by clk_bulk_disable calls prior to calling this function. balanced. like, enable-count-wise. no leftover enables, periodt πŸ’€

clk_bulk_put should not be called from within interrupt context 🚫✨ like genuinely do not, that's not the moment, that's not the place 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/clk.h β€” and then, like, the entire clock extended family showed up to the group chat 🌈:

like I said. the whole family. iykyk 🫢


and that's the page!! mwah πŸ’‹ this one came from ./include/linux, dated October 2026, and it's literally titled clk_bulk_put(9) β€” slay, ate, no crumbs, go free those clocks responsibly bestie πŸ‘‘βœ¨

πŸ“¦ where this page comes from