Lines Matching defs:pwm
20 * PIN_ENABLE: When it is unset the pwm controller will emit inactive level to the external.
22 * CLK_ENABLE: When it is unset the pwm controller will assert the duty counter reset and
23 * emit inactive level to the PIN_ENABLE mux after that the driver can still change the pwm period
41 * - When only changing one of duty cycle or period, our pwm controller will not
42 * generate the glitch, the configure will change at next cycle of pwm.
58 #include <linux/pwm.h>
62 /* The channel number of Aspeed pwm controller */
149 static int aspeed_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm,
153 u32 hwpwm = pwm->hwpwm;
187 static int aspeed_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm,
191 u32 hwpwm = pwm->hwpwm, duty_pt, val;
531 .compatible = "aspeed,ast2600-pwm-tach",
541 .name = "aspeed-g6-pwm-tach",