Home
last modified time | relevance | path

Searched refs:cgr_mask (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/clk/imx/
Dclk-gate2.c33 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()
Dclk.h108 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,