Go to the documentation of this file.
10 #if IS_ENABLED(CONFIG_PWM) || IS_ENABLED(CONFIG_HAVE_PWM)
98 static inline unsigned int pwm_get_period(
struct pwm_device *
pwm)
100 return pwm ? pwm->
period : 0;
126 int duty_ns,
int period_ns);
134 #ifdef CONFIG_DEBUG_FS
164 #if IS_ENABLED(CONFIG_PWM)
208 const char *consumer)
218 const char *consumer)
236 #define PWM_LOOKUP(_provider, _index, _dev_id, _con_id) \
238 .provider = _provider, \
244 #if IS_ENABLED(CONFIG_PWM)