STRUCT CROS_EC_PWM_DEVICE(9)
π struct cros_ec_pwm_device(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a little struct page and it's literally so cute and tiny. it's all about the driver data for EC PWM β¨ no cap, that's the whole vibe.
πΈ NAME πΈ
struct cros_ec_pwm_device β driver data for EC PWM, periodt π
π SYNOPSIS π
here's the shape of it, bestie β copy it exactly, don't @ me:
struct cros_ec_pwm_device {
struct cros_ec_device *ec;
bool use_pwm_type;
};
π¦ Members π¦
β ec
Pointer to EC device β like, it literally points at the EC device π«Ά that's the whole job.
β use_pwm_type
Use PWM types instead of generic channels β¨ that's the switch, iykyk.
π₯ SEE ALSO π₯
- Kernel file
./drivers/pwm/pwm-cros-ec.cβ go read the source, bestie, it's giving main character energy π
ngl this page is short but it ate π every member, every flag, every file path β all still here, no details lost, fr fr π
and that's the whole thinggg π brought to you from ./drivers/pwm, dated October 2026, under the title struct cros_ec_pwm_device(9) β slay, bye bestie πβ¨π¦
π¦ 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