Searched refs:ICMSR (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-rcar.c | 37 #define ICMSR 0x0C /* master status */ macro 72 /* ICMSR (also for ICMIE) */ 214 rcar_i2c_write(priv, ICMSR, 0); in rcar_i2c_init() 343 * of ICMSR and ICMCR depends on whether we issue START or REP_START. Since in rcar_i2c_prepare_msg() 347 rcar_i2c_write(priv, ICMSR, 0); in rcar_i2c_prepare_msg() 354 rcar_i2c_write(priv, ICMSR, 0); in rcar_i2c_prepare_msg() 524 rcar_i2c_write(priv, ICMSR, RCAR_IRQ_ACK_SEND); in rcar_i2c_irq_send() 560 rcar_i2c_write(priv, ICMSR, RCAR_IRQ_ACK_RECV); in rcar_i2c_irq_recv() 669 rcar_i2c_write(priv, ICMSR, 0); in rcar_i2c_irq() 686 msr = rcar_i2c_read(priv, ICMSR); in rcar_i2c_gen2_irq() [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-rcar.c | 37 #define ICMSR 0x0C /* master status */ macro 72 /* ICMSR (also for ICMIE) */ 162 writel(~val & 0x7f, priv->io + ICMSR); in rcar_i2c_clear_irq() 217 rcar_i2c_write(priv, ICMSR, 0); in rcar_i2c_init() 337 * ICMSR and ICMCR depends on whether we issue START or REP_START. So, ICMSR 338 * handling is outside of this function. First messages clear ICMSR before this 365 rcar_i2c_write(priv, ICMSR, 0); /* must be before preparing msg */ in rcar_i2c_first_msg() 374 /* ICMSR handling must come afterwards in the irq handler */ in rcar_i2c_next_msg() 694 rcar_i2c_write(priv, ICMSR, in rcar_i2c_irq() [all...] |
Completed in 3 milliseconds