#include "dm_services.h"
#include "dm_helpers.h"
#include "include/hdcp_msg_types.h"
#include "include/signal_types.h"
#include "core_types.h"
#include "link.h"
#include "link_hwss.h"
#include "link/protocols/link_dpcd.h"
#define DC_LOGGER …
#define HDCP14_KSV_SIZE …
#define HDCP14_MAX_KSV_FIFO_SIZE …
static const bool hdcp_cmd_is_read[HDCP_MESSAGE_ID_MAX] = …;
static const uint8_t hdcp_i2c_offsets[HDCP_MESSAGE_ID_MAX] = …;
struct protection_properties { … };
static const struct protection_properties non_supported_protection = …;
static bool hdmi_14_process_transaction(
struct dc_link *link,
struct hdcp_protection_message *message_info)
{ … }
static const struct protection_properties hdmi_14_protection = …;
static const uint32_t hdcp_dpcd_addrs[HDCP_MESSAGE_ID_MAX] = …;
static bool dpcd_access_helper(
struct dc_link *link,
uint32_t length,
uint8_t *data,
uint32_t dpcd_addr,
bool is_read)
{ … }
static bool dp_11_process_transaction(
struct dc_link *link,
struct hdcp_protection_message *message_info)
{ … }
static const struct protection_properties dp_11_protection = …;
static const struct protection_properties *get_protection_properties_by_signal(
struct dc_link *link,
enum signal_type st,
enum hdcp_version version)
{ … }
enum hdcp_message_status dc_process_hdcp_msg(
enum signal_type signal,
struct dc_link *link,
struct hdcp_protection_message *message_info)
{ … }