Lines Matching refs:NPCM7xxSMBusState
200 static void npcm7xx_smbus_update_irq(NPCM7xxSMBusState *s) in npcm7xx_smbus_update_irq()
230 static void npcm7xx_smbus_nack(NPCM7xxSMBusState *s) in npcm7xx_smbus_nack()
237 static void npcm7xx_smbus_clear_buffer(NPCM7xxSMBusState *s) in npcm7xx_smbus_clear_buffer()
244 static void npcm7xx_smbus_send_byte(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_send_byte()
266 static void npcm7xx_smbus_recv_byte(NPCM7xxSMBusState *s) in npcm7xx_smbus_recv_byte()
279 static void npcm7xx_smbus_recv_fifo(NPCM7xxSMBusState *s) in npcm7xx_smbus_recv_fifo()
325 static void npcm7xx_smbus_read_byte_fifo(NPCM7xxSMBusState *s) in npcm7xx_smbus_read_byte_fifo()
340 static void npcm7xx_smbus_start(NPCM7xxSMBusState *s) in npcm7xx_smbus_start()
368 static void npcm7xx_smbus_send_address(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_send_address()
420 static void npcm7xx_smbus_execute_stop(NPCM7xxSMBusState *s) in npcm7xx_smbus_execute_stop()
432 static void npcm7xx_smbus_stop(NPCM7xxSMBusState *s) in npcm7xx_smbus_stop()
452 static uint8_t npcm7xx_smbus_read_sda(NPCM7xxSMBusState *s) in npcm7xx_smbus_read_sda()
493 static void npcm7xx_smbus_write_sda(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_sda()
513 static void npcm7xx_smbus_write_st(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_st()
539 static void npcm7xx_smbus_write_cst(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_cst()
547 static void npcm7xx_smbus_write_cst3(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_cst3()
553 static void npcm7xx_smbus_write_ctl1(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_ctl1()
569 static void npcm7xx_smbus_write_ctl2(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_ctl2()
583 static void npcm7xx_smbus_write_ctl3(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_ctl3()
592 static void npcm7xx_smbus_write_fif_ctl(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_fif_ctl()
602 static void npcm7xx_smbus_write_fif_cts(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_fif_cts()
613 static void npcm7xx_smbus_write_txf_ctl(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_txf_ctl()
618 static void npcm7xx_smbus_write_t_out(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_t_out()
631 static void npcm7xx_smbus_write_txf_sts(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_txf_sts()
636 static void npcm7xx_smbus_write_rxf_sts(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_rxf_sts()
646 static void npcm7xx_smbus_write_rxf_ctl(NPCM7xxSMBusState *s, uint8_t value) in npcm7xx_smbus_write_rxf_ctl()
658 NPCM7xxSMBusState *s = opaque; in npcm7xx_smbus_read()
820 NPCM7xxSMBusState *s = opaque; in npcm7xx_smbus_write()
993 NPCM7xxSMBusState *s = NPCM7XX_SMBUS(obj); in npcm7xx_smbus_enter_reset()
1027 NPCM7xxSMBusState *s = NPCM7XX_SMBUS(obj); in npcm7xx_smbus_hold_reset()
1034 NPCM7xxSMBusState *s = NPCM7XX_SMBUS(obj); in npcm7xx_smbus_init()
1050 VMSTATE_UINT8(sda, NPCM7xxSMBusState),
1051 VMSTATE_UINT8(st, NPCM7xxSMBusState),
1052 VMSTATE_UINT8(cst, NPCM7xxSMBusState),
1053 VMSTATE_UINT8(cst2, NPCM7xxSMBusState),
1054 VMSTATE_UINT8(cst3, NPCM7xxSMBusState),
1055 VMSTATE_UINT8(ctl1, NPCM7xxSMBusState),
1056 VMSTATE_UINT8(ctl2, NPCM7xxSMBusState),
1057 VMSTATE_UINT8(ctl3, NPCM7xxSMBusState),
1058 VMSTATE_UINT8(ctl4, NPCM7xxSMBusState),
1059 VMSTATE_UINT8(ctl5, NPCM7xxSMBusState),
1060 VMSTATE_UINT8_ARRAY(addr, NPCM7xxSMBusState, NPCM7XX_SMBUS_NR_ADDRS),
1061 VMSTATE_UINT8(scllt, NPCM7xxSMBusState),
1062 VMSTATE_UINT8(sclht, NPCM7xxSMBusState),
1063 VMSTATE_UINT8(fif_ctl, NPCM7xxSMBusState),
1064 VMSTATE_UINT8(fif_cts, NPCM7xxSMBusState),
1065 VMSTATE_UINT8(fair_per, NPCM7xxSMBusState),
1066 VMSTATE_UINT8(txf_ctl, NPCM7xxSMBusState),
1067 VMSTATE_UINT8(t_out, NPCM7xxSMBusState),
1068 VMSTATE_UINT8(txf_sts, NPCM7xxSMBusState),
1069 VMSTATE_UINT8(rxf_sts, NPCM7xxSMBusState),
1070 VMSTATE_UINT8(rxf_ctl, NPCM7xxSMBusState),
1071 VMSTATE_UINT8_ARRAY(rx_fifo, NPCM7xxSMBusState,
1073 VMSTATE_UINT8(rx_cur, NPCM7xxSMBusState),
1093 .instance_size = sizeof(NPCM7xxSMBusState),