Searched refs:duty_ns (Results 1 – 1 of 1) sorted by relevance
299 int duty_ns, int period_ns);379 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, in pwm_config() argument387 if (duty_ns < 0 || period_ns < 0) in pwm_config()391 if (state.duty_cycle == duty_ns && state.period == period_ns) in pwm_config()394 state.duty_cycle = duty_ns; in pwm_config()494 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, in pwm_config() argument