Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Dmv_i2c.h25 #define I2C_ICR_INIT (ICR_BEIE | ICR_IRFIE | ICR_ITEIE | ICR_GCD | ICR_SCLE)
35 #define ICR_SCLE 0x20 /* master clock enable, mona SCLEA */ macro
H A Dmv_i2c.c388 writel(readl(&base->icr) & ~(ICR_SCLE | ICR_IUE), &base->icr); in i2c_board_init()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-pxa.c46 #define ICR_SCLE (1 << 5) /* master clock enable */ macro
121 #define I2C_ICR_INIT (ICR_BEIE | ICR_IRFIE | ICR_ITEIE | ICR_GCD | ICR_SCLE)
332 PXA_BIT(ICR_SCLE, "SCLE", "scle"),
394 return !(readl(_ICR(i2c)) & ICR_SCLE); in i2c_pxa_is_slavemode()
497 writel(readl(_ICR(i2c)) | ICR_SCLE, _ICR(i2c)); in i2c_pxa_set_master()
517 (readl(_ICR(i2c)) & ICR_SCLE) == 0) { in i2c_pxa_wait_slave()
558 writel(readl(_ICR(i2c)) & ~ICR_SCLE, _ICR(i2c)); in i2c_pxa_set_slave()
683 writel(readl(_ICR(i2c)) & ~ICR_SCLE, _ICR(i2c)); in i2c_pxa_slave_start()
778 writel(readl(_ICR(i2c)) & ~ICR_SCLE, _ICR(i2c)); in i2c_pxa_slave_start()
1186 writel(readl(_ICR(i2c)) | ICR_SCLE, _ICR(i2c)); in i2c_pxa_pio_set_master()