2023-11-02 01:08:05 +01:00
|
|
|
/*
|
|
|
|
* This file is auto-generated. Modifications will be lost.
|
|
|
|
*
|
|
|
|
* See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
|
|
|
|
* for more information.
|
|
|
|
*/
|
2016-02-04 22:16:38 +01:00
|
|
|
#ifndef _USERIO_H
|
|
|
|
#define _USERIO_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
enum userio_cmd_type {
|
|
|
|
USERIO_CMD_REGISTER = 0,
|
|
|
|
USERIO_CMD_SET_PORT_TYPE = 1,
|
|
|
|
USERIO_CMD_SEND_INTERRUPT = 2
|
|
|
|
};
|
|
|
|
struct userio_cmd {
|
|
|
|
__u8 type;
|
|
|
|
__u8 data;
|
|
|
|
} __attribute__((__packed__));
|
|
|
|
#endif
|