clk_hw_create_clk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

clk_hw_create_clk β€” allocate and link a clk consumer to a clk_core given a clk_hw. And hiii bestie, welcome to the clk_hw_create_clk(9) page from the Kernel API Manual πŸ’–βœ¨


⭐ SYNOPSIS ⭐

struct clk * clk_hw_create_clk (struct device *dev , struct clk_hw *hw ,
const char *dev_id , const char *con_id );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the clk consumer device 🫢
  • hw β€” the clk_hw associated with the clk being consumed
  • dev_id β€” a string describing the device name
  • con_id β€” the connection ID string on device

πŸ’… DESCRIPTION πŸ’…

okay so this is the main function used to create a clk pointer for use by clk consumers. No cap, that's literally its whole job πŸ’– It connects a consumer to the clk_core and clk_hw structures β€” the ones used by the framework and the clk provider respectively. It's giving "link the whole vibe together" and honestly? iconic πŸ”₯


🌈 SEE ALSO 🌈

Kernel file ./drivers/clk/clk.c plus all these besties:


okay that's the whole page, bestie πŸŽ€ it's from the ./drivers/clk source, dated October 2026, and it's the clk_hw_create_clk(9) page. mwah πŸ’‹ slay ✨

πŸ“¦ where this page comes from