File: smbuses.h

package info (click to toggle)
xmbmon 2.05-8
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 928 kB
  • ctags: 910
  • sloc: ansic: 6,089; sh: 2,151; perl: 87; makefile: 79
file content (22 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SMBus IO for various chips */  

#ifdef DEBUG
#define SMB_DEBUG
#endif

#if !defined(__smbuses_h__)
#define	__smbuses_h__

struct smbus_io {
	int	 (*ReadB)(int, int, int);
	int	 (*ReadW)(int, int, int);
	int	 (*WriteB)(int, int, int, int);
	int	 (*WriteW)(int, int, int, int);
};

typedef struct smbus_io SMBUS_IO;

int set_smbus_io(int *, int *);
int chk_smbus_io(int, int);

#endif	/*__smbues_h__*/