Searched refs:get_clock_reg (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/clk/ |
H A D | clk-ast2600.c | 279 static u32 get_clock_reg(struct aspeed_clk_gate *gate) in get_clock_reg() function 308 regmap_read(gate->map, get_clock_reg(gate), ®); in aspeed_g6_clk_is_enabled() 339 regmap_write(gate->map, get_clock_reg(gate) + 0x04, clk); in aspeed_g6_clk_enable() 342 regmap_write(gate->map, get_clock_reg(gate), clk); in aspeed_g6_clk_enable() 366 regmap_write(gate->map, get_clock_reg(gate), clk); in aspeed_g6_clk_disable() 369 regmap_write(gate->map, get_clock_reg(gate) + 0x4, clk); in aspeed_g6_clk_disable()
|