Lines Matching refs:em_sti_priv

25 struct em_sti_priv {  struct
53 static inline unsigned long em_sti_read(struct em_sti_priv *p, int offs) in em_sti_read() argument
58 static inline void em_sti_write(struct em_sti_priv *p, int offs, in em_sti_write()
64 static int em_sti_enable(struct em_sti_priv *p) in em_sti_enable()
89 static void em_sti_disable(struct em_sti_priv *p) in em_sti_disable()
98 static u64 em_sti_count(struct em_sti_priv *p) in em_sti_count()
116 static u64 em_sti_set_next(struct em_sti_priv *p, u64 next) in em_sti_set_next()
142 struct em_sti_priv *p = dev_id; in em_sti_interrupt()
148 static int em_sti_start(struct em_sti_priv *p, unsigned int user) in em_sti_start()
166 static void em_sti_stop(struct em_sti_priv *p, unsigned int user) in em_sti_stop()
181 static struct em_sti_priv *cs_to_em_sti(struct clocksource *cs) in cs_to_em_sti()
183 return container_of(cs, struct em_sti_priv, cs); in cs_to_em_sti()
193 struct em_sti_priv *p = cs_to_em_sti(cs); in em_sti_clocksource_enable()
208 static int em_sti_register_clocksource(struct em_sti_priv *p) in em_sti_register_clocksource()
228 static struct em_sti_priv *ced_to_em_sti(struct clock_event_device *ced) in ced_to_em_sti()
230 return container_of(ced, struct em_sti_priv, ced); in ced_to_em_sti()
235 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_shutdown()
242 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_set_oneshot()
252 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_next()
262 static void em_sti_register_clockevent(struct em_sti_priv *p) in em_sti_register_clockevent()
281 struct em_sti_priv *p; in em_sti_probe()