pwmchip_supports_waveform(9)
π NAME π
Okay so this is pwmchip_supports_waveform(9), straight from the Kernel API Manual β and it checks if the given chip supports waveform callbacks. Itβs giving tiny boolean vibe-check energy for a pwm_chip. β¨
π SYNOPSIS π
bool pwmchip_supports_waveform (struct pwm_chip *chip );
π¦ ARGUMENTS π¦
chipβ thepwm_chipto test. Thatβs the main character right there. π
π₯ RETURN π₯
Returns true iff the pwm chip support the waveform functions like pwm_set_waveform_might_sleep and pwm_round_waveform_might_sleep. No cap, thatβs literally the whole answer. π
π SEE ALSO π
- Kernel file
./include/linux/pwm.h enum pwm_polarity(9)struct pwm_args(9)struct pwm_waveform(9)struct pwm_device(9)pwm_get_state(9)pwm_init_state(9)pwm_get_relative_duty_cycle(9)pwm_set_relative_duty_cycle(9)struct pwm_capture(9)struct pwm_ops(9)struct pwm_chip(9)pwm_config(9)pwm_enable(9)pwm_disable(9)pwm_might_sleep(9)
Stay slay, bestie π«Ά β this page lives under ./include/linux, is dated October 2026, and is, of course, pwmchip_supports_waveform(9). ππ
π¦ 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