cdns_mhdp_device
static void cdns_mhdp_adjust_requested_cr(struct cdns_mhdp_device *mhdp,
void cdns_mhdp_validate_cr(struct cdns_mhdp_device *mhdp, bool *cr_done,
static int cdns_mhdp_mailbox_recv_header(struct cdns_mhdp_device *mhdp,
static bool cdns_mhdp_link_training_cr(struct cdns_mhdp_device *mhdp)
static int cdns_mhdp_link_training(struct cdns_mhdp_device *mhdp,
static u32 cdns_mhdp_get_training_interval_us(struct cdns_mhdp_device *mhdp,
static void cdns_mhdp_fill_host_caps(struct cdns_mhdp_device *mhdp)
static void cdns_mhdp_fill_sink_caps(struct cdns_mhdp_device *mhdp,
static int cdns_mhdp_link_up(struct cdns_mhdp_device *mhdp)
static void cdns_mhdp_link_down(struct cdns_mhdp_device *mhdp)
static int cdns_mhdp_mailbox_recv_data(struct cdns_mhdp_device *mhdp,
static const struct drm_edid *cdns_mhdp_edid_read(struct cdns_mhdp_device *mhdp,
struct cdns_mhdp_device *mhdp = connector_to_mhdp(connector);
struct cdns_mhdp_device *mhdp = connector_to_mhdp(conn);
bool cdns_mhdp_bandwidth_ok(struct cdns_mhdp_device *mhdp,
struct cdns_mhdp_device *mhdp = connector_to_mhdp(conn);
struct cdns_mhdp_device *mhdp = connector_to_mhdp(conn);
static int cdns_mhdp_mailbox_send(struct cdns_mhdp_device *mhdp, u8 module_id,
static int cdns_mhdp_connector_init(struct cdns_mhdp_device *mhdp)
struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge);
static void cdns_mhdp_configure_video(struct cdns_mhdp_device *mhdp,
int cdns_mhdp_reg_read(struct cdns_mhdp_device *mhdp, u32 addr, u32 *value)
static void cdns_mhdp_sst_enable(struct cdns_mhdp_device *mhdp,
struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge);
struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge);
struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge);
struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge);
struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge);
struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge);
static bool cdns_mhdp_detect_hpd(struct cdns_mhdp_device *mhdp, bool *hpd_pulse)
static int cdns_mhdp_update_link_status(struct cdns_mhdp_device *mhdp)
struct cdns_mhdp_device *mhdp;
int cdns_mhdp_reg_write(struct cdns_mhdp_device *mhdp, u16 addr, u32 val)
struct cdns_mhdp_device *mhdp = data;
u32 cdns_mhdp_wait_for_sw_event(struct cdns_mhdp_device *mhdp, u32 event)
struct cdns_mhdp_device *mhdp = container_of(work,
struct cdns_mhdp_device,
struct cdns_mhdp_device *mhdp;
mhdp = devm_drm_bridge_alloc(dev, struct cdns_mhdp_device, bridge,
int cdns_mhdp_reg_write_bit(struct cdns_mhdp_device *mhdp, u16 addr,
struct cdns_mhdp_device *mhdp = platform_get_drvdata(pdev);
int cdns_mhdp_dpcd_read(struct cdns_mhdp_device *mhdp,
int cdns_mhdp_dpcd_write(struct cdns_mhdp_device *mhdp, u32 addr, u8 value)
int cdns_mhdp_set_firmware_active(struct cdns_mhdp_device *mhdp, bool enable)
int cdns_mhdp_get_hpd_status(struct cdns_mhdp_device *mhdp)
struct cdns_mhdp_device *mhdp = data;
int cdns_mhdp_read_hpd_event(struct cdns_mhdp_device *mhdp)
int cdns_mhdp_adjust_lt(struct cdns_mhdp_device *mhdp, unsigned int nlanes,
static unsigned int cdns_mhdp_max_link_rate(struct cdns_mhdp_device *mhdp)
struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge);
static u8 cdns_mhdp_max_num_lanes(struct cdns_mhdp_device *mhdp)
static u8 cdns_mhdp_eq_training_pattern_supported(struct cdns_mhdp_device *mhdp)
static bool cdns_mhdp_get_ssc_supported(struct cdns_mhdp_device *mhdp)
static enum drm_connector_status cdns_mhdp_detect(struct cdns_mhdp_device *mhdp)
static int cdns_mhdp_check_fw_version(struct cdns_mhdp_device *mhdp)
struct cdns_mhdp_device *mhdp)
struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge);
struct cdns_mhdp_device *mhdp = context;
static int cdns_mhdp_load_firmware(struct cdns_mhdp_device *mhdp)
static int cdns_mhdp_mailbox_read(struct cdns_mhdp_device *mhdp)
struct cdns_mhdp_device *mhdp = dev_get_drvdata(aux->dev);
static int cdns_mhdp_link_training_init(struct cdns_mhdp_device *mhdp)
static void cdns_mhdp_get_adjust_train(struct cdns_mhdp_device *mhdp,
static int cdns_mhdp_mailbox_write(struct cdns_mhdp_device *mhdp, u8 val)
static void cdns_mhdp_adjust_requested_eq(struct cdns_mhdp_device *mhdp,
struct cdns_mhdp_device *mhdp,
static bool cdns_mhdp_link_training_channel_eq(struct cdns_mhdp_device *mhdp,
struct cdns_mhdp_device;
int (*init)(struct cdns_mhdp_device *mhdp);
void (*exit)(struct cdns_mhdp_device *mhdp);
void (*enable)(struct cdns_mhdp_device *mhdp);
void (*disable)(struct cdns_mhdp_device *mhdp);
#define connector_to_mhdp(x) container_of(x, struct cdns_mhdp_device, connector)
#define bridge_to_mhdp(x) container_of(x, struct cdns_mhdp_device, bridge)
u32 cdns_mhdp_wait_for_sw_event(struct cdns_mhdp_device *mhdp, uint32_t event);
static int cdns_mhdp_hdcp_get_status(struct cdns_mhdp_device *mhdp,
static u8 cdns_mhdp_hdcp_handle_status(struct cdns_mhdp_device *mhdp,
static int cdns_mhdp_hdcp_rx_id_valid_response(struct cdns_mhdp_device *mhdp,
static int cdns_mhdp_secure_mailbox_read(struct cdns_mhdp_device *mhdp)
static int cdns_mhdp_hdcp_rx_id_valid(struct cdns_mhdp_device *mhdp,
static int cdns_mhdp_hdcp_km_stored_resp(struct cdns_mhdp_device *mhdp,
static int cdns_mhdp_hdcp_tx_is_km_stored(struct cdns_mhdp_device *mhdp,
static int cdns_mhdp_hdcp_tx_config(struct cdns_mhdp_device *mhdp,
static int cdns_mhdp_hdcp_set_config(struct cdns_mhdp_device *mhdp,
static int cdns_mhdp_hdcp_auth_check(struct cdns_mhdp_device *mhdp)
static int cdns_mhdp_hdcp_check_receviers(struct cdns_mhdp_device *mhdp)
static int cdns_mhdp_secure_mailbox_write(struct cdns_mhdp_device *mhdp,
static int cdns_mhdp_hdcp_auth_22(struct cdns_mhdp_device *mhdp)
static inline int cdns_mhdp_hdcp_auth_14(struct cdns_mhdp_device *mhdp)
static int cdns_mhdp_hdcp_auth(struct cdns_mhdp_device *mhdp,
static int _cdns_mhdp_hdcp_disable(struct cdns_mhdp_device *mhdp)
static int _cdns_mhdp_hdcp_enable(struct cdns_mhdp_device *mhdp, u8 content_type)
static int cdns_mhdp_hdcp_check_link(struct cdns_mhdp_device *mhdp)
struct cdns_mhdp_device *mhdp = container_of(hdcp,
struct cdns_mhdp_device,
struct cdns_mhdp_device *mhdp = container_of(hdcp,
struct cdns_mhdp_device,
int cdns_mhdp_hdcp_enable(struct cdns_mhdp_device *mhdp, u8 content_type)
static int cdns_mhdp_secure_mailbox_recv_header(struct cdns_mhdp_device *mhdp,
int cdns_mhdp_hdcp_disable(struct cdns_mhdp_device *mhdp)
void cdns_mhdp_hdcp_init(struct cdns_mhdp_device *mhdp)
static int cdns_mhdp_secure_mailbox_recv_data(struct cdns_mhdp_device *mhdp,
static int cdns_mhdp_secure_mailbox_send(struct cdns_mhdp_device *mhdp,
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);
static int cdns_mhdp_j721e_init(struct cdns_mhdp_device *mhdp)
static void cdns_mhdp_j721e_enable(struct cdns_mhdp_device *mhdp)
static void cdns_mhdp_j721e_disable(struct cdns_mhdp_device *mhdp)