Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clk/
Dclk.c77 unsigned int protect_count; member
199 return core->protect_count; in clk_core_rate_is_protected()
678 if (WARN(core->protect_count == 0, in clk_core_rate_unprotect()
682 if (--core->protect_count > 0) in clk_core_rate_unprotect()
697 if (core->protect_count == 0) in clk_core_rate_nuke_protect()
700 ret = core->protect_count; in clk_core_rate_nuke_protect()
701 core->protect_count = 1; in clk_core_rate_nuke_protect()
753 if (core->protect_count == 0) in clk_core_rate_protect()
756 core->protect_count++; in clk_core_rate_protect()
770 core->protect_count = count; in clk_core_rate_restore_protect()
[all …]