Home
last modified time | relevance | path

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

/openbmc/qemu/hw/i2c/
H A Dnpcm7xx_smbus.c161 #define KEEP_OLD_BIT(o, n, b) (((n) & (~(b))) | ((o) & (b))) macro
555 s->ctl1 = KEEP_OLD_BIT(s->ctl1, value, in npcm7xx_smbus_write_ctl1()
588 s->ctl3 = KEEP_OLD_BIT(old_ctl3, value, in npcm7xx_smbus_write_ctl3()
596 new_ctl = KEEP_OLD_BIT(s->fif_ctl, new_ctl, NPCM7XX_SMBFIF_CTL_FAIR_RDY); in npcm7xx_smbus_write_fif_ctl()
598 new_ctl = KEEP_OLD_BIT(s->fif_ctl, new_ctl, NPCM7XX_SMBFIF_CTL_FAIR_BUSY); in npcm7xx_smbus_write_fif_ctl()
606 s->fif_cts = KEEP_OLD_BIT(value, s->fif_cts, NPCM7XX_SMBFIF_CTS_RFTE_IE); in npcm7xx_smbus_write_fif_cts()
651 new_ctl = KEEP_OLD_BIT(s->rxf_ctl, new_ctl, NPCM7XX_SMBRXF_CTL_LAST); in npcm7xx_smbus_write_rxf_ctl()