repo.or.cz
/
qemu
/
cris-port.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
target-arm: Fix warn about implicit conversion
[qemu/cris-port.git]
/
include
/
hw
/
i2c
/
pm_smbus.h
blob
2a837afdcbecf16f715939dec9c326e2d4c4b345
1
#ifndef PM_SMBUS_H
2
#define PM_SMBUS_H
3
4
typedef
struct
PMSMBus
{
5
I2CBus
*
smbus
;
6
MemoryRegion io
;
7
8
uint8_t
smb_stat
;
9
uint8_t
smb_ctl
;
10
uint8_t
smb_cmd
;
11
uint8_t
smb_addr
;
12
uint8_t
smb_data0
;
13
uint8_t
smb_data1
;
14
uint8_t
smb_data
[
32
];
15
uint8_t
smb_index
;
16
}
PMSMBus
;
17
18
void
pm_smbus_init
(
DeviceState
*
parent
,
PMSMBus
*
smb
);
19
20
#endif
/* PM_SMBUS_H */