Searched refs:MPC_I2C_SR (Results 1 – 1 of 1) sorted by relevance
40 #define MPC_I2C_SR 0x0c macro88 if (readb(i2c->base + MPC_I2C_SR) & CSR_MIF) { in mpc_i2c_isr()90 i2c->interrupt = readb(i2c->base + MPC_I2C_SR); in mpc_i2c_isr()91 writeb(0, i2c->base + MPC_I2C_SR); in mpc_i2c_isr()126 while (!(readb(i2c->base + MPC_I2C_SR) & CSR_MIF)) { in i2c_wait()135 x = readb(i2c->base + MPC_I2C_SR); in i2c_wait()136 writeb(0, i2c->base + MPC_I2C_SR); in i2c_wait()418 writeb(0, i2c->base + MPC_I2C_SR); in mpc_i2c_start()538 while (readb(i2c->base + MPC_I2C_SR) & CSR_MBB) { in mpc_xfer()545 u8 status = readb(i2c->base + MPC_I2C_SR); in mpc_xfer()[all …]