Searched refs:core_rate (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/i3c/master/ |
D | dw-i3c-master.c | 520 unsigned long core_rate, core_period; in dw_i3c_clk_cfg() local 524 core_rate = clk_get_rate(master->core_clk); in dw_i3c_clk_cfg() 525 if (!core_rate) in dw_i3c_clk_cfg() 528 core_period = DIV_ROUND_UP(1000000000, core_rate); in dw_i3c_clk_cfg() 534 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_TYP_I3C_SCL_RATE) - hcnt; in dw_i3c_clk_cfg() 548 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR1_SCL_RATE) - hcnt; in dw_i3c_clk_cfg() 550 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR2_SCL_RATE) - hcnt; in dw_i3c_clk_cfg() 552 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR3_SCL_RATE) - hcnt; in dw_i3c_clk_cfg() 554 lcnt = DIV_ROUND_UP(core_rate, I3C_BUS_SDR4_SCL_RATE) - hcnt; in dw_i3c_clk_cfg() 563 unsigned long core_rate, core_period; in dw_i2c_clk_cfg() local [all …]
|
/linux-6.1.9/drivers/gpu/drm/vc4/ |
D | vc4_kms.c | 399 unsigned long core_rate = max_t(unsigned long, in vc4_atomic_commit_tail() local 402 drm_dbg(dev, "Raising the core clock at %lu Hz\n", core_rate); in vc4_atomic_commit_tail() 408 WARN_ON(clk_set_min_rate(hvs->core_clk, core_rate)); in vc4_atomic_commit_tail()
|