devm_clk_hw_register_clkdev(9)
π devm_clk_hw_register_clkdev(9) π
okay so bestie, welcome to the Kernel API Manual β we're looking at devm_clk_hw_register_clkdev(9), and it's giving managed clk lookup registration for clk_hw. β¨
πΈ NAME πΈ
devm_clk_hw_register_clkdev β managed clk lookup registration for clk_hw. π
β¨ SYNOPSIS β¨
int devm_clk_hw_register_clkdev (struct device *dev , struct clk_hw *hw
, const char *con_id , const char *dev_id );
π ARGUMENTS π
devβ the device this lookup is bound to. π«Άhwβ thestruct clk_hwto associate with allclk_lookups. πcon_idβ connection ID string on the device. πΈdev_idβ format string describing the device name. π¦
π DESCRIPTION π
con_id or dev_id may be NULL as a wildcard, just as in the rest of clkdev. no cap, that's the vibe. π«
To make things easier for mass registration, we detect error clk_hws from a previous clk_hw_register_*() call, and return the error code for those. This is to permit this function to be called immediately after clk_hw_register_*(). literally so convenient. π
π¦ SEE ALSO π¦
Kernel file ./drivers/clk/clkdev.c β plus these besties: clkdev_create(9), clkdev_hw_create(9), clk_register_clkdev(9), and clk_hw_register_clkdev(9). π
bye bestie! source/version: ./drivers/clk; date: October 2026; and yes, this whole iconic page is devm_clk_hw_register_clkdev(9). slay π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms