Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-rzv2m.c59 u32 iicb0wl; member
132 priv->iicb0wl = total_pclks * config->percent_low / 100; in rzv2m_i2c_clock_calculate()
133 if (priv->iicb0wl > (BIT(10) - 1)) in rzv2m_i2c_clock_calculate()
137 priv->iicb0wh = total_pclks - priv->iicb0wl - trf_pclks; in rzv2m_i2c_clock_calculate()
146 hold_time_ns = div64_ul((u64)(priv->iicb0wl >> 2) * NSEC_PER_SEC, pclk_hz); in rzv2m_i2c_clock_calculate()
171 writel(priv->iicb0wl, priv->base + IICB0WL); in rzv2m_i2c_init()