Lines Matching refs:omap_dm_timer
73 struct omap_dm_timer;
110 struct omap_dm_timer *omap_dm_timer_request(void);
111 struct omap_dm_timer *omap_dm_timer_request_specific(int timer_id);
112 int omap_dm_timer_free(struct omap_dm_timer *timer);
113 void omap_dm_timer_enable(struct omap_dm_timer *timer);
114 void omap_dm_timer_disable(struct omap_dm_timer *timer);
116 int omap_dm_timer_get_irq(struct omap_dm_timer *timer);
119 struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *timer);
121 int omap_dm_timer_trigger(struct omap_dm_timer *timer);
122 int omap_dm_timer_start(struct omap_dm_timer *timer);
123 int omap_dm_timer_stop(struct omap_dm_timer *timer);
125 int omap_dm_timer_set_source(struct omap_dm_timer *timer, int source);
126 int omap_dm_timer_set_load(struct omap_dm_timer *timer, int autoreload, unsigned int value);
127 int omap_dm_timer_set_load_start(struct omap_dm_timer *timer, int autoreload, unsigned int value);
128 int omap_dm_timer_set_match(struct omap_dm_timer *timer, int enable, unsigned int match);
129 int omap_dm_timer_set_pwm(struct omap_dm_timer *timer, int def_on, int toggle, int trigger);
130 int omap_dm_timer_set_prescaler(struct omap_dm_timer *timer, int prescaler);
132 int omap_dm_timer_set_int_enable(struct omap_dm_timer *timer, unsigned int value);
134 unsigned int omap_dm_timer_read_status(struct omap_dm_timer *timer);
135 int omap_dm_timer_write_status(struct omap_dm_timer *timer, unsigned int value);
136 unsigned int omap_dm_timer_read_counter(struct omap_dm_timer *timer);
137 int omap_dm_timer_write_counter(struct omap_dm_timer *timer, unsigned int value);
258 struct omap_dm_timer { struct
285 int omap_dm_timer_prepare(struct omap_dm_timer *timer); argument
287 static inline u32 __omap_dm_timer_read(struct omap_dm_timer *timer, u32 reg, in __omap_dm_timer_read()
297 static inline void __omap_dm_timer_write(struct omap_dm_timer *timer, in __omap_dm_timer_write()
307 static inline void __omap_dm_timer_init_regs(struct omap_dm_timer *timer) in __omap_dm_timer_init_regs()
336 static inline void __omap_dm_timer_reset(struct omap_dm_timer *timer, in __omap_dm_timer_reset()
376 static inline void __omap_dm_timer_stop(struct omap_dm_timer *timer, in __omap_dm_timer_stop()
400 static inline void __omap_dm_timer_load_start(struct omap_dm_timer *timer, in __omap_dm_timer_load_start()
408 static inline void __omap_dm_timer_int_enable(struct omap_dm_timer *timer, in __omap_dm_timer_int_enable()
416 __omap_dm_timer_read_counter(struct omap_dm_timer *timer, int posted) in __omap_dm_timer_read_counter()
421 static inline void __omap_dm_timer_write_status(struct omap_dm_timer *timer, in __omap_dm_timer_write_status()