Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/i3c/master/
Ddw-i3c-master.c561 unsigned long core_rate, core_period; in dw_i3c_clk_cfg() local
565 core_rate = clk_get_rate(master->core_clk); in dw_i3c_clk_cfg()
566 if (!core_rate) in dw_i3c_clk_cfg()
569 core_period = DIV_ROUND_UP(1000000000, core_rate); in dw_i3c_clk_cfg()
575 lcnt = DIV_ROUND_UP(core_rate, master->base.bus.scl_rate.i3c) - hcnt; in dw_i3c_clk_cfg()
598 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR1_SCL_RATE) - hcnt; in dw_i3c_clk_cfg()
600 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR2_SCL_RATE) - hcnt; in dw_i3c_clk_cfg()
602 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR3_SCL_RATE) - hcnt; in dw_i3c_clk_cfg()
604 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR4_SCL_RATE) - hcnt; in dw_i3c_clk_cfg()
614 unsigned long core_rate, core_period; in dw_i2c_clk_cfg() local
[all …]
/linux-6.12.1/drivers/gpu/drm/vc4/
Dvc4_kms.c375 unsigned long core_rate = clamp_t(unsigned long, state_rate, in vc4_atomic_commit_tail() local
378 drm_dbg(dev, "Raising the core clock at %lu Hz\n", core_rate); in vc4_atomic_commit_tail()
384 WARN_ON(clk_set_min_rate(hvs->core_clk, core_rate)); in vc4_atomic_commit_tail()
410 unsigned long core_rate = min_t(unsigned long, in vc4_atomic_commit_tail() local
414 drm_dbg(dev, "Running the core clock at %lu Hz\n", core_rate); in vc4_atomic_commit_tail()
420 WARN_ON(clk_set_min_rate(hvs->core_clk, core_rate)); in vc4_atomic_commit_tail()