Lines Matching refs:I2CCR
111 I2C_WRITE(I2CCR, sc->sc_disable_mask); /* reset before config */
125 I2C_WRITE(I2CCR, sc->sc_enable_mask); /* enable the I2C module */
135 I2C_WRITE(I2CCR, sc->sc_disable_mask); /* disable the I2C module */
180 __func__, sr, I2C_READ(I2CCR)));
217 cr = I2C_READ(I2CCR);
240 I2C_WRITE(I2CCR, cr);
243 __func__, I2C_READ(I2CSR), cr, I2C_READ(I2CCR)));
248 __func__, I2C_READ(I2CSR), cr, I2C_READ(I2CCR)));
249 I2C_WRITE(I2CCR, sc->sc_disable_mask);
251 I2C_WRITE(I2CCR, sc->sc_enable_mask | CR_MTX | CR_MSTA);
259 __func__, I2C_READ(I2CSR), cr, I2C_READ(I2CCR)));
282 " %d\n", __func__, i, I2C_READ(I2CCR), cr, error));
290 I2C_WRITE(I2CCR, cr | CR_RSTA);
293 __func__, I2C_READ(I2CSR), cr | CR_RSTA, I2C_READ(I2CCR)));
313 I2C_WRITE(I2CCR, cr);
321 * the transmit acknowledge bit (I2CCR[TXAK])) before
332 I2C_WRITE(I2CCR, cr);
335 I2C_WRITE(I2CCR, cr);
342 I2C_WRITE(I2CCR, cr);
372 I2C_WRITE(I2CCR, cr);
375 cr, I2C_READ(I2CCR)));
379 I2C_READ(I2CSR), I2C_READ(I2CCR), error));