Searched refs:enval (Results 1 – 1 of 1) sorted by relevance
216 u32 enval = (gate->flags & CLK_GATE_SET_TO_DISABLE) ? 0 : clk; in aspeed_clk_is_enabled() local233 return ((reg & clk) == enval) ? 1 : 0; in aspeed_clk_is_enabled()242 u32 enval; in aspeed_clk_enable() local260 enval = (gate->flags & CLK_GATE_SET_TO_DISABLE) ? 0 : clk; in aspeed_clk_enable()261 regmap_update_bits(gate->map, ASPEED_CLK_STOP_CTRL, clk, enval); in aspeed_clk_enable()281 u32 enval; in aspeed_clk_disable() local285 enval = (gate->flags & CLK_GATE_SET_TO_DISABLE) ? clk : 0; in aspeed_clk_disable()286 regmap_update_bits(gate->map, ASPEED_CLK_STOP_CTRL, clk, enval); in aspeed_clk_disable()