180edefbd2
Test: treehugger Change-Id: I8e27e8ac15f5f1380046accbd7875da1c3b512f2
19 lines
435 B
C
19 lines
435 B
C
/*
|
|
* This file is auto-generated. Modifications will be lost.
|
|
*
|
|
* See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
|
|
* for more information.
|
|
*/
|
|
#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
|