Searched refs:timerclken (Results 1 – 1 of 1) sorted by relevance
32 struct clk_sp810_timerclken timerclken[4]; member37 struct clk_sp810_timerclken *timerclken = to_clk_sp810_timerclken(hw); in clk_sp810_timerclken_get_parent() local38 u32 val = readl(timerclken->sp810->base + SCCTRL); in clk_sp810_timerclken_get_parent()40 return !!(val & (1 << SCCTRL_TIMERENnSEL_SHIFT(timerclken->channel))); in clk_sp810_timerclken_get_parent()45 struct clk_sp810_timerclken *timerclken = to_clk_sp810_timerclken(hw); in clk_sp810_timerclken_set_parent() local46 struct clk_sp810 *sp810 = timerclken->sp810; in clk_sp810_timerclken_set_parent()47 u32 val, shift = SCCTRL_TIMERENnSEL_SHIFT(timerclken->channel); in clk_sp810_timerclken_set_parent()77 clkspec->args[0] >= ARRAY_SIZE(sp810->timerclken))) in clk_sp810_timerclken_of_get()80 return sp810->timerclken[clkspec->args[0]].clk; in clk_sp810_timerclken_of_get()115 for (i = 0; i < ARRAY_SIZE(sp810->timerclken); i++) { in clk_sp810_of_setup()[all …]