Home
last modified time | relevance | path

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

/openbmc/qemu/hw/i2c/
H A Dnpcm7xx_smbus.c165 #define NPCM7XX_SMBUS_FIFO_ENABLED(s) ((s)->fif_ctl & \
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()
599 s->fif_ctl = new_ctl; in npcm7xx_smbus_write_fif_ctl()
795 value = s->fif_ctl; in npcm7xx_smbus_read()
1011 s->fif_ctl = NPCM7XX_SMB_FIF_CTL_INIT_VAL; in npcm7xx_smbus_enter_reset()
1063 VMSTATE_UINT8(fif_ctl, NPCM7xxSMBusState),
/openbmc/qemu/include/hw/i2c/
H A Dnpcm7xx_smbus.h94 uint8_t fif_ctl; member
/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_smbus-test.c246 uint8_t st, fif_ctl, rxf_ctl, rxf_sts; in check_recv() local
251 fif_ctl = qtest_readb(qts, base_addr + OFFSET_FIF_CTL); in check_recv()
252 fifo = fif_ctl & FIF_CTL_FIFO_EN; in check_recv()