Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Domap24xx_i2c.c155 static inline void omap_i2c_write_reg(void __iomem *base, int ip_rev, in omap_i2c_write_reg() function
230 omap_i2c_write_reg(i2c_base, ip_rev, 0xFFFF, OMAP_I2C_STAT_REG); in wait_for_bb()
234 omap_i2c_write_reg(i2c_base, ip_rev, stat, OMAP_I2C_STAT_REG); in wait_for_bb()
244 omap_i2c_write_reg(i2c_base, ip_rev, 0xFFFF, OMAP_I2C_STAT_REG); in wait_for_bb()
275 omap_i2c_write_reg(i2c_base, ip_rev, 0xFFFF, OMAP_I2C_STAT_REG); in wait_for_event()
294 omap_i2c_write_reg(i2c_base, ip_rev, in flush_fifo()
357 omap_i2c_write_reg(i2c_base, ip_rev, 0, OMAP_I2C_CON_REG); in __omap24_i2c_setspeed()
358 omap_i2c_write_reg(i2c_base, ip_rev, psc, OMAP_I2C_PSC_REG); in __omap24_i2c_setspeed()
359 omap_i2c_write_reg(i2c_base, ip_rev, scll, OMAP_I2C_SCLL_REG); in __omap24_i2c_setspeed()
360 omap_i2c_write_reg(i2c_base, ip_rev, sclh, OMAP_I2C_SCLH_REG); in __omap24_i2c_setspeed()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-omap.c265 static inline void omap_i2c_write_reg(struct omap_i2c_dev *omap, in omap_i2c_write_reg() function
281 omap_i2c_write_reg(omap, OMAP_I2C_CON_REG, 0); in __omap_i2c_init()
284 omap_i2c_write_reg(omap, OMAP_I2C_PSC_REG, omap->pscstate); in __omap_i2c_init()
287 omap_i2c_write_reg(omap, OMAP_I2C_SCLL_REG, omap->scllstate); in __omap_i2c_init()
288 omap_i2c_write_reg(omap, OMAP_I2C_SCLH_REG, omap->sclhstate); in __omap_i2c_init()
290 omap_i2c_write_reg(omap, OMAP_I2C_WE_REG, omap->westate); in __omap_i2c_init()
293 omap_i2c_write_reg(omap, OMAP_I2C_CON_REG, OMAP_I2C_CON_EN); in __omap_i2c_init()
306 omap_i2c_write_reg(omap, OMAP_I2C_IE_REG, omap->iestate); in __omap_i2c_init()
318 omap_i2c_write_reg(omap, OMAP_I2C_CON_REG, in omap_i2c_reset()
322 omap_i2c_write_reg(omap, OMAP_I2C_SYSC_REG, SYSC_SOFTRESET_MASK); in omap_i2c_reset()
[all …]