Lines Matching refs:PMSMBus
68 static void smb_transaction(PMSMBus *s) in smb_transaction()
211 static void smb_transaction_start(PMSMBus *s) in smb_transaction_start()
230 smb_irq_value(PMSMBus *s) in smb_irq_value()
236 smb_byte_by_byte(PMSMBus *s) in smb_byte_by_byte()
250 PMSMBus *s = opaque; in smb_ioport_writeb()
373 PMSMBus *s = opaque; in smb_ioport_readb()
432 static void pm_smbus_reset(PMSMBus *s) in pm_smbus_reset()
459 VMSTATE_UINT8(smb_stat, PMSMBus),
460 VMSTATE_UINT8(smb_ctl, PMSMBus),
461 VMSTATE_UINT8(smb_cmd, PMSMBus),
462 VMSTATE_UINT8(smb_addr, PMSMBus),
463 VMSTATE_UINT8(smb_data0, PMSMBus),
464 VMSTATE_UINT8(smb_data1, PMSMBus),
465 VMSTATE_UINT32(smb_index, PMSMBus),
466 VMSTATE_UINT8_ARRAY(smb_data, PMSMBus, PM_SMBUS_MAX_MSG_SIZE),
467 VMSTATE_UINT8(smb_auxctl, PMSMBus),
468 VMSTATE_UINT8(smb_blkdata, PMSMBus),
469 VMSTATE_BOOL(i2c_enable, PMSMBus),
470 VMSTATE_BOOL(op_done, PMSMBus),
471 VMSTATE_BOOL(in_i2c_block_read, PMSMBus),
472 VMSTATE_BOOL(start_transaction_on_status_read, PMSMBus),
477 void pm_smbus_init(DeviceState *parent, PMSMBus *smb, bool force_aux_blk) in pm_smbus_init()