Searched refs:MPC_I2C_SR (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/i2c/busses/
H A Di2c-mpc.c42 #define MPC_I2C_SR 0x0c macro
94 if (readb(i2c->base + MPC_I2C_SR) & CSR_MIF) { mpc_i2c_isr()
96 i2c->interrupt = readb(i2c->base + MPC_I2C_SR); mpc_i2c_isr()
97 writeb(0, i2c->base + MPC_I2C_SR); mpc_i2c_isr()
133 while (!(readb(i2c->base + MPC_I2C_SR) & CSR_MIF)) { i2c_wait()
142 cmd_err = readb(i2c->base + MPC_I2C_SR); i2c_wait()
143 writeb(0, i2c->base + MPC_I2C_SR); i2c_wait()
451 writeb(0, i2c->base + MPC_I2C_SR); mpc_i2c_start()
571 while (readb(i2c->base + MPC_I2C_SR) & CSR_MBB) { mpc_xfer()
578 u8 status = readb(i2c->base + MPC_I2C_SR); mpc_xfer()
583 i2c->base + MPC_I2C_SR); mpc_xfer()
612 while (readb(i2c->base + MPC_I2C_SR) & CSR_MBB) { mpc_xfer()
614 u8 status = readb(i2c->base + MPC_I2C_SR); mpc_xfer()
619 i2c->base + MPC_I2C_SR); mpc_xfer()

Completed in 63 milliseconds