Home
last modified time | relevance | path

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

/linux/drivers/clk/
H A Dclk.c82 unsigned int protect_count; member
284 return core->protect_count; in clk_core_rate_is_protected()
900 if (WARN(core->protect_count == 0, in clk_core_rate_unprotect()
904 if (--core->protect_count > 0) in clk_core_rate_unprotect()
919 if (core->protect_count == 0) in clk_core_rate_nuke_protect()
922 ret = core->protect_count; in clk_core_rate_nuke_protect()
923 core->protect_count = 1; in clk_core_rate_nuke_protect()
975 if (core->protect_count == 0) in clk_core_rate_protect()
978 core->protect_count++; in clk_core_rate_protect()
992 core->protect_count = count; in clk_core_rate_restore_protect()
[all …]