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