Searched refs:hsregs (Results 1 – 2 of 2) sorted by relevance
141 struct exynos5_hsi2c *hsregs = i2c_bus->hsregs; in hsi2c_get_clk_details() local158 t_ftl_cycle = (readl(&hsregs->usi_conf) >> 16) & 0x7; in hsi2c_get_clk_details()175 struct exynos5_hsi2c *hsregs = i2c_bus->hsregs; in hsi2c_ch_init() local202 writel(HSI2C_TRAILING_COUNT, &hsregs->usi_trailing_ctl); in hsi2c_ch_init()205 clrsetbits_le32(&hsregs->usi_timeout, HSI2C_TIMEOUT_EN, 0); in hsi2c_ch_init()208 writel(readl(&hsregs->usi_conf) | HSI2C_AUTO_MODE, &hsregs->usi_conf); in hsi2c_ch_init()211 writel(HSI2C_INT_I2C_EN, &hsregs->usi_int_en); in hsi2c_ch_init()214 writel(HSI2C_RXFIFO_EN | HSI2C_TXFIFO_EN, &hsregs->usi_fifo_ctl); in hsi2c_ch_init()217 writel(i2c_timing_s1, &hsregs->usi_timing_fs1); in hsi2c_ch_init()218 writel(i2c_timing_s2, &hsregs->usi_timing_fs2); in hsi2c_ch_init()[all …]
54 struct exynos5_hsi2c *hsregs; member