Lines Matching refs:bit_idx
57 reg = BIT(gate->bit_idx + 16); in clk_gate_endisable()
59 reg |= BIT(gate->bit_idx); in clk_gate_endisable()
64 reg |= BIT(gate->bit_idx); in clk_gate_endisable()
66 reg &= ~BIT(gate->bit_idx); in clk_gate_endisable()
98 reg ^= BIT(gate->bit_idx); in clk_gate_is_enabled()
100 reg &= BIT(gate->bit_idx); in clk_gate_is_enabled()
126 void __iomem *reg, u8 bit_idx, in clk_hw_register_gate() argument
135 if (bit_idx > 15) { in clk_hw_register_gate()
154 gate->bit_idx = bit_idx; in clk_hw_register_gate()
172 void __iomem *reg, u8 bit_idx, in clk_register_gate() argument
178 bit_idx, clk_gate_flags, lock); in clk_register_gate()