Lines Matching refs:period_ns
65 u32 period_ns; member
309 int duty_ns, int period_ns, bool force_period) in __pwm_samsung_config() argument
322 if (chan->period_ns != period_ns || force_period) { in __pwm_samsung_config()
326 period = NSEC_PER_SEC / period_ns; in __pwm_samsung_config()
329 duty_ns, period_ns, period); in __pwm_samsung_config()
336 tcnt = period_ns / tin_ns; in __pwm_samsung_config()
373 chan->period_ns = period_ns; in __pwm_samsung_config()
381 int duty_ns, int period_ns) in pwm_samsung_config() argument
383 return __pwm_samsung_config(chip, pwm, duty_ns, period_ns, false); in pwm_samsung_config()
617 if (chan->period_ns) { in pwm_samsung_resume()
619 chan->period_ns, true); in pwm_samsung_resume()