Home
last modified time | relevance | path

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

/drivers/i3c/master/
Ddw-i3c-master.c520 unsigned long core_rate, core_period; in dw_i3c_clk_cfg() local
528 core_period = DIV_ROUND_UP(1000000000, core_rate); in dw_i3c_clk_cfg()
530 hcnt = DIV_ROUND_UP(I3C_BUS_THIGH_MAX_NS, core_period) - 1; in dw_i3c_clk_cfg()
544 lcnt = DIV_ROUND_UP(I3C_BUS_TLOW_OD_MIN_NS, core_period); in dw_i3c_clk_cfg()
563 unsigned long core_rate, core_period; in dw_i2c_clk_cfg() local
571 core_period = DIV_ROUND_UP(1000000000, core_rate); in dw_i2c_clk_cfg()
573 lcnt = DIV_ROUND_UP(I3C_BUS_I2C_FMP_TLOW_MIN_NS, core_period); in dw_i2c_clk_cfg()
579 lcnt = DIV_ROUND_UP(I3C_BUS_I2C_FM_TLOW_MIN_NS, core_period); in dw_i2c_clk_cfg()