Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/
Dclk.c65 unsigned int protect_count; member
186 return core->protect_count; in clk_core_rate_is_protected()
552 if (WARN(core->protect_count == 0, in clk_core_rate_unprotect()
556 if (--core->protect_count > 0) in clk_core_rate_unprotect()
571 if (core->protect_count == 0) in clk_core_rate_nuke_protect()
574 ret = core->protect_count; in clk_core_rate_nuke_protect()
575 core->protect_count = 1; in clk_core_rate_nuke_protect()
627 if (core->protect_count == 0) in clk_core_rate_protect()
630 core->protect_count++; in clk_core_rate_protect()
644 core->protect_count = count; in clk_core_rate_restore_protect()
[all …]