| /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ |
| * include/linux/amlogic/aml_key.h |
| * Copyright (C) 2017 Amlogic, Inc. All rights reserved. |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License as published by |
| * the Free Software Foundation; either version 2 of the License, or |
| * (at your option) any later version. |
| * This program is distributed in the hope that it will be useful, but WITHOUT |
| * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| #define KEY_ALLOC _IOWR('o', 64, struct key_alloc) |
| #define KEY_FREE _IO('o', 65) |
| #define KEY_SET _IOR('o', 66, struct key_descr) |
| #define KEY_CONFIG _IOR('o', 67, struct key_config) |
| #define KEY_GET_FLAG _IOWR('o', 68, struct key_descr) |
| //int dmx_key_init(void); |
| //void dmx_key_exit(void); |