Lines Matching refs:readb
230 while (!(readb(&base->sr) & I2C_SR_MBB)) { in fsl_i2c_fixup()
235 if (readb(&base->sr) & I2C_SR_MAL) { in fsl_i2c_fixup()
243 readb(&base->dr); in fsl_i2c_fixup()
246 while (!(readb(&base->sr) & I2C_SR_MIF)) { in fsl_i2c_fixup()
281 while (readb(&base->sr) & I2C_SR_MBB) { in __i2c_init()
298 while (readb(&base->sr) & I2C_SR_MBB) { in i2c_wait4bus()
313 csr = readb(&base->sr); in i2c_wait()
317 csr = readb(&base->sr); in i2c_wait()
382 readb(&base->dr); in __i2c_read_data()
398 data[i] = readb(&base->dr); in __i2c_read_data()
480 if (chip == (readb(&base->adr) >> 1)) in __i2c_probe_chip()