Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/
H A Di2c.h28 #define I2C_CON_MOD(mod) ((mod) << 1) macro
/openbmc/u-boot/drivers/i2c/
H A Drk_i2c.c213 con |= I2C_CON_MOD(I2C_MODE_RX); in rk_i2c_read()
215 con |= I2C_CON_MOD(I2C_MODE_TRX); in rk_i2c_read()
307 writel(I2C_CON_EN | I2C_CON_MOD(I2C_MODE_TX), &regs->con); in rk_i2c_write()