Searched refs:MPC_I2C_SR (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-mpc.c | 43 #define MPC_I2C_SR 0x0c macro 95 if (readb(i2c->base + MPC_I2C_SR) & CSR_MIF) { in mpc_i2c_isr() 97 i2c->interrupt = readb(i2c->base + MPC_I2C_SR); in mpc_i2c_isr() 98 writeb(0, i2c->base + MPC_I2C_SR); in mpc_i2c_isr() 117 writeb(0, i2c->base + MPC_I2C_SR); /* clear any status bits */ in mpc_i2c_fixup() 141 while (!(readb(i2c->base + MPC_I2C_SR) & CSR_MIF)) { in i2c_wait() 150 cmd_err = readb(i2c->base + MPC_I2C_SR); in i2c_wait() 151 writeb(0, i2c->base + MPC_I2C_SR); in i2c_wait() 191 void __iomem *addr = i2c->base + MPC_I2C_SR; in i2c_mpc_wait_sr() 229 val = readb(i2c->base + MPC_I2C_SR); in mpc_i2c_fixup_A004447() [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-mpc.c | 40 #define MPC_I2C_SR 0x0c macro 132 writeb(0, i2c->base + MPC_I2C_SR); /* clear any status bits */ in mpc_i2c_fixup() 151 void __iomem *addr = i2c->base + MPC_I2C_SR; in i2c_mpc_wait_sr() 189 val = readb(i2c->base + MPC_I2C_SR); in mpc_i2c_fixup_A004447() 648 status = readb(i2c->base + MPC_I2C_SR); in mpc_i2c_isr() 651 readb_poll_timeout_atomic(i2c->base + MPC_I2C_SR, status, status & CSR_MCF, 0, 100); in mpc_i2c_isr() 652 writeb(0, i2c->base + MPC_I2C_SR); in mpc_i2c_isr() 687 writeb(0, i2c->base + MPC_I2C_SR); in mpc_i2c_execute_msg() 703 while (readb(i2c->base + MPC_I2C_SR) & CSR_MBB) { in mpc_i2c_execute_msg() 705 u8 status = readb(i2c->base + MPC_I2C_SR); in mpc_i2c_execute_msg() [all...] |
Completed in 3 milliseconds