Lines Matching refs:bit_idx
70 reg = BIT(gate->bit_idx + 16); in clk_gate_endisable()
72 reg |= BIT(gate->bit_idx); in clk_gate_endisable()
77 reg |= BIT(gate->bit_idx); in clk_gate_endisable()
79 reg &= ~BIT(gate->bit_idx); in clk_gate_endisable()
111 reg ^= BIT(gate->bit_idx); in clk_gate_is_enabled()
113 reg &= BIT(gate->bit_idx); in clk_gate_is_enabled()
139 void __iomem *reg, u8 bit_idx, in clk_hw_register_gate() argument
148 if (bit_idx > 15) { in clk_hw_register_gate()
167 gate->bit_idx = bit_idx; in clk_hw_register_gate()
185 void __iomem *reg, u8 bit_idx, in clk_register_gate() argument
191 bit_idx, clk_gate_flags, lock); in clk_register_gate()