STRUCT SG2042_PWM_DDATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct sg2042_pwm_ddata(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this page is literally the little home for struct sg2042_pwm_ddata, aka the private driver data. no cap, it’s a tiny struct and we’re gonna give it main character energy. ✨


🌸 NAME 🌸

struct sg2042_pwm_ddata β€” private driver data. that’s the name, that’s the whole vibe, and honestly? iconic. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

       struct sg2042_pwm_ddata {
           void __iomem *base;
           unsigned long clk_rate_hz;
        };

πŸ’– Members πŸ’–

  • base β€” base address of mapped PWM registers. literally where the PWM registers live, periodt. πŸ“
  • clk_rate_hz β€” rate of base clock in HZ. yes bestie, HZ with a capital H, keep it exact. ⏰

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/pwm/pwm-sophgo-sg2042.c β€” go peek, iykyk. πŸ‘€

that’s the whole page, bestie πŸ’– source/version is ./drivers/pwm, dated October 2026, and the title is struct sg2042_pwm_ddata(9). slay and goodbye. 🫢✨

πŸ“¦ where this page comes from