Searched refs:refo (Results 1 – 1 of 1) sorted by relevance
249 struct pic32_ref_osc *refo = clkhw_to_refosc(hw); in roclk_is_enabled() local251 return readl(refo->ctrl_reg) & REFO_ON; in roclk_is_enabled()256 struct pic32_ref_osc *refo = clkhw_to_refosc(hw); in roclk_enable() local258 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() local266 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() local282 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 …]