Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/clk/
Dclk-aspeed.c216 u32 enval = (gate->flags & CLK_GATE_SET_TO_DISABLE) ? 0 : clk; in aspeed_clk_is_enabled() local
233 return ((reg & clk) == enval) ? 1 : 0; in aspeed_clk_is_enabled()
242 u32 enval; in aspeed_clk_enable() local
260 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() local
285 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()