Searched refs:core_rate (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/i3c/master/ |
H A D | dw-i3c-master.c | 526 unsigned long core_rate, core_period; in dw_i3c_clk_cfg() local 530 core_rate = clk_get_rate(master->core_clk); in dw_i3c_clk_cfg() 531 if (!core_rate) in dw_i3c_clk_cfg() 534 core_period = DIV_ROUND_UP(1000000000, core_rate); in dw_i3c_clk_cfg() 540 lcnt = DIV_ROUND_UP(core_rate, master->base.bus.scl_rate.i3c) - hcnt; in dw_i3c_clk_cfg() 559 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR1_SCL_RATE) - hcnt; in dw_i3c_clk_cfg() 561 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR2_SCL_RATE) - hcnt; in dw_i3c_clk_cfg() 563 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR3_SCL_RATE) - hcnt; in dw_i3c_clk_cfg() 565 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR4_SCL_RATE) - hcnt; in dw_i3c_clk_cfg() 574 unsigned long core_rate, core_period; in dw_i2c_clk_cfg() local [all …]
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_kms.c | 375 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()
|