#include "hdcp.h"
#ifndef MIN
#define MIN …
#endif
#define HDCP_I2C_ADDR …
#define KSV_READ_SIZE …
#define HDCP_MAX_AUX_TRANSACTION_SIZE …
#define DP_CP_IRQ …
enum mod_hdcp_ddc_message_id { … };
static const uint8_t hdcp_i2c_offsets[] = …;
static const uint32_t hdcp_dpcd_addrs[] = …;
static enum mod_hdcp_status read(struct mod_hdcp *hdcp,
enum mod_hdcp_ddc_message_id msg_id,
uint8_t *buf,
uint32_t buf_len)
{ … }
static enum mod_hdcp_status read_repeatedly(struct mod_hdcp *hdcp,
enum mod_hdcp_ddc_message_id msg_id,
uint8_t *buf,
uint32_t buf_len,
uint8_t read_size)
{ … }
static enum mod_hdcp_status write(struct mod_hdcp *hdcp,
enum mod_hdcp_ddc_message_id msg_id,
uint8_t *buf,
uint32_t buf_len)
{ … }
enum mod_hdcp_status mod_hdcp_read_bksv(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_bcaps(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_bstatus(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_r0p(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_ksvlist(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_vp(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_binfo(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_write_aksv(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_write_ainfo(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_write_an(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_hdcp2version(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_rxcaps(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_rxstatus(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_ake_cert(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_h_prime(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_pairing_info(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_l_prime(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_rx_id_list(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_read_stream_ready(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_write_ake_init(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_write_no_stored_km(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_write_stored_km(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_write_lc_init(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_write_eks(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_write_repeater_auth_ack(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_write_stream_manage(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_write_content_type(struct mod_hdcp *hdcp)
{ … }
enum mod_hdcp_status mod_hdcp_clear_cp_irq_status(struct mod_hdcp *hdcp)
{ … }