clk_has_parent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

clk_has_parent(9) πŸ’…βœ¨

okay so this is the clk_has_parent(9) page, straight outta the Kernel API Manual, and bestie we are gonna get you comfy with it 🫢


🌸 NAME 🌸

clk_has_parent β€” check if a clock is a possible parent for another ✨

πŸŽ€ SYNOPSIS πŸŽ€

bool clk_has_parent (const struct clk *clk , const struct clk *parent );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • clk β€” clock source
  • parent β€” parent clock source

πŸ’– DESCRIPTION πŸ’–

so this function is for drivers that need to check that a clock can be the parent of another without actually changing the parent. literally just a vibe check, no parent-swapping happening here πŸ’…

it returns true if parent is a possible parent for clk, and false otherwise. periodt ✨

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ this little page lives under ./include/linux, dated October 2026, and it's clk_has_parent(9) signing off 🫢✨

πŸ“¦ where this page comes from