cdn_dp_device
struct cdn_dp_device *dp = dev_get_drvdata(dev);
struct cdn_dp_device *dp = dev_get_drvdata(dev);
struct cdn_dp_device *dp = dev_get_drvdata(dev);
struct cdn_dp_device *dp;
dp = devm_drm_bridge_alloc(dev, struct cdn_dp_device, bridge,
struct cdn_dp_device *dp = platform_get_drvdata(pdev);
struct cdn_dp_device *dp = platform_get_drvdata(pdev);
static void cdn_dp_clk_disable(struct cdn_dp_device *dp)
static int cdn_dp_get_sink_count(struct cdn_dp_device *dp, u8 *sink_count)
static struct cdn_dp_port *cdn_dp_connected_port(struct cdn_dp_device *dp)
static bool cdn_dp_check_sink_connection(struct cdn_dp_device *dp)
struct cdn_dp_device *dp = bridge_to_dp(bridge);
struct cdn_dp_device *dp = bridge_to_dp(bridge);
struct cdn_dp_device *dp = bridge_to_dp(bridge);
static inline struct cdn_dp_device *bridge_to_dp(struct drm_bridge *bridge)
static int cdn_dp_firmware_init(struct cdn_dp_device *dp)
return container_of(bridge, struct cdn_dp_device, bridge);
static int cdn_dp_get_sink_capability(struct cdn_dp_device *dp)
static inline struct cdn_dp_device *encoder_to_dp(struct drm_encoder *encoder)
static int cdn_dp_enable_phy(struct cdn_dp_device *dp, struct cdn_dp_port *port)
return container_of(rkencoder, struct cdn_dp_device, encoder);
static int cdn_dp_disable_phy(struct cdn_dp_device *dp,
static int cdn_dp_disable(struct cdn_dp_device *dp)
static int cdn_dp_enable(struct cdn_dp_device *dp)
struct cdn_dp_device *dp = bridge_to_dp(bridge);
static bool cdn_dp_check_link_status(struct cdn_dp_device *dp)
static void cdn_dp_display_info_update(struct cdn_dp_device *dp,
struct cdn_dp_device *dp = bridge_to_dp(bridge);
struct cdn_dp_device *dp = bridge_to_dp(bridge);
static int cdn_dp_parse_dt(struct cdn_dp_device *dp)
static int cdn_dp_grf_write(struct cdn_dp_device *dp,
struct cdn_dp_device *dp = bridge_to_dp(bridge);
struct cdn_dp_device *dp = bridge_to_dp(bridge);
struct cdn_dp_device *dp = bridge_to_dp(bridge);
static int cdn_dp_request_firmware(struct cdn_dp_device *dp)
struct cdn_dp_device *dp = container_of(work, struct cdn_dp_device,
static int cdn_dp_clk_enable(struct cdn_dp_device *dp)
struct cdn_dp_device *dp = port->dp;
struct cdn_dp_device *dp = dev_get_drvdata(dev);
struct cdn_dp_device *dp;
static int cdn_dp_mailbox_validate_receive(struct cdn_dp_device *dp,
static int cdn_dp_mailbox_read_receive(struct cdn_dp_device *dp,
static int cdn_dp_mailbox_send(struct cdn_dp_device *dp, u8 module_id,
static int cdn_dp_reg_write(struct cdn_dp_device *dp, u16 addr, u32 val)
static int cdn_dp_reg_write_bit(struct cdn_dp_device *dp, u16 addr,
int cdn_dp_dpcd_read(struct cdn_dp_device *dp, u32 addr, u8 *data, u16 len)
int cdn_dp_dpcd_write(struct cdn_dp_device *dp, u32 addr, u8 value)
void cdn_dp_set_fw_clk(struct cdn_dp_device *dp, unsigned long clk)
int cdn_dp_load_firmware(struct cdn_dp_device *dp, const u32 *i_mem,
void cdn_dp_clock_reset(struct cdn_dp_device *dp)
int cdn_dp_set_firmware_active(struct cdn_dp_device *dp, bool enable)
int cdn_dp_set_host_cap(struct cdn_dp_device *dp, u8 lanes, bool flip)
int cdn_dp_event_config(struct cdn_dp_device *dp)
u32 cdn_dp_get_event(struct cdn_dp_device *dp)
int cdn_dp_get_hpd_status(struct cdn_dp_device *dp)
struct cdn_dp_device *dp = data;
static int cdn_dp_training_start(struct cdn_dp_device *dp)
static int cdn_dp_get_training_status(struct cdn_dp_device *dp)
int cdn_dp_train_link(struct cdn_dp_device *dp)
int cdn_dp_set_video_status(struct cdn_dp_device *dp, int active)
int cdn_dp_config_video(struct cdn_dp_device *dp)
int cdn_dp_audio_stop(struct cdn_dp_device *dp, struct audio_info *audio)
static int cdn_dp_mailbox_read(struct cdn_dp_device *dp)
int cdn_dp_audio_mute(struct cdn_dp_device *dp, bool enable)
static void cdn_dp_audio_config_i2s(struct cdn_dp_device *dp,
static void cdn_dp_audio_config_spdif(struct cdn_dp_device *dp)
static int cdp_dp_mailbox_write(struct cdn_dp_device *dp, u8 val)
int cdn_dp_audio_config(struct cdn_dp_device *dp, struct audio_info *audio)
void cdn_dp_clock_reset(struct cdn_dp_device *dp);
void cdn_dp_set_fw_clk(struct cdn_dp_device *dp, unsigned long clk);
int cdn_dp_load_firmware(struct cdn_dp_device *dp, const u32 *i_mem,
int cdn_dp_set_firmware_active(struct cdn_dp_device *dp, bool enable);
int cdn_dp_set_host_cap(struct cdn_dp_device *dp, u8 lanes, bool flip);
int cdn_dp_event_config(struct cdn_dp_device *dp);
u32 cdn_dp_get_event(struct cdn_dp_device *dp);
int cdn_dp_get_hpd_status(struct cdn_dp_device *dp);
int cdn_dp_dpcd_write(struct cdn_dp_device *dp, u32 addr, u8 value);
int cdn_dp_dpcd_read(struct cdn_dp_device *dp, u32 addr, u8 *data, u16 len);
int cdn_dp_train_link(struct cdn_dp_device *dp);
int cdn_dp_set_video_status(struct cdn_dp_device *dp, int active);
int cdn_dp_config_video(struct cdn_dp_device *dp);
int cdn_dp_audio_stop(struct cdn_dp_device *dp, struct audio_info *audio);
int cdn_dp_audio_mute(struct cdn_dp_device *dp, bool enable);
int cdn_dp_audio_config(struct cdn_dp_device *dp, struct audio_info *audio);