34 lines
859 B
C
Executable File
34 lines
859 B
C
Executable File
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __MSM_HDCP_H
|
|
#define __MSM_HDCP_H
|
|
#include <linux/types.h>
|
|
#include "hdcp/msm_hdmi_hdcp_mgr.h"
|
|
|
|
#if IS_ENABLED(CONFIG_HDCP_QSEECOM)
|
|
void msm_hdcp_notify_topology(struct device *dev);
|
|
void msm_hdcp_cache_repeater_topology(struct device *dev,
|
|
struct HDCP_V2V1_MSG_TOPOLOGY *tp);
|
|
void msm_hdcp_register_cb(struct device *dev, void *ctx,
|
|
void (*cb)(void *ctx, u8 data));
|
|
#else
|
|
static inline void msm_hdcp_notify_topology(struct device *dev)
|
|
{
|
|
}
|
|
|
|
static inline void msm_hdcp_cache_repeater_topology(struct device *dev,
|
|
struct HDCP_V2V1_MSG_TOPOLOGY *tp)
|
|
{
|
|
}
|
|
|
|
static inline void msm_hdcp_register_cb(struct device *dev, void *ctx,
|
|
void (*cb)(void *ctx, u8 data))
|
|
{
|
|
}
|
|
#endif /* CONFIG_HDCP_QSEECOM*/
|
|
|
|
#endif /* __MSM_HDCP_H */
|