Searched refs:I2CCR (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/sys/dev/i2c/ |
H A D | motoi2c.c | 124 I2C_WRITE(I2CCR, sc->sc_disable_mask); /* reset before config */ in motoi2c_attach() 146 I2C_WRITE(I2CCR, sc->sc_enable_mask); /* enable the I2C module */ in motoi2c_acquire_bus() 156 I2C_WRITE(I2CCR, sc->sc_disable_mask); /* disable the I2C module */ in motoi2c_release_bus() 201 __func__, sr, I2C_READ(I2CCR))); in motoi2c_busy_wait() 238 cr = I2C_READ(I2CCR); in motoi2c_exec() 261 I2C_WRITE(I2CCR, cr); in motoi2c_exec() 264 __func__, I2C_READ(I2CSR), cr, I2C_READ(I2CCR))); in motoi2c_exec() 269 __func__, I2C_READ(I2CSR), cr, I2C_READ(I2CCR))); in motoi2c_exec() 270 I2C_WRITE(I2CCR, sc->sc_disable_mask); in motoi2c_exec() 272 I2C_WRITE(I2CCR, sc->sc_enable_mask | CR_MTX | CR_MSTA); in motoi2c_exec() [all …]
|
H A D | motoi2creg.h | 42 #define I2CCR 0x0008 /* control */ macro
|
/netbsd-src/sys/arch/powerpc/include/booke/ |
H A D | e500reg.h | 303 #define I2CCR 0x008 /* i2c control register */ macro
|