Searched refs:duty_ns (Results 1 – 1 of 1) sorted by relevance
297 int duty_ns, int period_ns);373 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, in pwm_config() argument381 if (duty_ns < 0 || period_ns < 0) in pwm_config()385 if (state.duty_cycle == duty_ns && state.period == period_ns) in pwm_config()388 state.duty_cycle = duty_ns; in pwm_config()488 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, in pwm_config() argument