Lines Matching defs:to
58 struct timer_of *to = to_timer_of(evt);
61 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0);
63 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0);
70 struct timer_of *to = to_timer_of(evt);
73 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0);
75 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0);
82 struct timer_of *to = to_timer_of(evt);
85 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0);
88 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0);
95 struct timer_of *to = to_timer_of(evt);
98 writel(timer_of_period(to), timer_of_base(to) + NPCM7XX_REG_TICR0);
100 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0);
103 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0);
111 struct timer_of *to = to_timer_of(clk);
114 writel(evt, timer_of_base(to) + NPCM7XX_REG_TICR0);
115 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0);
117 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0);
125 struct timer_of *to = to_timer_of(evt);
127 writel(NPCM7XX_T0_CLR_INT, timer_of_base(to) + NPCM7XX_REG_TISR);
199 /* to the counter */
209 pr_warn("%pOF: Failed to get clock for timer1: %pe", np, clk);