Lines Matching refs:dmtimer
119 struct dmtimer { struct
166 static inline u32 dmtimer_read(struct dmtimer *timer, u32 reg) in dmtimer_read() argument
191 static inline void dmtimer_write(struct dmtimer *timer, u32 reg, u32 val) in dmtimer_write()
206 static inline void __omap_dm_timer_init_regs(struct dmtimer *timer) in __omap_dm_timer_init_regs()
241 static inline void __omap_dm_timer_enable_posted(struct dmtimer *timer) in __omap_dm_timer_enable_posted()
257 static inline void __omap_dm_timer_stop(struct dmtimer *timer, in __omap_dm_timer_stop()
281 static inline void __omap_dm_timer_int_enable(struct dmtimer *timer, in __omap_dm_timer_int_enable()
289 __omap_dm_timer_read_counter(struct dmtimer *timer) in __omap_dm_timer_read_counter()
294 static inline void __omap_dm_timer_write_status(struct dmtimer *timer, in __omap_dm_timer_write_status()
300 static void omap_timer_restore_context(struct dmtimer *timer) in omap_timer_restore_context()
313 static void omap_timer_save_context(struct dmtimer *timer) in omap_timer_save_context()
328 struct dmtimer *timer; in omap_timer_context_notifier()
330 timer = container_of(nb, struct dmtimer, nb); in omap_timer_context_notifier()
352 static int omap_dm_timer_reset(struct dmtimer *timer) in omap_dm_timer_reset()
386 static struct dmtimer *to_dmtimer(struct omap_dm_timer *cookie) in to_dmtimer()
391 return container_of(cookie, struct dmtimer, cookie); in to_dmtimer()
400 struct dmtimer *timer; in omap_dm_timer_set_source()
454 struct dmtimer *timer = to_dmtimer(cookie); in omap_dm_timer_enable()
465 struct dmtimer *timer = to_dmtimer(cookie); in omap_dm_timer_disable()
471 static int omap_dm_timer_prepare(struct dmtimer *timer) in omap_dm_timer_prepare()
499 static struct dmtimer *_omap_dm_timer_request(int req_type, void *data) in _omap_dm_timer_request()
501 struct dmtimer *timer = NULL, *t; in _omap_dm_timer_request()
585 struct dmtimer *timer; in omap_dm_timer_request()
596 struct dmtimer *timer; in omap_dm_timer_request_specific()
621 struct dmtimer *timer; in omap_dm_timer_request_by_node()
635 struct dmtimer *timer; in omap_dm_timer_free()
648 struct dmtimer *timer = to_dmtimer(cookie); in omap_dm_timer_get_irq()
669 struct dmtimer *timer = NULL; in omap_dm_timer_modify_idlect_mask()
699 struct dmtimer *timer = to_dmtimer(cookie); in omap_dm_timer_get_fclk()
717 struct dmtimer *timer; in omap_dm_timer_start()
743 struct dmtimer *timer; in omap_dm_timer_stop()
766 struct dmtimer *timer; in omap_dm_timer_set_load()
789 struct dmtimer *timer; in omap_dm_timer_set_match()
819 struct dmtimer *timer; in omap_dm_timer_set_pwm()
852 struct dmtimer *timer; in omap_dm_timer_get_pwm_status()
876 struct dmtimer *timer; in omap_dm_timer_set_prescaler()
906 struct dmtimer *timer; in omap_dm_timer_set_int_enable()
935 struct dmtimer *timer; in omap_dm_timer_set_int_disable()
963 struct dmtimer *timer; in omap_dm_timer_read_status()
979 struct dmtimer *timer; in omap_dm_timer_write_status()
992 struct dmtimer *timer; in omap_dm_timer_read_counter()
1005 struct dmtimer *timer; in omap_dm_timer_write_counter()
1022 struct dmtimer *timer = dev_get_drvdata(dev); in omap_dm_timer_runtime_suspend()
1036 struct dmtimer *timer = dev_get_drvdata(dev); in omap_dm_timer_runtime_resume()
1063 struct dmtimer *timer; in omap_dm_timer_probe()
1165 struct dmtimer *timer; in omap_dm_timer_remove()