Lines Matching refs:omap_dm_timer
60 static inline u32 omap_dm_timer_read_reg(struct omap_dm_timer *timer, u32 reg) in omap_dm_timer_read_reg()
76 static void omap_dm_timer_write_reg(struct omap_dm_timer *timer, u32 reg, in omap_dm_timer_write_reg()
83 static void omap_timer_restore_context(struct omap_dm_timer *timer) in omap_timer_restore_context()
106 static void omap_dm_timer_wait_for_reset(struct omap_dm_timer *timer) in omap_dm_timer_wait_for_reset()
123 static void omap_dm_timer_reset(struct omap_dm_timer *timer) in omap_dm_timer_reset()
136 int omap_dm_timer_prepare(struct omap_dm_timer *timer) in omap_dm_timer_prepare()
157 struct omap_dm_timer *omap_dm_timer_request(void) in omap_dm_timer_request()
159 struct omap_dm_timer *timer = NULL, *t; in omap_dm_timer_request()
189 struct omap_dm_timer *omap_dm_timer_request_specific(int id) in omap_dm_timer_request_specific()
191 struct omap_dm_timer *timer = NULL, *t; in omap_dm_timer_request_specific()
220 int omap_dm_timer_free(struct omap_dm_timer *timer) in omap_dm_timer_free()
233 void omap_dm_timer_enable(struct omap_dm_timer *timer) in omap_dm_timer_enable()
239 void omap_dm_timer_disable(struct omap_dm_timer *timer) in omap_dm_timer_disable()
245 int omap_dm_timer_get_irq(struct omap_dm_timer *timer) in omap_dm_timer_get_irq()
262 struct omap_dm_timer *timer = NULL; in omap_dm_timer_modify_idlect_mask()
291 struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *timer) in omap_dm_timer_get_fclk()
309 int omap_dm_timer_trigger(struct omap_dm_timer *timer) in omap_dm_timer_trigger()
321 int omap_dm_timer_start(struct omap_dm_timer *timer) in omap_dm_timer_start()
349 int omap_dm_timer_stop(struct omap_dm_timer *timer) in omap_dm_timer_stop()
379 int omap_dm_timer_set_source(struct omap_dm_timer *timer, int source) in omap_dm_timer_set_source()
398 int omap_dm_timer_set_load(struct omap_dm_timer *timer, int autoreload, in omap_dm_timer_set_load()
425 int omap_dm_timer_set_load_start(struct omap_dm_timer *timer, int autoreload, in omap_dm_timer_set_load_start()
461 int omap_dm_timer_set_match(struct omap_dm_timer *timer, int enable, in omap_dm_timer_set_match()
486 int omap_dm_timer_set_pwm(struct omap_dm_timer *timer, int def_on, in omap_dm_timer_set_pwm()
512 int omap_dm_timer_set_prescaler(struct omap_dm_timer *timer, int prescaler) in omap_dm_timer_set_prescaler()
535 int omap_dm_timer_set_int_enable(struct omap_dm_timer *timer, in omap_dm_timer_set_int_enable()
552 unsigned int omap_dm_timer_read_status(struct omap_dm_timer *timer) in omap_dm_timer_read_status()
567 int omap_dm_timer_write_status(struct omap_dm_timer *timer, unsigned int value) in omap_dm_timer_write_status()
579 unsigned int omap_dm_timer_read_counter(struct omap_dm_timer *timer) in omap_dm_timer_read_counter()
590 int omap_dm_timer_write_counter(struct omap_dm_timer *timer, unsigned int value) in omap_dm_timer_write_counter()
607 struct omap_dm_timer *timer; in omap_dm_timers_active()
633 struct omap_dm_timer *timer; in omap_dm_timer_probe()
661 timer = kzalloc(sizeof(struct omap_dm_timer), GFP_KERNEL); in omap_dm_timer_probe()
723 struct omap_dm_timer *timer; in omap_dm_timer_remove()