xref: /linux/tools/testing/selftests/powerpc/nx-gzip/include/vas-api.h (revision 32daa5d7899e03433429bedf9e20d7963179703a)
1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2 /*
3  * Copyright 2019 IBM Corp.
4  */
5 
6 #ifndef _UAPI_MISC_VAS_H
7 #define _UAPI_MISC_VAS_H
8 
9 #include <linux/types.h>
10 
11 #include <asm/ioctl.h>
12 
13 #define VAS_MAGIC	'v'
14 #define VAS_TX_WIN_OPEN	_IOW(VAS_MAGIC, 0x20, struct vas_tx_win_open_attr)
15 
16 struct vas_tx_win_open_attr {
17 	__u32	version;
18 	__s16	vas_id;	/* specific instance of vas or -1 for default */
19 	__u16	reserved1;
20 	__u64	flags;	/* Future use */
21 	__u64	reserved2[6];
22 };
23 
24 #endif /* _UAPI_MISC_VAS_H */
25