Lines Matching defs:enabled
162 pr_err("%s: access already enabled for %s\n", __func__,
173 pr_err("%s: access wasn't enabled for %s\n", __func__,
303 * can be disabled or enabled based on which policy is currently in
305 * each policy indicating whether the clock is enabled for that
332 * it "enabled" for all four policies.
363 /* If there is no gate we can assume it's enabled. */
400 bool enabled = false;
419 * If hardware is, clear the enabled bit for good measure.
422 * will be enabled).
425 if (gate_is_sw_managed(gate) && (enabled = gate_is_enabled(gate)) &&
438 return __ccu_wait_bit(ccu, gate->offset, gate->status_bit, enabled);
455 * Set a gate to enabled or disabled state. Does nothing if the
523 * the delay; and if enabled, the second bit determines whether the
550 * Caller must ensure CCU lock is held and access is enabled.
594 bool enabled;
618 /* Clock needs to be enabled before changing the rate */
619 enabled = __is_clk_gate_enabled(ccu, gate);
620 if (!enabled && !__clk_gate(ccu, gate, true)) {
636 if (!enabled && !__clk_gate(ccu, gate, false))
879 bool enabled;
905 /* Clock needs to be enabled before changing the parent */
906 enabled = __is_clk_gate_enabled(ccu, gate);
907 if (!enabled && !__clk_gate(ccu, gate, true))
920 if (!enabled && !__clk_gate(ccu, gate, false))