Lines Matching refs:period_ns
68 u32 period_ns; member
307 int duty_ns, int period_ns, bool force_period) in __pwm_samsung_config() argument
318 if (period_ns > NSEC_PER_SEC) in __pwm_samsung_config()
328 if (chan->period_ns != period_ns || force_period) { in __pwm_samsung_config()
332 period = NSEC_PER_SEC / period_ns; in __pwm_samsung_config()
335 duty_ns, period_ns, period); in __pwm_samsung_config()
342 tcnt = period_ns / tin_ns; in __pwm_samsung_config()
380 chan->period_ns = period_ns; in __pwm_samsung_config()
388 int duty_ns, int period_ns) in pwm_samsung_config() argument
390 return __pwm_samsung_config(chip, pwm, duty_ns, period_ns, false); in pwm_samsung_config()
621 if (chan->period_ns) { in pwm_samsung_resume()
623 chan->period_ns, true); in pwm_samsung_resume()