4 #define PM_SMBUS_MAX_MSG_SIZE 32
6 typedef struct PMSMBus
{
16 uint8_t smb_data
[PM_SMBUS_MAX_MSG_SIZE
];
21 /* Set by pm_smbus.c */
22 void (*reset
)(struct PMSMBus
*s
);
24 /* Set by the user. */
27 /* Internally used by pm_smbus. */
29 /* Set on block transfers after the last byte has been read, so the
30 INTR bit can be set at the right time. */
34 void pm_smbus_init(DeviceState
*parent
, PMSMBus
*smb
);
36 #endif /* PM_SMBUS_H */