| // SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2022 Samsung Electronics Co., Ltd. |
| * |
| * Samsung DisplayPort driver. |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| */ |
| #ifndef __EXYNOS_HDCP_AUTH_CONTROL_H__ |
| #define __EXYNOS_HDCP_AUTH_CONTROL_H__ |
| |
| enum auth_state { |
| HDCP_AUTH_IDLE, |
| HDCP1_AUTH_PROGRESS, |
| HDCP1_AUTH_DONE, |
| HDCP2_AUTH_PROGRESS, |
| HDCP2_AUTH_DONE, |
| }; |
| |
| int hdcp_get_auth_state(void); |
| |
| void hdcp_auth_worker_init(void); |
| void hdcp_auth_worker_deinit(void); |
| |
| #endif |