Lines Matching refs:period_ns
60 * @period_ns: current period in nanoseconds programmed to the hardware
65 u32 period_ns;
304 int duty_ns, int period_ns, bool force_period)
315 if (period_ns > NSEC_PER_SEC)
325 if (chan->period_ns != period_ns || force_period) {
329 period = NSEC_PER_SEC / period_ns;
331 dev_dbg(our_chip->chip.dev, "duty_ns=%d, period_ns=%d (%u)\n",
332 duty_ns, period_ns, period);
339 tcnt = period_ns / tin_ns;
377 chan->period_ns = period_ns;
385 int duty_ns, int period_ns)
387 return __pwm_samsung_config(chip, pwm, duty_ns, period_ns, false);
618 if (chan->period_ns) {
620 chan->period_ns, true);