Lines Matching refs:enable_count
80 unsigned int enable_count;
322 return core->enable_count;
572 return !clk ? 0 : clk->core->enable_count;
944 WARN(core->enable_count > 0, "Unpreparing enabled %s\n", core->name);
1071 if (WARN(core->enable_count == 0, "%s already disabled\n", core->name))
1074 if (WARN(core->enable_count == 1 && core->flags & CLK_IS_CRITICAL,
1078 if (--core->enable_count > 0)
1134 if (core->enable_count == 0) {
1153 core->enable_count++;
1174 * the gate clocks based on the enable_count. This is done in cases
1175 * where the clock context is lost and based on the enable_count
1183 if (core->enable_count)
1347 if (core->enable_count)
3051 c->enable_count, c->prepare_count, c->protect_count,
3105 seq_printf(s, "\"enable_count\": %d,", c->enable_count);
3196 *val = core->enable_count && core->prepare_count;
3378 debugfs_create_u32("clk_enable_count", 0444, root, &core->enable_count);