Searched refs:WRITE_ONE_CLEAR (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/i2c/ |
H A D | npcm7xx_smbus.c | 162 #define WRITE_ONE_CLEAR(o, n, b) ((n) & (b) ? (o) & (~(b)) : (o)) macro 515 s->st = WRITE_ONE_CLEAR(s->st, value, NPCM7XX_SMBST_STP); in npcm7xx_smbus_write_st() 516 s->st = WRITE_ONE_CLEAR(s->st, value, NPCM7XX_SMBST_BER); in npcm7xx_smbus_write_st() 517 s->st = WRITE_ONE_CLEAR(s->st, value, NPCM7XX_SMBST_STASTR); in npcm7xx_smbus_write_st() 518 s->st = WRITE_ONE_CLEAR(s->st, value, NPCM7XX_SMBST_NMATCH); in npcm7xx_smbus_write_st() 543 s->cst = WRITE_ONE_CLEAR(new_value, value, NPCM7XX_SMBCST_BB); in npcm7xx_smbus_write_cst() 549 s->cst3 = WRITE_ONE_CLEAR(s->cst3, value, NPCM7XX_SMBCST3_EO_BUSY); in npcm7xx_smbus_write_cst3() 597 new_ctl = WRITE_ONE_CLEAR(new_ctl, value, NPCM7XX_SMBFIF_CTL_FAIR_RDY); in npcm7xx_smbus_write_fif_ctl() 604 s->fif_cts = WRITE_ONE_CLEAR(s->fif_cts, value, NPCM7XX_SMBFIF_CTS_STR); in npcm7xx_smbus_write_fif_cts() 605 s->fif_cts = WRITE_ONE_CLEAR(s->fif_cts, value, NPCM7XX_SMBFIF_CTS_RXF_TXE); in npcm7xx_smbus_write_fif_cts() [all …]
|