Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-omap.c272 static inline u16 omap_i2c_read_reg(struct omap_i2c_dev *omap, int reg) in omap_i2c_read_reg() function
315 sysc = omap_i2c_read_reg(omap, OMAP_I2C_SYSC_REG); in omap_i2c_reset()
319 omap_i2c_read_reg(omap, OMAP_I2C_CON_REG) & in omap_i2c_reset()
327 while (!(omap_i2c_read_reg(omap, OMAP_I2C_SYSS_REG) & in omap_i2c_reset()
489 systest = omap_i2c_read_reg(omap, OMAP_I2C_SYSTEST_REG); in omap_i2c_recover_bus()
506 while (omap_i2c_read_reg(omap, OMAP_I2C_STAT_REG) & OMAP_I2C_STAT_BB) { in omap_i2c_wait_for_bb()
555 stat = omap_i2c_read_reg(omap, OMAP_I2C_STAT_REG); in omap_i2c_wait_for_bb_valid()
568 systest = omap_i2c_read_reg(omap, OMAP_I2C_SYSTEST_REG); in omap_i2c_wait_for_bb_valid()
621 buf = omap_i2c_read_reg(omap, OMAP_I2C_BUF_REG); in omap_i2c_resize_fifo()
647 u16 mask = omap_i2c_read_reg(omap, OMAP_I2C_IE_REG); in omap_i2c_wait()
[all …]
/openbmc/u-boot/drivers/i2c/
H A Domap24xx_i2c.c161 static inline u16 omap_i2c_read_reg(void __iomem *base, int ip_rev, int reg) in omap_i2c_read_reg() function
232 while ((stat = omap_i2c_read_reg(i2c_base, ip_rev, irq_stat_reg) & in wait_for_bb()
262 status = omap_i2c_read_reg(i2c_base, ip_rev, irq_stat_reg); in wait_for_event()
291 stat = omap_i2c_read_reg(i2c_base, ip_rev, OMAP_I2C_STAT_REG); in flush_fifo()
293 omap_i2c_read_reg(i2c_base, ip_rev, OMAP_I2C_DATA_REG); in flush_fifo()
376 orgsystest = omap_i2c_read_reg(i2c_base, ip_rev, OMAP_I2C_SYSTEST_REG); in omap24_i2c_deblock()
424 if (omap_i2c_read_reg(i2c_base, ip_rev, OMAP_I2C_CON_REG) & in __omap24_i2c_init()
435 while (!(omap_i2c_read_reg(i2c_base, ip_rev, OMAP_I2C_SYSS_REG) & in __omap24_i2c_init()
486 if (chip == omap_i2c_read_reg(i2c_base, ip_rev, OMAP_I2C_OA_REG)) in __omap24_i2c_probe()
684 *buffer++ = omap_i2c_read_reg(i2c_base, ip_rev, in __omap24_i2c_read()