STRUCT RZ_SYSC_INIT_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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's const 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 a u32. 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, including writeable_reg and readable_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