Lines Matching refs:scl_timing
527 u32 scl_timing; in dw_i3c_clk_cfg() local
544 scl_timing = SCL_I3C_TIMING_HCNT(hcnt) | SCL_I3C_TIMING_LCNT(lcnt); in dw_i3c_clk_cfg()
545 writel(scl_timing, master->regs + SCL_I3C_PP_TIMING); in dw_i3c_clk_cfg()
556 scl_timing = SCL_I3C_TIMING_HCNT(hcnt) | SCL_I3C_TIMING_LCNT(lcnt); in dw_i3c_clk_cfg()
557 writel(scl_timing, master->regs + SCL_I3C_OD_TIMING); in dw_i3c_clk_cfg()
560 scl_timing = SCL_EXT_LCNT_1(lcnt); in dw_i3c_clk_cfg()
562 scl_timing |= SCL_EXT_LCNT_2(lcnt); in dw_i3c_clk_cfg()
564 scl_timing |= SCL_EXT_LCNT_3(lcnt); in dw_i3c_clk_cfg()
566 scl_timing |= SCL_EXT_LCNT_4(lcnt); in dw_i3c_clk_cfg()
567 writel(scl_timing, master->regs + SCL_EXT_LCNT_TIMING); in dw_i3c_clk_cfg()
576 u32 scl_timing; in dw_i2c_clk_cfg() local
586 scl_timing = SCL_I2C_FMP_TIMING_HCNT(hcnt) | in dw_i2c_clk_cfg()
588 writel(scl_timing, master->regs + SCL_I2C_FMP_TIMING); in dw_i2c_clk_cfg()
592 scl_timing = SCL_I2C_FM_TIMING_HCNT(hcnt) | in dw_i2c_clk_cfg()
594 writel(scl_timing, master->regs + SCL_I2C_FM_TIMING); in dw_i2c_clk_cfg()