Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/clk/microchip/
Dclk-core.c968 struct pic32_sec_osc *sosc = clkhw_to_sosc(hw); in sosc_clk_enable() local
973 writel(sosc->enable_mask, PIC32_SET(sosc->enable_reg)); in sosc_clk_enable()
976 return readl_poll_timeout_atomic(sosc->status_reg, v, in sosc_clk_enable()
977 v & sosc->status_mask, 1, 100); in sosc_clk_enable()
982 struct pic32_sec_osc *sosc = clkhw_to_sosc(hw); in sosc_clk_disable() local
985 writel(sosc->enable_mask, PIC32_CLR(sosc->enable_reg)); in sosc_clk_disable()
990 struct pic32_sec_osc *sosc = clkhw_to_sosc(hw); in sosc_clk_is_enabled() local
994 enabled = readl(sosc->enable_reg) & sosc->enable_mask; in sosc_clk_is_enabled()
995 ready = readl(sosc->status_reg) & sosc->status_mask; in sosc_clk_is_enabled()
1016 struct pic32_sec_osc *sosc; in pic32_sosc_clk_register() local
[all …]