mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
[linux/fpc-iii.git] / arch / s390 / include / uapi / asm / monwriter.h
blobf845c8e2f86158f5d899ff7ac0a41fd3ebbb5dca
1 /*
2 * Copyright IBM Corp. 2006
3 * Character device driver for writing z/VM APPLDATA monitor records
4 * Version 1.0
5 * Author(s): Melissa Howland <melissah@us.ibm.com>
7 */
9 #ifndef _ASM_390_MONWRITER_H
10 #define _ASM_390_MONWRITER_H
12 /* mon_function values */
13 #define MONWRITE_START_INTERVAL 0x00 /* start interval recording */
14 #define MONWRITE_STOP_INTERVAL 0x01 /* stop interval or config recording */
15 #define MONWRITE_GEN_EVENT 0x02 /* generate event record */
16 #define MONWRITE_START_CONFIG 0x03 /* start configuration recording */
18 /* the header the app uses in its write() data */
19 struct monwrite_hdr {
20 unsigned char mon_function;
21 unsigned short applid;
22 unsigned char record_num;
23 unsigned short version;
24 unsigned short release;
25 unsigned short mod_level;
26 unsigned short datalen;
27 unsigned char hdrlen;
29 } __attribute__((packed));
31 #endif /* _ASM_390_MONWRITER_H */