Lines Matching refs:cookie

120 	struct omap_dm_timer cookie;  member
386 static struct dmtimer *to_dmtimer(struct omap_dm_timer *cookie) in to_dmtimer() argument
388 if (!cookie) in to_dmtimer()
391 return container_of(cookie, struct dmtimer, cookie); in to_dmtimer()
394 static int omap_dm_timer_set_source(struct omap_dm_timer *cookie, int source) in omap_dm_timer_set_source() argument
402 timer = to_dmtimer(cookie); in omap_dm_timer_set_source()
452 static void omap_dm_timer_enable(struct omap_dm_timer *cookie) in omap_dm_timer_enable() argument
454 struct dmtimer *timer = to_dmtimer(cookie); in omap_dm_timer_enable()
463 static void omap_dm_timer_disable(struct omap_dm_timer *cookie) in omap_dm_timer_disable() argument
465 struct dmtimer *timer = to_dmtimer(cookie); in omap_dm_timer_disable()
591 return &timer->cookie; in omap_dm_timer_request()
609 return &timer->cookie; in omap_dm_timer_request_specific()
630 return &timer->cookie; in omap_dm_timer_request_by_node()
633 static int omap_dm_timer_free(struct omap_dm_timer *cookie) in omap_dm_timer_free() argument
637 timer = to_dmtimer(cookie); in omap_dm_timer_free()
646 int omap_dm_timer_get_irq(struct omap_dm_timer *cookie) in omap_dm_timer_get_irq() argument
648 struct dmtimer *timer = to_dmtimer(cookie); in omap_dm_timer_get_irq()
657 static struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *cookie) in omap_dm_timer_get_fclk() argument
697 static struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *cookie) in omap_dm_timer_get_fclk() argument
699 struct dmtimer *timer = to_dmtimer(cookie); in omap_dm_timer_get_fclk()
715 static int omap_dm_timer_start(struct omap_dm_timer *cookie) in omap_dm_timer_start() argument
722 timer = to_dmtimer(cookie); in omap_dm_timer_start()
741 static int omap_dm_timer_stop(struct omap_dm_timer *cookie) in omap_dm_timer_stop() argument
747 timer = to_dmtimer(cookie); in omap_dm_timer_stop()
763 static int omap_dm_timer_set_load(struct omap_dm_timer *cookie, in omap_dm_timer_set_load() argument
770 timer = to_dmtimer(cookie); in omap_dm_timer_set_load()
786 static int omap_dm_timer_set_match(struct omap_dm_timer *cookie, int enable, in omap_dm_timer_set_match() argument
794 timer = to_dmtimer(cookie); in omap_dm_timer_set_match()
816 static int omap_dm_timer_set_pwm(struct omap_dm_timer *cookie, int def_on, in omap_dm_timer_set_pwm() argument
824 timer = to_dmtimer(cookie); in omap_dm_timer_set_pwm()
850 static int omap_dm_timer_get_pwm_status(struct omap_dm_timer *cookie) in omap_dm_timer_get_pwm_status() argument
857 timer = to_dmtimer(cookie); in omap_dm_timer_get_pwm_status()
873 static int omap_dm_timer_set_prescaler(struct omap_dm_timer *cookie, in omap_dm_timer_set_prescaler() argument
881 timer = to_dmtimer(cookie); in omap_dm_timer_set_prescaler()
903 static int omap_dm_timer_set_int_enable(struct omap_dm_timer *cookie, in omap_dm_timer_set_int_enable() argument
910 timer = to_dmtimer(cookie); in omap_dm_timer_set_int_enable()
933 static int omap_dm_timer_set_int_disable(struct omap_dm_timer *cookie, u32 mask) in omap_dm_timer_set_int_disable() argument
940 timer = to_dmtimer(cookie); in omap_dm_timer_set_int_disable()
961 static unsigned int omap_dm_timer_read_status(struct omap_dm_timer *cookie) in omap_dm_timer_read_status() argument
966 timer = to_dmtimer(cookie); in omap_dm_timer_read_status()
977 static int omap_dm_timer_write_status(struct omap_dm_timer *cookie, unsigned int value) in omap_dm_timer_write_status() argument
981 timer = to_dmtimer(cookie); in omap_dm_timer_write_status()
990 static unsigned int omap_dm_timer_read_counter(struct omap_dm_timer *cookie) in omap_dm_timer_read_counter() argument
994 timer = to_dmtimer(cookie); in omap_dm_timer_read_counter()
1003 static int omap_dm_timer_write_counter(struct omap_dm_timer *cookie, unsigned int value) in omap_dm_timer_write_counter() argument
1007 timer = to_dmtimer(cookie); in omap_dm_timer_write_counter()