linux/drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-hdcp.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Cadence MHDP8546 DP bridge driver.
 *
 * Copyright (C) 2020 Cadence Design Systems, Inc.
 *
 */

#ifndef CDNS_MHDP8546_HDCP_H
#define CDNS_MHDP8546_HDCP_H

#include "cdns-mhdp8546-core.h"

#define HDCP_MAX_RECEIVERS
#define HDCP_RECEIVER_ID_SIZE_BYTES
#define HDCP_STATUS_SIZE
#define HDCP_PORT_STS_AUTH
#define HDCP_PORT_STS_LAST_ERR_SHIFT
#define HDCP_PORT_STS_LAST_ERR_MASK
#define GET_HDCP_PORT_STS_LAST_ERR(__sts__)

#define HDCP_CONFIG_1_4
#define HDCP_CONFIG_2_2
/* use All HDCP versions */
#define HDCP_CONFIG_ALL
#define HDCP_CONFIG_NONE

enum {};

enum {};

enum {};

#define DRM_HDCP_CHECK_PERIOD_MS

#define HDCP_PAIRING_R_ID
#define HDCP_PAIRING_M_LEN
#define HDCP_KM_LEN
#define HDCP_PAIRING_M_EKH

struct cdns_hdcp_pairing_data {};

enum {};

#define DLP_MODULUS_N
#define DLP_E

struct cdns_hdcp_tx_public_key_param {};

int cdns_mhdp_hdcp_set_public_key_param(struct cdns_mhdp_device *mhdp,
					struct cdns_hdcp_tx_public_key_param *val);
int cdns_mhdp_hdcp_set_lc(struct cdns_mhdp_device *mhdp, u8 *val);
int cdns_mhdp_hdcp_enable(struct cdns_mhdp_device *mhdp, u8 content_type);
int cdns_mhdp_hdcp_disable(struct cdns_mhdp_device *mhdp);
void cdns_mhdp_hdcp_init(struct cdns_mhdp_device *mhdp);

#endif