Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 7 | #ifndef _USERIO_H |
| 8 | #define _USERIO_H |
| 9 | #include <linux/types.h> |
| 10 | enum userio_cmd_type { |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 11 | USERIO_CMD_REGISTER = 0, |
| 12 | USERIO_CMD_SET_PORT_TYPE = 1, |
| 13 | USERIO_CMD_SEND_INTERRUPT = 2 |
| 14 | }; |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 15 | struct userio_cmd { |
| 16 | __u8 type; |
| 17 | __u8 data; |
| 18 | } __attribute__((__packed__)); |
Christopher Ferris | 05d08e9 | 2016-02-04 13:16:38 -0800 | [diff] [blame] | 19 | #endif |