kernel_samsung_a53x/drivers/soc/samsung/exynos-hdcp/dp_link/exynos-hdcp2-dplink-inter.h

32 lines
1.1 KiB
C
Raw Normal View History

2024-06-15 16:02:09 -03:00
/* driver/soc/samsung/exynos-hdcp/dplink/exynos-hdcp2-dplink.h
*
* Copyright (c) 2016 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* 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_HDCP2_DPLINK_INTER_H__
#define __EXYNOS_HDCP2_DPLINK_INTER_H__
/* Do hdcp2.2 authentication with DP Receiver
* and enable encryption if authentication is succeed.
* @return
* - 0: Success
* - ENOMEM: hdcp context open fail
* - EACCES: authentication fail
*/
int hdcp_dplink_get_rxstatus(uint8_t *status);
int hdcp_dplink_set_paring_available(void);
int hdcp_dplink_set_hprime_available(void);
int hdcp_dplink_set_rp_ready(void);
int hdcp_dplink_set_reauth(void);
int hdcp_dplink_set_integrity_fail(void);
int hdcp_dplink_cancel_auth(void);
int hdcp_dplink_stream_manage(void);
int hdcp_dplink_auth_check(enum auth_signal);
void hdcp_dplink_clear_all(void);
void hdcp_dplink_connect_state(enum dp_state state);
#endif