Searched refs:clkidx (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/clk/renesas/ |
D | clk-mstp.c | 218 u32 clkidx; in cpg_mstp_clocks_init() local 228 ret = of_property_read_u32_index(np, idxname, i, &clkidx); in cpg_mstp_clocks_init() 232 if (clkidx >= MSTP_MAX_CLOCKS) { in cpg_mstp_clocks_init() 234 __func__, np, name, clkidx); in cpg_mstp_clocks_init() 238 clks[clkidx] = cpg_mstp_clock_register(name, parent_name, in cpg_mstp_clocks_init() 239 clkidx, group); in cpg_mstp_clocks_init() 240 if (!IS_ERR(clks[clkidx])) { in cpg_mstp_clocks_init() 242 clkidx + 1); in cpg_mstp_clocks_init() 251 clk_register_clkdev(clks[clkidx], name, NULL); in cpg_mstp_clocks_init() 254 __func__, np, name, PTR_ERR(clks[clkidx])); in cpg_mstp_clocks_init()
|
D | renesas-cpg-mssr.c | 274 unsigned int clkidx = clkspec->args[1]; in cpg_mssr_clk_src_twocell_get() local 285 if (clkidx > priv->last_dt_core_clk) { in cpg_mssr_clk_src_twocell_get() 287 clkidx); in cpg_mssr_clk_src_twocell_get() 290 clk = priv->clks[clkidx]; in cpg_mssr_clk_src_twocell_get() 296 idx = MOD_CLK_PACK_10(clkidx); in cpg_mssr_clk_src_twocell_get() 297 range_check = 7 - (clkidx % 10); in cpg_mssr_clk_src_twocell_get() 299 idx = MOD_CLK_PACK(clkidx); in cpg_mssr_clk_src_twocell_get() 300 range_check = 31 - (clkidx % 100); in cpg_mssr_clk_src_twocell_get() 304 clkidx); in cpg_mssr_clk_src_twocell_get() 316 dev_err(dev, "Cannot get %s clock %u: %ld", type, clkidx, in cpg_mssr_clk_src_twocell_get()
|
D | rzg2l-cpg.c | 756 unsigned int clkidx = clkspec->args[1]; in rzg2l_cpg_clk_src_twocell_get() local 765 if (clkidx > priv->last_dt_core_clk) { in rzg2l_cpg_clk_src_twocell_get() 766 dev_err(dev, "Invalid %s clock index %u\n", type, clkidx); in rzg2l_cpg_clk_src_twocell_get() 769 clk = priv->clks[clkidx]; in rzg2l_cpg_clk_src_twocell_get() 774 if (clkidx >= priv->num_mod_clks) { in rzg2l_cpg_clk_src_twocell_get() 776 clkidx); in rzg2l_cpg_clk_src_twocell_get() 779 clk = priv->clks[priv->num_core_clks + clkidx]; in rzg2l_cpg_clk_src_twocell_get() 788 dev_err(dev, "Cannot get %s clock %u: %ld", type, clkidx, in rzg2l_cpg_clk_src_twocell_get()
|
/linux-6.6.21/kernel/time/ |
D | posix-cpu-timers.c | 419 int clkidx = CPUCLOCK_WHICH(timer->it_clock); in timer_base() local 422 return tsk->posix_cputimers.bases + clkidx; in timer_base() 424 return tsk->signal->posix_cputimers.bases + clkidx; in timer_base()
|