Lines Matching defs:protect_count
82 unsigned int protect_count;
291 return core->protect_count;
796 if (WARN(core->protect_count == 0,
800 if (--core->protect_count > 0)
815 if (core->protect_count == 0)
818 ret = core->protect_count;
819 core->protect_count = 1;
871 if (core->protect_count == 0)
874 core->protect_count++;
888 core->protect_count = count;
3051 c->enable_count, c->prepare_count, c->protect_count,
3107 seq_printf(s, "\"protect_count\": %d,", c->protect_count);
3379 debugfs_create_u32("clk_protect_count", 0444, root, &core->protect_count);
4220 if (clk->core->protect_count)
4380 clk->core->protect_count -= (clk->exclusive_count - 1);