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
639 timer = to_dmtimer(cookie); in omap_dm_timer_free()
659 static int omap_dm_timer_get_irq(struct omap_dm_timer *cookie) in omap_dm_timer_get_irq() argument
661 struct dmtimer *timer = to_dmtimer(cookie); in omap_dm_timer_get_irq()
670 static struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *cookie) in omap_dm_timer_get_fclk() argument
710 static struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *cookie) in omap_dm_timer_get_fclk() argument
712 struct dmtimer *timer = to_dmtimer(cookie); in omap_dm_timer_get_fclk()
728 static int omap_dm_timer_start(struct omap_dm_timer *cookie) in omap_dm_timer_start() argument
735 timer = to_dmtimer(cookie); in omap_dm_timer_start()
754 static int omap_dm_timer_stop(struct omap_dm_timer *cookie) in omap_dm_timer_stop() argument
760 timer = to_dmtimer(cookie); in omap_dm_timer_stop()
776 static int omap_dm_timer_set_load(struct omap_dm_timer *cookie, in omap_dm_timer_set_load() argument
783 timer = to_dmtimer(cookie); in omap_dm_timer_set_load()
799 static int omap_dm_timer_set_match(struct omap_dm_timer *cookie, int enable, in omap_dm_timer_set_match() argument
807 timer = to_dmtimer(cookie); in omap_dm_timer_set_match()
829 static int omap_dm_timer_set_pwm(struct omap_dm_timer *cookie, int def_on, in omap_dm_timer_set_pwm() argument
837 timer = to_dmtimer(cookie); in omap_dm_timer_set_pwm()
863 static int omap_dm_timer_get_pwm_status(struct omap_dm_timer *cookie) in omap_dm_timer_get_pwm_status() argument
870 timer = to_dmtimer(cookie); in omap_dm_timer_get_pwm_status()
886 static int omap_dm_timer_set_prescaler(struct omap_dm_timer *cookie, in omap_dm_timer_set_prescaler() argument
894 timer = to_dmtimer(cookie); in omap_dm_timer_set_prescaler()
916 static int omap_dm_timer_set_int_enable(struct omap_dm_timer *cookie, in omap_dm_timer_set_int_enable() argument
923 timer = to_dmtimer(cookie); in omap_dm_timer_set_int_enable()
946 static int omap_dm_timer_set_int_disable(struct omap_dm_timer *cookie, u32 mask) in omap_dm_timer_set_int_disable() argument
953 timer = to_dmtimer(cookie); in omap_dm_timer_set_int_disable()
974 static unsigned int omap_dm_timer_read_status(struct omap_dm_timer *cookie) in omap_dm_timer_read_status() argument
979 timer = to_dmtimer(cookie); in omap_dm_timer_read_status()
990 static int omap_dm_timer_write_status(struct omap_dm_timer *cookie, unsigned int value) in omap_dm_timer_write_status() argument
994 timer = to_dmtimer(cookie); in omap_dm_timer_write_status()
1003 static unsigned int omap_dm_timer_read_counter(struct omap_dm_timer *cookie) in omap_dm_timer_read_counter() argument
1007 timer = to_dmtimer(cookie); in omap_dm_timer_read_counter()
1016 static int omap_dm_timer_write_counter(struct omap_dm_timer *cookie, unsigned int value) in omap_dm_timer_write_counter() argument
1020 timer = to_dmtimer(cookie); in omap_dm_timer_write_counter()