Lines Matching refs:timer16_priv
26 struct timer16_priv {
37 static unsigned long timer16_get_counter(struct timer16_priv *p)
63 struct timer16_priv *p = (struct timer16_priv *)dev_id;
71 static inline struct timer16_priv *cs_to_priv(struct clocksource *cs)
73 return container_of(cs, struct timer16_priv, cs);
78 struct timer16_priv *p = cs_to_priv(cs);
89 struct timer16_priv *p = cs_to_priv(cs);
105 struct timer16_priv *p = cs_to_priv(cs);
115 static struct timer16_priv timer16_priv = {
165 timer16_priv.mapbase = base[REG_CH];
166 timer16_priv.mapcommon = base[REG_COMM];
167 timer16_priv.enb = ch;
168 timer16_priv.ovf = ch;
169 timer16_priv.ovie = 4 + ch;
172 IRQF_TIMER, timer16_priv.cs.name, &timer16_priv);
178 clocksource_register_hz(&timer16_priv.cs,