Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/i2c/busses/
Di2c-mpc.c42 #define MPC_I2C_SR 0x0c macro
92 if (readb(i2c->base + MPC_I2C_SR) & CSR_MIF) { in mpc_i2c_isr()
94 i2c->interrupt = readb(i2c->base + MPC_I2C_SR); in mpc_i2c_isr()
95 writeb(0, i2c->base + MPC_I2C_SR); in mpc_i2c_isr()
131 while (!(readb(i2c->base + MPC_I2C_SR) & CSR_MIF)) { in i2c_wait()
140 cmd_err = readb(i2c->base + MPC_I2C_SR); in i2c_wait()
141 writeb(0, i2c->base + MPC_I2C_SR); in i2c_wait()
456 writeb(0, i2c->base + MPC_I2C_SR); in mpc_i2c_start()
576 while (readb(i2c->base + MPC_I2C_SR) & CSR_MBB) { in mpc_xfer()
583 u8 status = readb(i2c->base + MPC_I2C_SR); in mpc_xfer()
[all …]