Searched refs:cgr_mask (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/clk/imx/ |
H A D | clk-gate2.c | 33 u8 cgr_mask; member 47 reg &= ~(gate->cgr_mask << gate->bit_idx); in clk_gate2_do_shared_clks() 49 reg |= (gate->cgr_val & gate->cgr_mask) << gate->bit_idx; in clk_gate2_do_shared_clks() 90 u8 cgr_val, u8 cgr_mask) in clk_gate2_reg_is_enabled() argument 94 if (((val >> bit_idx) & cgr_mask) == cgr_val) in clk_gate2_reg_is_enabled() 109 gate->cgr_val, gate->cgr_mask); in clk_gate2_is_enabled() 138 void __iomem *reg, u8 bit_idx, u8 cgr_val, u8 cgr_mask, in clk_hw_register_gate2() argument 155 gate->cgr_mask = cgr_mask; in clk_hw_register_gate2()
|
H A D | clk.h | 108 cgr_val, cgr_mask, clk_gate_flags, lock, share_count) \ argument 110 cgr_val, cgr_mask, clk_gate_flags, lock, share_count)) 285 void __iomem *reg, u8 bit_idx, u8 cgr_val, u8 cgr_mask,
|