devm_clk_hw_register_gate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ devm_clk_hw_register_gate(9) ✨

okay so bestie, this is straight from the Kernel API Manual β€” and it's literally the page for devm_clk_hw_register_gate. It's giving main character energy, and the vibe is: register a gate clock with the clock framework. πŸ•°οΈπŸ’–


🌸 NAME 🌸

devm_clk_hw_register_gate β€” register a gate clock with the clock framework.

✨ SYNOPSIS ✨

devm_clk_hw_register_gate (dev , name , parent_name , flags , reg ,
bit_idx , clk_gate_flags , lock );

πŸŽ€ ARGUMENTS πŸŽ€

okay here's the cast of characters, no cap:

  • dev β€” device that is registering this clock 🫢
  • name β€” name of this clock ✨
  • parent_name β€” name of this clock's parent 🌸
  • flags β€” framework-specific flags for this clock 🚩
  • reg β€” register address to control gating of this clock πŸ“
  • bit_idx β€” which bit in the register controls gating of this clock πŸ”’
  • clk_gate_flags β€” gate-specific flags for this clock πŸŽ›οΈ
  • lock β€” shared register lock for this clock πŸ”’

πŸ’… SEE ALSO πŸ’…

the whole reference squad, lowkey fr fr:


source: ./include/linux Β· date: October 2026 Β· page: devm_clk_hw_register_gate(9) β€” mwah, periodt πŸ’‹

πŸ“¦ where this page comes from