/linux-5.19.10/drivers/clk/ |
D | clk-highbank.c | 44 static int clk_pll_prepare(struct clk_hw *hwclk) in clk_pll_prepare() argument 46 struct hb_clk *hbclk = to_hb_clk(hwclk); in clk_pll_prepare() 61 static void clk_pll_unprepare(struct clk_hw *hwclk) in clk_pll_unprepare() argument 63 struct hb_clk *hbclk = to_hb_clk(hwclk); in clk_pll_unprepare() 71 static int clk_pll_enable(struct clk_hw *hwclk) in clk_pll_enable() argument 73 struct hb_clk *hbclk = to_hb_clk(hwclk); in clk_pll_enable() 83 static void clk_pll_disable(struct clk_hw *hwclk) in clk_pll_disable() argument 85 struct hb_clk *hbclk = to_hb_clk(hwclk); in clk_pll_disable() 93 static unsigned long clk_pll_recalc_rate(struct clk_hw *hwclk, in clk_pll_recalc_rate() argument 96 struct hb_clk *hbclk = to_hb_clk(hwclk); in clk_pll_recalc_rate() [all …]
|
/linux-5.19.10/drivers/clk/socfpga/ |
D | clk-pll-s10.c | 40 static unsigned long n5x_clk_pll_recalc_rate(struct clk_hw *hwclk, in n5x_clk_pll_recalc_rate() argument 43 struct socfpga_pll *socfpgaclk = to_socfpga_clk(hwclk); in n5x_clk_pll_recalc_rate() 61 static unsigned long agilex_clk_pll_recalc_rate(struct clk_hw *hwclk, in agilex_clk_pll_recalc_rate() argument 64 struct socfpga_pll *socfpgaclk = to_socfpga_clk(hwclk); in agilex_clk_pll_recalc_rate() 82 static unsigned long clk_pll_recalc_rate(struct clk_hw *hwclk, in clk_pll_recalc_rate() argument 85 struct socfpga_pll *socfpgaclk = to_socfpga_clk(hwclk); in clk_pll_recalc_rate() 106 static unsigned long clk_boot_clk_recalc_rate(struct clk_hw *hwclk, in clk_boot_clk_recalc_rate() argument 109 struct socfpga_pll *socfpgaclk = to_socfpga_clk(hwclk); in clk_boot_clk_recalc_rate() 120 static u8 clk_pll_get_parent(struct clk_hw *hwclk) in clk_pll_get_parent() argument 122 struct socfpga_pll *socfpgaclk = to_socfpga_clk(hwclk); in clk_pll_get_parent() [all …]
|
D | clk-gate-s10.c | 21 static unsigned long socfpga_gate_clk_recalc_rate(struct clk_hw *hwclk, in socfpga_gate_clk_recalc_rate() argument 24 struct socfpga_gate_clk *socfpgaclk = to_socfpga_gate_clk(hwclk); in socfpga_gate_clk_recalc_rate() 37 static unsigned long socfpga_dbg_clk_recalc_rate(struct clk_hw *hwclk, in socfpga_dbg_clk_recalc_rate() argument 40 struct socfpga_gate_clk *socfpgaclk = to_socfpga_gate_clk(hwclk); in socfpga_dbg_clk_recalc_rate() 51 static u8 socfpga_gate_get_parent(struct clk_hw *hwclk) in socfpga_gate_get_parent() argument 53 struct socfpga_gate_clk *socfpgaclk = to_socfpga_gate_clk(hwclk); in socfpga_gate_get_parent() 56 const char *name = clk_hw_get_name(hwclk); in socfpga_gate_get_parent() 81 static u8 socfpga_agilex_gate_get_parent(struct clk_hw *hwclk) in socfpga_agilex_gate_get_parent() argument 83 struct socfpga_gate_clk *socfpgaclk = to_socfpga_gate_clk(hwclk); in socfpga_agilex_gate_get_parent() 86 const char *name = clk_hw_get_name(hwclk); in socfpga_agilex_gate_get_parent()
|
D | clk-gate.c | 29 static u8 socfpga_clk_get_parent(struct clk_hw *hwclk) in socfpga_clk_get_parent() argument 33 const char *name = clk_hw_get_name(hwclk); in socfpga_clk_get_parent() 56 static int socfpga_clk_set_parent(struct clk_hw *hwclk, u8 parent) in socfpga_clk_set_parent() argument 59 const char *name = clk_hw_get_name(hwclk); in socfpga_clk_set_parent() 90 static unsigned long socfpga_clk_recalc_rate(struct clk_hw *hwclk, in socfpga_clk_recalc_rate() argument 93 struct socfpga_gate_clk *socfpgaclk = to_socfpga_gate_clk(hwclk); in socfpga_clk_recalc_rate() 111 static int socfpga_clk_prepare(struct clk_hw *hwclk) in socfpga_clk_prepare() argument 113 struct socfpga_gate_clk *socfpgaclk = to_socfpga_gate_clk(hwclk); in socfpga_clk_prepare()
|
D | clk-periph-s10.c | 18 static unsigned long n5x_clk_peri_c_clk_recalc_rate(struct clk_hw *hwclk, in n5x_clk_peri_c_clk_recalc_rate() argument 21 struct socfpga_periph_clk *socfpgaclk = to_periph_clk(hwclk); in n5x_clk_peri_c_clk_recalc_rate() 33 static unsigned long clk_peri_c_clk_recalc_rate(struct clk_hw *hwclk, in clk_peri_c_clk_recalc_rate() argument 36 struct socfpga_periph_clk *socfpgaclk = to_periph_clk(hwclk); in clk_peri_c_clk_recalc_rate() 47 static unsigned long clk_peri_cnt_clk_recalc_rate(struct clk_hw *hwclk, in clk_peri_cnt_clk_recalc_rate() argument 50 struct socfpga_periph_clk *socfpgaclk = to_periph_clk(hwclk); in clk_peri_cnt_clk_recalc_rate() 63 static u8 clk_periclk_get_parent(struct clk_hw *hwclk) in clk_periclk_get_parent() argument 65 struct socfpga_periph_clk *socfpgaclk = to_periph_clk(hwclk); in clk_periclk_get_parent()
|
D | clk-periph-a10.c | 20 static unsigned long clk_periclk_recalc_rate(struct clk_hw *hwclk, in clk_periclk_recalc_rate() argument 23 struct socfpga_periph_clk *socfpgaclk = to_socfpga_periph_clk(hwclk); in clk_periclk_recalc_rate() 39 static u8 clk_periclk_get_parent(struct clk_hw *hwclk) in clk_periclk_get_parent() argument 41 struct socfpga_periph_clk *socfpgaclk = to_socfpga_periph_clk(hwclk); in clk_periclk_get_parent() 43 const char *name = clk_hw_get_name(hwclk); in clk_periclk_get_parent()
|
D | clk-pll-a10.c | 34 static unsigned long clk_pll_recalc_rate(struct clk_hw *hwclk, in clk_pll_recalc_rate() argument 37 struct socfpga_pll *socfpgaclk = to_socfpga_clk(hwclk); in clk_pll_recalc_rate() 50 static u8 clk_pll_get_parent(struct clk_hw *hwclk) in clk_pll_get_parent() argument 52 struct socfpga_pll *socfpgaclk = to_socfpga_clk(hwclk); in clk_pll_get_parent()
|
D | clk-pll.c | 38 static unsigned long clk_pll_recalc_rate(struct clk_hw *hwclk, in clk_pll_recalc_rate() argument 41 struct socfpga_pll *socfpgaclk = to_socfpga_clk(hwclk); in clk_pll_recalc_rate() 58 static u8 clk_pll_get_parent(struct clk_hw *hwclk) in clk_pll_get_parent() argument 61 struct socfpga_pll *socfpgaclk = to_socfpga_clk(hwclk); in clk_pll_get_parent()
|
D | clk-gate-a10.c | 21 static unsigned long socfpga_gate_clk_recalc_rate(struct clk_hw *hwclk, in socfpga_gate_clk_recalc_rate() argument 24 struct socfpga_gate_clk *socfpgaclk = to_socfpga_gate_clk(hwclk); in socfpga_gate_clk_recalc_rate() 38 static int socfpga_clk_prepare(struct clk_hw *hwclk) in socfpga_clk_prepare() argument 40 struct socfpga_gate_clk *socfpgaclk = to_socfpga_gate_clk(hwclk); in socfpga_clk_prepare()
|
D | clk-periph.c | 17 static unsigned long clk_periclk_recalc_rate(struct clk_hw *hwclk, in clk_periclk_recalc_rate() argument 20 struct socfpga_periph_clk *socfpgaclk = to_socfpga_periph_clk(hwclk); in clk_periclk_recalc_rate() 37 static u8 clk_periclk_get_parent(struct clk_hw *hwclk) in clk_periclk_get_parent() argument
|
/linux-5.19.10/drivers/clk/mvebu/ |
D | clk-cpu.c | 48 static unsigned long clk_cpu_recalc_rate(struct clk_hw *hwclk, in clk_cpu_recalc_rate() argument 51 struct cpu_clk *cpuclk = to_cpu_clk(hwclk); in clk_cpu_recalc_rate() 59 static long clk_cpu_round_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_round_rate() argument 74 static int clk_cpu_off_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_off_set_rate() argument 78 struct cpu_clk *cpuclk = to_cpu_clk(hwclk); in clk_cpu_off_set_rate() 108 static int clk_cpu_on_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_on_set_rate() argument 113 struct cpu_clk *cpuclk = to_cpu_clk(hwclk); in clk_cpu_on_set_rate() 122 cur_rate = clk_hw_get_rate(hwclk); in clk_cpu_on_set_rate() 151 static int clk_cpu_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_cpu_set_rate() argument 154 if (__clk_is_enabled(hwclk->clk)) in clk_cpu_set_rate() [all …]
|
D | clk-corediv.c | 79 static int clk_corediv_is_enabled(struct clk_hw *hwclk) in clk_corediv_is_enabled() argument 81 struct clk_corediv *corediv = to_corediv_clk(hwclk); in clk_corediv_is_enabled() 89 static int clk_corediv_enable(struct clk_hw *hwclk) in clk_corediv_enable() argument 91 struct clk_corediv *corediv = to_corediv_clk(hwclk); in clk_corediv_enable() 108 static void clk_corediv_disable(struct clk_hw *hwclk) in clk_corediv_disable() argument 110 struct clk_corediv *corediv = to_corediv_clk(hwclk); in clk_corediv_disable() 125 static unsigned long clk_corediv_recalc_rate(struct clk_hw *hwclk, in clk_corediv_recalc_rate() argument 128 struct clk_corediv *corediv = to_corediv_clk(hwclk); in clk_corediv_recalc_rate() 138 static long clk_corediv_round_rate(struct clk_hw *hwclk, unsigned long rate, in clk_corediv_round_rate() argument 153 static int clk_corediv_set_rate(struct clk_hw *hwclk, unsigned long rate, in clk_corediv_set_rate() argument [all …]
|
/linux-5.19.10/arch/arm/mach-omap2/ |
D | omap-iommu.c | 56 struct clk_hw_omap *hwclk; in _get_pwrdm() local 83 hwclk = to_clk_hw_omap(__clk_get_hw(clk)); in _get_pwrdm() 85 if (!hwclk || !hwclk->clkdm_name) { in _get_pwrdm() 90 clkdm = clkdm_lookup(hwclk->clkdm_name); in _get_pwrdm() 92 dev_err(dev, "clkdm not found: %s\n", hwclk->clkdm_name); in _get_pwrdm()
|
D | pdata-quirks.c | 276 struct clk_hw_omap *hwclk; in ti_sysc_find_one_clockdomain() local 278 hwclk = to_clk_hw_omap(hw); in ti_sysc_find_one_clockdomain() 282 if (hwclk && hwclk->clkdm_name) in ti_sysc_find_one_clockdomain() 283 clkdm = clkdm_lookup(hwclk->clkdm_name); in ti_sysc_find_one_clockdomain()
|
/linux-5.19.10/drivers/cpufreq/ |
D | qoriq-cpufreq.c | 161 const struct clk_hw *hwclk; in qoriq_cpufreq_cpu_init() local 181 hwclk = __clk_get_hw(policy->clk); in qoriq_cpufreq_cpu_init() 182 count = clk_hw_get_num_parents(hwclk); in qoriq_cpufreq_cpu_init() 193 clk = clk_hw_get_parent_by_index(hwclk, i)->clk; in qoriq_cpufreq_cpu_init()
|
/linux-5.19.10/drivers/clk/ti/ |
D | clkctrl.c | 733 struct clk_hw_omap *hwclk; in ti_clk_is_in_standby() local 741 hwclk = to_clk_hw_omap(hw); in ti_clk_is_in_standby() 743 val = ti_clk_ll_ops->clk_readl(&hwclk->enable_reg); in ti_clk_is_in_standby()
|