Searched refs:duty_ns (Results 1 – 1 of 1) sorted by relevance
285 int duty_ns, int period_ns);347 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, in pwm_config() argument355 if (duty_ns < 0 || period_ns < 0) in pwm_config()359 if (state.duty_cycle == duty_ns && state.period == period_ns) in pwm_config()362 state.duty_cycle = duty_ns; in pwm_config()457 static inline int pwm_config(struct pwm_device *pwm, int duty_ns, in pwm_config() argument