Lines Matching refs:protect_count
79 unsigned int protect_count; member
205 return core->protect_count; in clk_core_rate_is_protected()
696 if (WARN(core->protect_count == 0, in clk_core_rate_unprotect()
700 if (--core->protect_count > 0) in clk_core_rate_unprotect()
715 if (core->protect_count == 0) in clk_core_rate_nuke_protect()
718 ret = core->protect_count; in clk_core_rate_nuke_protect()
719 core->protect_count = 1; in clk_core_rate_nuke_protect()
771 if (core->protect_count == 0) in clk_core_rate_protect()
774 core->protect_count++; in clk_core_rate_protect()
788 core->protect_count = count; in clk_core_rate_restore_protect()
3026 c->enable_count, c->prepare_count, c->protect_count, in clk_summary_show_one()
3082 seq_printf(s, "\"protect_count\": %d,", c->protect_count); in clk_dump_one()
3355 debugfs_create_u32("clk_protect_count", 0444, root, &core->protect_count); in clk_debug_create_one()
4219 if (clk->core->protect_count) in clk_unregister()
4422 clk->core->protect_count -= (clk->exclusive_count - 1); in __clk_put()
5473 c->enable_count, c->prepare_count, c->protect_count, in clk_proc_summary_show_one()