Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/platform_data/
Di2c-pxa.h49 #define I2C_ICR_INIT (ICR_BEIE | ICR_IRFIE | ICR_ITEIE | ICR_GCD | ICR_SCLE)
/linux-4.19.296/drivers/i2c/busses/
Di2c-pxa.c130 #define ICR_SCLE (1 << 5) /* master clock enable */ macro
276 PXA_BIT(ICR_SCLE, "SCLE", "scle"),
340 return !(readl(_ICR(i2c)) & ICR_SCLE); in i2c_pxa_is_slavemode()
435 writel(readl(_ICR(i2c)) | ICR_SCLE, _ICR(i2c)); in i2c_pxa_set_master()
455 (readl(_ICR(i2c)) & ICR_SCLE) == 0) { in i2c_pxa_wait_slave()
496 writel(readl(_ICR(i2c)) & ~ICR_SCLE, _ICR(i2c)); in i2c_pxa_set_slave()
603 writel(readl(_ICR(i2c)) & ~ICR_SCLE, _ICR(i2c)); in i2c_pxa_slave_start()
666 writel(readl(_ICR(i2c)) & ~ICR_SCLE, _ICR(i2c)); in i2c_pxa_slave_start()
740 writel(readl(_ICR(i2c)) | ICR_SCLE, _ICR(i2c)); in i2c_pxa_pio_set_master()