Lines Matching refs:period_ns
60 * @period_ns: current period in nanoseconds programmed to the hardware
65 u32 period_ns;
318 int duty_ns, int period_ns, bool force_period)
331 if (chan->period_ns != period_ns || force_period) {
335 period = NSEC_PER_SEC / period_ns;
337 dev_dbg(our_chip->chip.dev, "duty_ns=%d, period_ns=%d (%u)\n",
338 duty_ns, period_ns, period);
345 tcnt = period_ns / tin_ns;
383 chan->period_ns = period_ns;
391 int duty_ns, int period_ns)
393 return __pwm_samsung_config(chip, pwm, duty_ns, period_ns, false);
651 if (chan->period_ns) {
653 chan->period_ns, true);