Lines Matching +full:mips +full:- +full:gic
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2016-2017 Imagination Technologies
4 * Author: Paul Burton <paul.burton@mips.com>
7 #define pr_fmt(fmt) "clk-boston: " fmt
9 #include <linux/clk-provider.h>
16 #include <dt-bindings/clock/boston-clock.h>
28 return (val & mask) >> (ffs(mask) - 1); in ext_field()
40 regmap = syscon_node_to_regmap(np->parent); in clk_boston_setup()
66 onecell->num = BOSTON_CLK_COUNT; in clk_boston_setup()
73 onecell->hws[BOSTON_CLK_INPUT] = hw; in clk_boston_setup()
80 onecell->hws[BOSTON_CLK_SYS] = hw; in clk_boston_setup()
87 onecell->hws[BOSTON_CLK_CPU] = hw; in clk_boston_setup()
98 clk_hw_unregister_fixed_rate(onecell->hws[BOSTON_CLK_CPU]); in clk_boston_setup()
100 clk_hw_unregister_fixed_rate(onecell->hws[BOSTON_CLK_SYS]); in clk_boston_setup()
102 clk_hw_unregister_fixed_rate(onecell->hws[BOSTON_CLK_INPUT]); in clk_boston_setup()
109 * CPU frequency for use with the GIC or cop0 counters/timers.
111 CLK_OF_DECLARE(clk_boston, "img,boston-clock", clk_boston_setup);