Lines Matching refs:flags
56 if (!(gate->flags & TEGRA_PERIPH_NO_RESET)) in clk_periph_is_enabled()
66 unsigned long flags = 0; in clk_periph_enable() local
68 spin_lock_irqsave(&periph_ref_lock, flags); in clk_periph_enable()
72 spin_unlock_irqrestore(&periph_ref_lock, flags); in clk_periph_enable()
79 if (!(gate->flags & TEGRA_PERIPH_NO_RESET) && in clk_periph_enable()
80 !(gate->flags & TEGRA_PERIPH_MANUAL_RESET)) { in clk_periph_enable()
87 if (gate->flags & TEGRA_PERIPH_WAR_1005168) { in clk_periph_enable()
94 spin_unlock_irqrestore(&periph_ref_lock, flags); in clk_periph_enable()
102 unsigned long flags = 0; in clk_periph_disable() local
104 spin_lock_irqsave(&periph_ref_lock, flags); in clk_periph_disable()
108 spin_unlock_irqrestore(&periph_ref_lock, flags); in clk_periph_disable()
117 if (gate->flags & TEGRA_PERIPH_ON_APB) in clk_periph_disable()
122 spin_unlock_irqrestore(&periph_ref_lock, flags); in clk_periph_disable()
133 unsigned long flags, int clk_num, int *enable_refcnt) in tegra_clk_register_periph_gate() argument
151 init.flags = flags; in tegra_clk_register_periph_gate()
159 gate->flags = gate_flags; in tegra_clk_register_periph_gate()