STRUCT CPG_MSSR_PRIV(9)
π NAME π
okay bestie, welcome to the manual page for struct cpg_mssr_priv(9) from the Kernel API Manual β itβs literally the Clock Pulse Generator / Module Standby and Software Reset Private Data struct, and itβs giving main-character private-data energy β¨
πΈ SYNOPSIS πΈ
struct cpg_mssr_priv {
struct cpg_mssr_pub pub;
#ifdef CONFIG_RESET_CONTROLLER;
struct reset_controller_dev rcdev;
#endif;
struct device *dev;
enum clk_reg_layout reg_layout;
struct device_node *np;
unsigned int num_core_clks;
unsigned int num_mod_clks;
unsigned int last_dt_core_clk;
const u16 *status_regs;
const u16 *control_regs;
const u16 *reset_regs;
const u16 *reset_clear_regs;
struct {
u32 mask;
u32 val;
} smstpcr_saved[ARRAY_SIZE(mstpsr_for_gen4)];
unsigned int *reserved_ids;
unsigned int num_reserved_ids;
struct clk *clks[];
};
π«Ά Members π«Ά
pubβ data passed to the clock registration callback πrcdevβ optional reset controller entity, sitting pretty behind theCONFIG_RESET_CONTROLLERguard πdevβ the CPG/MSSR device π§reg_layoutβ CPG/MSSR register layout ποΈnpβ device node in DT for this CPG/MSSR module π³num_core_clksβ number of Core Clocks inclks[]πnum_mod_clksβ number of Module Clocks inclks[]π§©last_dt_core_clkβ ID of the last Core Clock exported to DT πstatus_regsβ pointer to status registers array πcontrol_regsβ pointer to control registers array ποΈreset_regsβ pointer to reset registers array πreset_clear_regsβ pointer to reset clearing registers array π§Όsmstpcr_savedβ saved SMSTPCR[] state:[].mask: mask ofSMSTPCR[]bits under our control;[].val: saved values ofSMSTPCR[]πΎreserved_idsβ temporary used, reserved id list πnum_reserved_idsβ temporary used, number of reserved id list π’clksβ array containing all Core and Module Clocks β°
β¨ SEE ALSO β¨
Kernel file ./drivers/clk/renesas/renesas-cpg-mssr.c and struct mstp_clock(9) π¦
signed off with source/version ./drivers/clk/renesas, dated October 2026 β struct cpg_mssr_priv(9) out, mwah ππ
π¦ 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