Home
last modified time | relevance | path

Searched refs:refo (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/clk/microchip/
H A Dclk-core.c249 struct pic32_ref_osc *refo = clkhw_to_refosc(hw); in roclk_is_enabled() local
251 return readl(refo->ctrl_reg) & REFO_ON; in roclk_is_enabled()
256 struct pic32_ref_osc *refo = clkhw_to_refosc(hw); in roclk_enable() local
258 writel(REFO_ON | REFO_OE, PIC32_SET(refo->ctrl_reg)); in roclk_enable()
264 struct pic32_ref_osc *refo = clkhw_to_refosc(hw); in roclk_disable() local
266 writel(REFO_ON | REFO_OE, PIC32_CLR(refo->ctrl_reg)); in roclk_disable()
279 struct pic32_ref_osc *refo = clkhw_to_refosc(hw); in roclk_get_parent() local
282 v = (readl(refo->ctrl_reg) >> REFO_SEL_SHIFT) & REFO_SEL_MASK; in roclk_get_parent()
284 if (!refo->parent_map) in roclk_get_parent()
288 if (refo->parent_map[i] == v) in roclk_get_parent()
[all …]