STRUCT RZ_SYSC_INIT_DATA(9)
π struct rz_sysc_init_data(9) π
okay so bestie, welcome to the Kernel API Manual (section 9, the ~cool~ section), and today's main character is struct rz_sysc_init_data β literally the RZ SYSC initialization data. she's a struct, she holds the vibes, she gets the regmap configured. no cap. π
β¨ NAME β¨
struct rz_sysc_init_data β RZ SYSC initialization data. that's it, that's the whole vibe check. π¦
πΈ SYNOPSIS πΈ
struct rz_sysc_init_data {
const struct rz_sysc_soc_id_init_data *soc_id_init_data;
bool (*writeable_reg)(struct device *dev, unsigned int reg);
bool (*readable_reg)(struct device *dev, unsigned int reg);
u32 max_register;
};
look at her. four fields. clean. iconic. copy-paste her exactly, i'm begging you. π«Ά
π§ Members π§
soc_id_init_dataβ RZ SYSC SoC ID initialization data. yes it's a pointer, yes it'sconst struct rz_sysc_soc_id_init_data *, yes i typed it twice on purpose. π₯writeable_regβ the Regmap writeable register check function. it's a function pointer:bool (*writeable_reg)(struct device *dev, unsigned int reg). she checks whether a register is writeable, and that's the whole job. periodt. β¨readable_regβ the Regmap readable register check function. also a function pointer:bool (*readable_reg)(struct device *dev, unsigned int reg). same energy, but reading. the way that symmetry ate. πmax_registerβ maximum SYSC register offset to be used by the regmap config. it's au32. she's the ceiling, she sets the limit, she's the boundary queen. π
π SEE ALSO π
- Kernel file
./drivers/soc/renesas/rz-sysc.hβ go read it, iykyk. π
reminder bestie: these field names are spelled exactly like that, includingwriteable_regandreadable_reg. don't "fix" them to "writable" or the kernel will simply know and it will not slay. π
and that's the whole page, mwah π
sign-off time: this little gem came from ./drivers/soc/renesas, dated October 2026, living inside the Kernel API Manual β so when you cite her, cite her right. πβ¨π¦π
π¦ 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