Lines Matching refs:em_sti_priv

37 struct em_sti_priv {  struct
65 static inline unsigned long em_sti_read(struct em_sti_priv *p, int offs) in em_sti_read() argument
70 static inline void em_sti_write(struct em_sti_priv *p, int offs, in em_sti_write()
76 static int em_sti_enable(struct em_sti_priv *p) in em_sti_enable()
101 static void em_sti_disable(struct em_sti_priv *p) in em_sti_disable()
110 static u64 em_sti_count(struct em_sti_priv *p) in em_sti_count()
128 static u64 em_sti_set_next(struct em_sti_priv *p, u64 next) in em_sti_set_next()
154 struct em_sti_priv *p = dev_id; in em_sti_interrupt()
160 static int em_sti_start(struct em_sti_priv *p, unsigned int user) in em_sti_start()
178 static void em_sti_stop(struct em_sti_priv *p, unsigned int user) in em_sti_stop()
193 static struct em_sti_priv *cs_to_em_sti(struct clocksource *cs) in cs_to_em_sti()
195 return container_of(cs, struct em_sti_priv, cs); in cs_to_em_sti()
205 struct em_sti_priv *p = cs_to_em_sti(cs); in em_sti_clocksource_enable()
220 static int em_sti_register_clocksource(struct em_sti_priv *p) in em_sti_register_clocksource()
240 static struct em_sti_priv *ced_to_em_sti(struct clock_event_device *ced) in ced_to_em_sti()
242 return container_of(ced, struct em_sti_priv, ced); in ced_to_em_sti()
247 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_shutdown()
254 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_set_oneshot()
264 struct em_sti_priv *p = ced_to_em_sti(ced); in em_sti_clock_event_next()
274 static void em_sti_register_clockevent(struct em_sti_priv *p) in em_sti_register_clockevent()
293 struct em_sti_priv *p; in em_sti_probe()