• Home
  • Raw
  • Download

Lines Matching refs:ced

84 				 struct clock_event_device *ced)  in ostm_clock_event_next()  argument
86 struct timer_of *to = to_timer_of(ced); in ostm_clock_event_next()
97 static int ostm_shutdown(struct clock_event_device *ced) in ostm_shutdown() argument
99 struct timer_of *to = to_timer_of(ced); in ostm_shutdown()
105 static int ostm_set_periodic(struct clock_event_device *ced) in ostm_set_periodic() argument
107 struct timer_of *to = to_timer_of(ced); in ostm_set_periodic()
109 if (clockevent_state_oneshot(ced) || clockevent_state_periodic(ced)) in ostm_set_periodic()
119 static int ostm_set_oneshot(struct clock_event_device *ced) in ostm_set_oneshot() argument
121 struct timer_of *to = to_timer_of(ced); in ostm_set_oneshot()
130 struct clock_event_device *ced = dev_id; in ostm_timer_interrupt() local
132 if (clockevent_state_oneshot(ced)) in ostm_timer_interrupt()
133 ostm_timer_stop(to_timer_of(ced)); in ostm_timer_interrupt()
136 if (ced->event_handler) in ostm_timer_interrupt()
137 ced->event_handler(ced); in ostm_timer_interrupt()
144 struct clock_event_device *ced = &to->clkevt; in ostm_init_clkevt() local
146 ced->features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC; in ostm_init_clkevt()
147 ced->set_state_shutdown = ostm_shutdown; in ostm_init_clkevt()
148 ced->set_state_periodic = ostm_set_periodic; in ostm_init_clkevt()
149 ced->set_state_oneshot = ostm_set_oneshot; in ostm_init_clkevt()
150 ced->set_next_event = ostm_clock_event_next; in ostm_init_clkevt()
151 ced->shift = 32; in ostm_init_clkevt()
152 ced->rating = 300; in ostm_init_clkevt()
153 ced->cpumask = cpumask_of(0); in ostm_init_clkevt()
154 clockevents_config_and_register(ced, timer_of_rate(to), 0xf, in ostm_init_clkevt()