Lines Matching defs:dmtimer
3 * linux/arch/arm/plat-omap/dmtimer.c
11 * dmtimer adaptation to platform_driver.
31 #include <linux/platform_data/dmtimer-omap.h>
118 struct dmtimer {
167 static inline u32 dmtimer_read(struct dmtimer *timer, u32 reg)
192 static inline void dmtimer_write(struct dmtimer *timer, u32 reg, u32 val)
207 static inline void __omap_dm_timer_init_regs(struct dmtimer *timer)
242 static inline void __omap_dm_timer_enable_posted(struct dmtimer *timer)
258 static inline void __omap_dm_timer_stop(struct dmtimer *timer)
281 static inline void __omap_dm_timer_int_enable(struct dmtimer *timer,
289 __omap_dm_timer_read_counter(struct dmtimer *timer)
294 static inline void __omap_dm_timer_write_status(struct dmtimer *timer,
300 static void omap_timer_restore_context(struct dmtimer *timer)
313 static void omap_timer_save_context(struct dmtimer *timer)
328 struct dmtimer *timer;
330 timer = container_of(nb, struct dmtimer, nb);
356 struct dmtimer *timer = container_of(nb, struct dmtimer, fclk_nb);
367 static int omap_dm_timer_reset(struct dmtimer *timer)
401 static struct dmtimer *to_dmtimer(struct omap_dm_timer *cookie)
406 return container_of(cookie, struct dmtimer, cookie);
415 struct dmtimer *timer;
469 struct dmtimer *timer = to_dmtimer(cookie);
480 struct dmtimer *timer = to_dmtimer(cookie);
486 static int omap_dm_timer_prepare(struct dmtimer *timer)
514 static struct dmtimer *_omap_dm_timer_request(int req_type, void *data)
516 struct dmtimer *timer = NULL, *t;
600 struct dmtimer *timer;
611 struct dmtimer *timer;
636 struct dmtimer *timer;
650 struct dmtimer *timer;
676 struct dmtimer *timer = to_dmtimer(cookie);
697 struct dmtimer *timer = NULL;
727 struct dmtimer *timer = to_dmtimer(cookie);
745 struct dmtimer *timer;
771 struct dmtimer *timer;
790 struct dmtimer *timer;
813 struct dmtimer *timer;
843 struct dmtimer *timer;
876 struct dmtimer *timer;
900 struct dmtimer *timer;
930 struct dmtimer *timer;
959 struct dmtimer *timer;
987 struct dmtimer *timer;
1003 struct dmtimer *timer;
1016 struct dmtimer *timer;
1029 struct dmtimer *timer;
1046 struct dmtimer *timer = dev_get_drvdata(dev);
1060 struct dmtimer *timer = dev_get_drvdata(dev);
1087 struct dmtimer *timer;
1201 struct dmtimer *timer;