Lines Matching refs:flags
55 if (!(gate->flags & TEGRA_PERIPH_NO_RESET)) in clk_periph_is_enabled()
65 unsigned long flags = 0; in clk_periph_enable() local
67 spin_lock_irqsave(&periph_ref_lock, flags); in clk_periph_enable()
71 spin_unlock_irqrestore(&periph_ref_lock, flags); in clk_periph_enable()
78 if (!(gate->flags & TEGRA_PERIPH_NO_RESET) && in clk_periph_enable()
79 !(gate->flags & TEGRA_PERIPH_MANUAL_RESET)) { in clk_periph_enable()
86 if (gate->flags & TEGRA_PERIPH_WAR_1005168) { in clk_periph_enable()
93 spin_unlock_irqrestore(&periph_ref_lock, flags); in clk_periph_enable()
101 unsigned long flags = 0; in clk_periph_disable() local
103 spin_lock_irqsave(&periph_ref_lock, flags); in clk_periph_disable()
107 spin_unlock_irqrestore(&periph_ref_lock, flags); in clk_periph_disable()
116 if (gate->flags & TEGRA_PERIPH_ON_APB) in clk_periph_disable()
121 spin_unlock_irqrestore(&periph_ref_lock, flags); in clk_periph_disable()
132 unsigned long flags, int clk_num, int *enable_refcnt) in tegra_clk_register_periph_gate() argument
150 init.flags = flags; in tegra_clk_register_periph_gate()
158 gate->flags = gate_flags; in tegra_clk_register_periph_gate()