STRUCT RZV2H_CPG_PRIV(9)
β¨ NAME β¨
okay so welcome to the Kernel API Manual entry for struct rzv2h_cpg_priv(9), bestie! The name is struct rzv2h_cpg_priv β Clock Pulse Generator Private Data. It's giving "the CPG's own private little data bundle," and honestly? iconic. π
π¦ SYNOPSIS π¦
struct rzv2h_cpg_priv {
struct device *dev;
void __iomem *base;
spinlock_t rmw_lock;
struct clk **clks;
unsigned int num_core_clks;
unsigned int num_mod_clks;
struct rzv2h_reset *resets;
unsigned int num_resets;
unsigned int last_dt_core_clk;
struct clk_ops *ff_mod_status_ops;
atomic_t *mstop_count;
struct reset_controller_dev rcdev;
struct rzv2h_pll_dsi_info pll_dsi_info[MAX_CPG_DSI_PLL];
};
πΈ Members πΈ
devβ the CPG device. the main-character device reference, periodt.baseβ the CPG register block base address. that's where the registers live, no cap.rmw_lockβ protects register accesses. it's the read-modify-write bodyguard keeping accesses from stepping on each other.clksβ Array containing all Core and Module Clocks. literally the whole clock lineup.num_core_clksβ Number of Core Clocks inclks[]. the headcount for the core-clock section.num_mod_clksβ Number of Module Clocks inclks[]. the headcount for the module-clock section.resetsβ Array of resets. yep, the reset squad.num_resetsβ Number of Module Resets ininfo->resets[]. the reset tally.last_dt_core_clkβ ID of the last Core Clock exported to DT. that's the DT export boundary, bestie.ff_mod_status_opsβ Fixed Factor Module Status Clock operations. the ops for that clock flavor.mstop_countβ Array of mstop values. a whole array of mstop counts, slay.rcdevβ Reset controller entity. the reset-controller representation.pll_dsi_infoβ Array of PLL DSI information, holds the limits and parameters. it's giving PLL DSI details with limits and parameters included. π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/clk/renesas/rzv2h-cpg.cstruct rzv2h_pll_dsi_info(9),struct mod_clock(9),struct ddiv_clk(9),struct rzv2h_ff_mod_status_clk(9),struct rzv2h_plldsi_div_clk(9),struct rzv2h_plldsi_mux_clk(9),struct rzv2h_cpg_pd(9)
xoxo, your kernel bestie π β source/version: ./drivers/clk/renesas, date: October 2026, page: struct rzv2h_cpg_priv(9).
π¦ 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