STRUCT SG2042_PWM_DDATA(9)
π 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
- 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