Lines Matching defs:timer
14 * with a timer counter that goes up. When it overflows it gets
20 * - When PWM is stopped, timer counter gets stopped immediately. This
26 * can get updated as below based on the current timer counter:
29 * - PWM OMAP DM timer cannot change the polarity when pwm is active. When
43 #include <clocksource/timer-ti-dm.h>
59 * @dm_timer: Pointer to omap dm timer.
60 * @pdata: Pointer to omap dm timer ops.
61 * @dm_timer_pdev: Pointer to omap dm timer platform device
80 * @clk_rate: pwm timer clock rate
91 * pwm_omap_dmtimer_start() - Start the pwm omap dm timer in pwm mode
92 * @omap: Pointer to pwm omap dm timer chip
102 * not the timer counter itself.
113 * @omap: Pointer to pwm omap dm timer chip
128 * @omap: Pointer to pwm omap dm timer chip
142 * pwm_omap_dmtimer_config() - Update the configuration of pwm omap dm timer
241 * pwm_omap_dmtimer_set_polarity() - Changes the polarity of the pwm dm timer.
268 * pwm_omap_dmtimer_apply() - Changes the state of the pwm omap dm timer.
325 struct device_node *timer;
329 timer = of_parse_phandle(np, "ti,timers", 0);
330 if (!timer)
333 timer_pdev = of_find_device_by_node(timer);
368 if (!of_get_property(timer, "ti,timer-pwm", NULL)) {
369 dev_err(&pdev->dev, "Missing ti,timer-pwm capability\n");
374 dm_timer = pdata->request_by_node(timer);
391 * Ensure that the timer is stopped before we allow PWM core to call
416 of_node_put(timer);
439 of_node_put(timer);