STRUCT RZG3E_THERMAL_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

This is struct rzg3e_thermal_priv(9) from the Kernel API Manual, and bestie, it’s giving RZ/G3E TSU private-data realness β€” no cap. πŸ’…

✨ NAME ✨

struct rzg3e_thermal_priv β€” RZ/G3E TSU private data

okay so this struct is literally the private-data holder for the RZ/G3E TSU, and she has a whole little cast of members. main character energy fr. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

here’s the exact struct, bestie β€” same fields, same order, no edits:

       struct rzg3e_thermal_priv {
           void __iomem *base;
           struct device *dev;
           struct thermal_zone_device *zone;
           struct reset_control *rstc;
           const struct rzg3e_thermal_info *info;
           u16 trmval0;
           u16 trmval1;
           struct mutex lock;
        };

🌸 Members 🌸

  • base β€” TSU register base, typed as void __iomem *base; this is the register base situation. iconic.
  • dev β€” device pointer, typed as struct device *dev; literally the device pointer. πŸŽ€
  • zone β€” thermal zone device, typed as struct thermal_zone_device *zone; holding the thermal zone device. ✨
  • rstc β€” reset control, typed as struct reset_control *rstc; holding the reset control. πŸ¦‹
  • info β€” chip type specific information, typed as const struct rzg3e_thermal_info *info; holding chip type specific information. 🌈
  • trmval0 β€” calibration value 0 (b), typed as u16 trmval0; calibration value 0 (b). periodt.
  • trmval1 β€” calibration value 1 (c), typed as u16 trmval1; calibration value 1 (c). periodt again. πŸ’œ
  • lock β€” protects hardware access during conversions, typed as struct mutex lock; so like, it protects hardware access during conversions. bestie, that’s the whole job, and she’s doing it. πŸ”₯

πŸ” SEE ALSO πŸ”

  • Kernel file ./drivers/thermal/renesas/rzg3e_thermal.c β€” that’s the kernel file, exactly. go peek, iykyk. πŸ‘‘

mwah πŸ’‹ β€” signed off from ./drivers/thermal/renesas, October 2026, all about struct rzg3e_thermal_priv(9). 🫢

πŸ“¦ where this page comes from