1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Authors: Joshua Morris <josh.h.morris@us.ibm.com>
6 * Philip Kelleher <pjk1939@linux.vnet.ibm.com>
8 * (C) Copyright 2013 IBM Corporation
14 /*----------------- IOCTL Definitions -------------------*/
16 #define RSXX_MAX_DATA 8
18 struct rsxx_reg_access
{
23 __u32 data
[RSXX_MAX_DATA
];
26 #define RSXX_MAX_REG_CNT (RSXX_MAX_DATA * (sizeof(__u32)))
28 #define RSXX_IOC_MAGIC 'r'
30 #define RSXX_GETREG _IOWR(RSXX_IOC_MAGIC, 0x20, struct rsxx_reg_access)
31 #define RSXX_SETREG _IOWR(RSXX_IOC_MAGIC, 0x21, struct rsxx_reg_access)
33 #endif /* __RSXX_H_ */